java.lang.Object
org.microbean.lang.AnnotatedConstruct
org.microbean.lang.element.Element
org.microbean.lang.element.Parameterizable
org.microbean.lang.element.ExecutableElement
- All Implemented Interfaces:
AnnotatedConstruct
,Element
,ExecutableElement
,Parameterizable
,Encloseable
,Encloser
-
Constructor Summary
ConstructorDescriptionExecutableElement
(boolean varArgs, boolean isDefault, AnnotationValue defaultValue) ExecutableElement
(ElementKind kind) ExecutableElement
(ElementKind kind, boolean varArgs, boolean isDefault, AnnotationValue defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,
P> R accept
(ElementVisitor<R, P> v, P p) void
void
addParameters
(Iterable<? extends VariableElement> ps) final AnnotationValue
final List
<? extends VariableElement> final TypeMirror
final TypeMirror
final List
<? extends TypeMirror> final boolean
final boolean
final void
setDefault
(boolean isDefault) final void
setDefaultValue
(AnnotationValue defaultValue) final void
setVarArgs
(boolean varArgs) final String
toString()
protected final ElementKind
validateKind
(ElementKind kind) protected final Modifier
protected final Name
validateSimpleName
(Name name) protected final TypeMirror
validateType
(TypeMirror type) Methods inherited from class org.microbean.lang.element.Parameterizable
addTypeParameter, addTypeParameters, getTypeParameters, isUnnamed, typeArguments
Methods inherited from class org.microbean.lang.element.Element
addEnclosedElement, addEnclosedElements, addModifier, addModifiers, asType, canEnclose, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, setEnclosedElementsGenerator, setEnclosingElement, setSimpleName, setSimpleName, setType, validateEnclosedElement
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, getEnclosedElements, getKind, getModifiers, hashCode
Methods inherited from interface javax.lang.model.element.ExecutableElement
asType, getEnclosingElement, getSimpleName, getTypeParameters
-
Constructor Details
-
ExecutableElement
-
ExecutableElement
-
ExecutableElement
public ExecutableElement(ElementKind kind, boolean varArgs, boolean isDefault, AnnotationValue defaultValue)
-
-
Method Details
-
accept
-
validateType
- Overrides:
validateType
in classElement
-
isDefault
public final boolean isDefault()- Specified by:
isDefault
in interfaceExecutableElement
-
setDefault
public final void setDefault(boolean isDefault) -
isVarArgs
public final boolean isVarArgs()- Specified by:
isVarArgs
in interfaceExecutableElement
-
setVarArgs
public final void setVarArgs(boolean varArgs) -
getDefaultValue
- Specified by:
getDefaultValue
in interfaceExecutableElement
-
setDefaultValue
-
getParameters
- Specified by:
getParameters
in interfaceExecutableElement
-
addParameter
-
addParameters
-
getThrownTypes
- Specified by:
getThrownTypes
in interfaceExecutableElement
-
getReceiverType
- Specified by:
getReceiverType
in interfaceExecutableElement
-
getReturnType
- Specified by:
getReturnType
in interfaceExecutableElement
-
toString
-
validateModifier
- Overrides:
validateModifier
in classElement
-
validateKind
- Overrides:
validateKind
in classElement
-
validateSimpleName
- Overrides:
validateSimpleName
in classElement
-