Class ImportedModuleDefinition
-
- All Implemented Interfaces:
@Serializable() public final class ImportedModuleDefinition implements IGenericDefinition, ImportedDefinition, WithComment
A data class representing an imported module definition in a Wrap ABI.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Integerkindprivate final Stringnameprivate final Booleanrequiredprivate final Stringuriprivate final Stringnamespaceprivate final StringnativeTypeprivate final Stringcommentprivate final List<MethodDefinition>methodsprivate final BooleanisInterface
-
Method Summary
Modifier and Type Method Description StringgetType()The type of the imported module definition. IntegergetKind()The kind of the imported module definition. StringgetName()The name of the imported module definition. BooleangetRequired()Whether the imported module definition is required. StringgetUri()The URI of the imported module definition. StringgetNamespace()The namespace of the imported module definition. StringgetNativeType()The native type of the imported module definition. StringgetComment()The comment of the imported module definition. final List<MethodDefinition>getMethods()The list of methods defined in the imported module definition. final BooleanisInterface()Whether the imported module definition is an interface. -
-
Method Detail
-
getRequired
Boolean getRequired()
Whether the imported module definition is required.
-
getNamespace
String getNamespace()
The namespace of the imported module definition.
-
getNativeType
String getNativeType()
The native type of the imported module definition.
-
getComment
String getComment()
The comment of the imported module definition.
-
getMethods
final List<MethodDefinition> getMethods()
The list of methods defined in the imported module definition.
-
isInterface
final Boolean isInterface()
Whether the imported module definition is an interface.
-
-
-
-