java.lang.Object
org.microbean.lang.AnnotatedConstruct
org.microbean.lang.element.Element
org.microbean.lang.element.ModuleElement
- All Implemented Interfaces:
AnnotatedConstruct,Element,ModuleElement,QualifiedNameable,Encloseable,Encloser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classstatic final classstatic final classstatic final classstatic final classNested classes/interfaces inherited from interface javax.lang.model.element.ModuleElement
ModuleElement.DirectiveKind, ModuleElement.DirectiveVisitor<R,P> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,P> R accept(ElementVisitor<R, P> v, P p) final voidaddDirective(ModuleElement.Directive directive) final List<? extends ModuleElement.Directive> final ElementReturnsnullwhen invoked.final Namefinal booleanisOpen()final voidThrows anUnsupportedOperationExceptionwhen invoked.Methods inherited from class org.microbean.lang.element.Element
addEnclosedElement, addEnclosedElements, addModifier, addModifiers, asType, canEnclose, getEnclosedElements, getKind, getModifiers, getSimpleName, isUnnamed, setEnclosedElementsGenerator, setSimpleName, setSimpleName, setType, toString, validateEnclosedElement, validateKind, validateModifier, validateSimpleName, validateTypeMethods inherited from class org.microbean.lang.AnnotatedConstruct
addAnnotationMirror, addAnnotationMirrors, getAnnotation, getAnnotationMirrors, getAnnotationsByType, validateAnnotationMirrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.lang.model.element.Element
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, getModifiers, hashCodeMethods inherited from interface javax.lang.model.element.ModuleElement
asType, getEnclosedElements, getSimpleName, isUnnamed
-
Constructor Details
-
ModuleElement
public ModuleElement() -
ModuleElement
public ModuleElement(boolean open)
-
-
Method Details
-
accept
-
isOpen
public final boolean isOpen()- Specified by:
isOpenin interfaceModuleElement
-
getDirectives
- Specified by:
getDirectivesin interfaceModuleElement
-
addDirective
-
getEnclosingElement
Returnsnullwhen invoked.- Specified by:
getEnclosingElementin interfaceElement- Specified by:
getEnclosingElementin interfaceModuleElement- Overrides:
getEnclosingElementin classElement- Returns:
nullwhen invoked- See Also:
-
setEnclosingElement
Throws anUnsupportedOperationExceptionwhen invoked.- Specified by:
setEnclosingElementin interfaceEncloseable- Overrides:
setEnclosingElementin classElement- Parameters:
e- the enclosingElement; ignored- Throws:
UnsupportedOperationException- when invoked- See Also:
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceModuleElement- Specified by:
getQualifiedNamein interfaceQualifiedNameable
-