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
Modifier and TypeClassDescriptionstatic class
static final class
static final class
static final class
static final class
static final class
Nested classes/interfaces inherited from interface javax.lang.model.element.ModuleElement
ModuleElement.DirectiveKind, ModuleElement.DirectiveVisitor<R,
P> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal <R,
P> R accept
(ElementVisitor<R, P> v, P p) final void
addDirective
(ModuleElement.Directive directive) final List
<? extends ModuleElement.Directive> final Element
Returnsnull
when invoked.final Name
final boolean
isOpen()
final void
Throws anUnsupportedOperationException
when 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, validateType
Methods inherited from class org.microbean.lang.AnnotatedConstruct
addAnnotationMirror, addAnnotationMirrors, getAnnotation, getAnnotationMirrors, getAnnotationsByType, validateAnnotationMirror
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.lang.model.element.Element
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, getModifiers, hashCode
Methods 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:
isOpen
in interfaceModuleElement
-
getDirectives
- Specified by:
getDirectives
in interfaceModuleElement
-
addDirective
-
getEnclosingElement
Returnsnull
when invoked.- Specified by:
getEnclosingElement
in interfaceElement
- Specified by:
getEnclosingElement
in interfaceModuleElement
- Overrides:
getEnclosingElement
in classElement
- Returns:
null
when invoked- See Also:
-
setEnclosingElement
Throws anUnsupportedOperationException
when invoked.- Specified by:
setEnclosingElement
in interfaceEncloseable
- Overrides:
setEnclosingElement
in classElement
- Parameters:
e
- the enclosingElement
; ignored- Throws:
UnsupportedOperationException
- when invoked- See Also:
-
getQualifiedName
- Specified by:
getQualifiedName
in interfaceModuleElement
- Specified by:
getQualifiedName
in interfaceQualifiedNameable
-