Interface ModuleElement
- All Superinterfaces:
AnnotatedConstruct,Element,QualifiedNameable
A module element.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic enumstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionList<? extends ModuleElement.Directive> getOpens()getUses()booleanisOpen()booleanMethods inherited from interface io.github.potjerodekool.nabu.lang.model.element.AnnotatedConstruct
getAnnotation, getAnnotationMirrors, getAnnotationsByTypeMethods inherited from interface io.github.potjerodekool.nabu.lang.model.element.Element
accept, asType, attribute, builder, exists, getClosestEnclosingClass, getKind, getModifiers, getSimpleName, hasAnnotation, hasFlag, isAbstract, isError, isFinal, isNative, isPrivate, isPublic, isStatic, isSynthetic, isTypeMethods inherited from interface io.github.potjerodekool.nabu.lang.model.element.QualifiedNameable
getQualifiedName
-
Method Details
-
getEnclosedElements
- Specified by:
getEnclosedElementsin interfaceElement
-
isOpen
boolean isOpen() -
isUnnamed
boolean isUnnamed() -
getEnclosingElement
Element getEnclosingElement()- Specified by:
getEnclosingElementin interfaceElement
-
getDirectives
List<? extends ModuleElement.Directive> getDirectives() -
getExports
List<ModuleElement.ExportsDirective> getExports() -
getOpens
List<ModuleElement.OpensDirective> getOpens() -
getProvides
List<ModuleElement.ProvidesDirective> getProvides() -
getRequires
List<ModuleElement.RequiresDirective> getRequires() -
getUses
List<ModuleElement.UsesDirective> getUses() -
getModuleInfo
TypeElement getModuleInfo()
-