javax.lang.model.element
29 classes of the module java.compiler.
Load them with:
using {
"javax.lang.model.element"
}
AnnotationMirror#
interface · javax.lang.model.element.AnnotationMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAnnotationType | getAnnotationType() | DeclaredType getAnnotationType() |
getElementValues | getElementValues() | Map getElementValues() |
AnnotationValueVisitor#
interface · javax.lang.model.element.AnnotationValueVisitor
Methods
| Method | Ring call | Java overloads |
|---|---|---|
visit | visit(av)visit([av,p])visit([ :av = v, :p = v ]) | Object visit(AnnotationValue av)Object visit(AnnotationValue av, Object p) |
visitAnnotation | visitAnnotation(a,p) | Object visitAnnotation(AnnotationMirror a, Object p) |
visitArray | visitArray(vals,p) | Object visitArray(List vals, Object p) |
visitBoolean | visitBoolean(b,p) | Object visitBoolean(boolean b, Object p) |
visitByte | visitByte(b,p) | Object visitByte(byte b, Object p) |
visitChar | visitChar(c,p) | Object visitChar(char c, Object p) |
visitDouble | visitDouble(d,p) | Object visitDouble(double d, Object p) |
visitEnumConstant | visitEnumConstant(c,p) | Object visitEnumConstant(VariableElement c, Object p) |
visitFloat | visitFloat(f,p) | Object visitFloat(float f, Object p) |
visitInt | visitInt(i,p) | Object visitInt(int i, Object p) |
visitLong | visitLong(i,p) | Object visitLong(long i, Object p) |
visitShort | visitShort(s,p) | Object visitShort(short s, Object p) |
visitString | visitString(s,p) | Object visitString(String s, Object p) |
visitType | visitType(t,p) | Object visitType(TypeMirror t, Object p) |
visitUnknown | visitUnknown(av,p) | Object visitUnknown(AnnotationValue av, Object p) |
ElementAnnotationValue#
interface · javax.lang.model.element.AnnotationValue
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(AnnotationValueVisitor v, Object p) |
getValue | getValue() | Object getValue() |
ElementElement#
interface · javax.lang.model.element.Element
Extends: AnnotatedConstruct
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getSimpleName | getSimpleName() | Name getSimpleName() |
hashCode | hashCode() | int hashCode() |
ElementKind#
enum · extends Enum · javax.lang.model.element.ElementKind
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PACKAGE | ElementKind | constant · static | o.@PACKAGE |
ENUM | ElementKind | constant · static | o.ENUM |
CLASS | ElementKind | constant · static | o.@CLASS |
ANNOTATION_TYPE | ElementKind | constant · static | o.ANNOTATION_TYPE |
INTERFACE | ElementKind | constant · static | o.INTERFACE |
ENUM_CONSTANT | ElementKind | constant · static | o.ENUM_CONSTANT |
FIELD | ElementKind | constant · static | o.FIELD |
PARAMETER | ElementKind | constant · static | o.PARAMETER |
LOCAL_VARIABLE | ElementKind | constant · static | o.LOCAL_VARIABLE |
EXCEPTION_PARAMETER | ElementKind | constant · static | o.EXCEPTION_PARAMETER |
METHOD | ElementKind | constant · static | o.METHOD |
CONSTRUCTOR | ElementKind | constant · static | o.CONSTRUCTOR |
STATIC_INIT | ElementKind | constant · static | o.STATIC_INIT |
INSTANCE_INIT | ElementKind | constant · static | o.INSTANCE_INIT |
TYPE_PARAMETER | ElementKind | constant · static | o.TYPE_PARAMETER |
OTHER | ElementKind | constant · static | o.OTHER |
RESOURCE_VARIABLE | ElementKind | constant · static | o.RESOURCE_VARIABLE |
MODULE | ElementKind | constant · static | o.MODULE |
RECORD | ElementKind | constant · static | o.RECORD |
RECORD_COMPONENT | ElementKind | constant · static | o.RECORD_COMPONENT |
BINDING_VARIABLE | ElementKind | constant · static | o.BINDING_VARIABLE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isClass | isClass() | boolean isClass() |
isDeclaredType | isDeclaredType() | boolean isDeclaredType() |
isExecutable | isExecutable() | boolean isExecutable() |
isField | isField() | boolean isField() |
isInitializer | isInitializer() | boolean isInitializer() |
isInterface | isInterface() | boolean isInterface() |
isVariable | isVariable() | boolean isVariable() |
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static ElementKind valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static ElementKind[] values() |
The methods and fields of Enum are inherited.
ElementModifier#
enum · extends Enum · javax.lang.model.element.Modifier
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PUBLIC | Modifier | constant · static | o.PUBLIC |
PROTECTED | Modifier | constant · static | o.PROTECTED |
PRIVATE | Modifier | constant · static | o.@PRIVATE |
ABSTRACT | Modifier | constant · static | o.ABSTRACT |
DEFAULT | Modifier | constant · static | o.DEFAULT |
STATIC | Modifier | constant · static | o.STATIC |
SEALED | Modifier | constant · static | o.SEALED |
NON_SEALED | Modifier | constant · static | o.NON_SEALED |
FINAL | Modifier | constant · static | o.FINAL |
TRANSIENT | Modifier | constant · static | o.TRANSIENT |
VOLATILE | Modifier | constant · static | o.VOLATILE |
SYNCHRONIZED | Modifier | constant · static | o.SYNCHRONIZED |
NATIVE | Modifier | constant · static | o.NATIVE |
STRICTFP | Modifier | constant · static | o.STRICTFP |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Modifier valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Modifier[] values() |
The methods and fields of Enum are inherited.
ElementName#
interface · javax.lang.model.element.Name
Extends: CharSequence
Methods
| Method | Ring call | Java overloads |
|---|---|---|
charAt | charAt(index) | char charAt(int index) |
chars | chars() | IntStream chars() |
codePoints | codePoints() | IntStream codePoints() |
contentEquals | contentEquals(cs) | boolean contentEquals(CharSequence cs) |
equals | equals(obj) | boolean equals(Object obj) |
getChars | getChars(srcBegin,srcEnd,dst,dstBegin) | void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) |
hashCode | hashCode() | int hashCode() |
isEmpty | isEmpty() | boolean isEmpty() |
length | length() | int length() |
subSequence | subSequence(start,end) | CharSequence subSequence(int start, int end) |
ElementVisitor#
interface · javax.lang.model.element.ElementVisitor
Methods
| Method | Ring call | Java overloads |
|---|---|---|
visit | visit(e)visit([e,p])visit([ :e = v, :p = v ]) | Object visit(Element e)Object visit(Element e, Object p) |
visitExecutable | visitExecutable(e,p) | Object visitExecutable(ExecutableElement e, Object p) |
visitModule | visitModule(e,p) | Object visitModule(ModuleElement e, Object p) |
visitPackage | visitPackage(e,p) | Object visitPackage(PackageElement e, Object p) |
visitRecordComponent | visitRecordComponent(e,p) | Object visitRecordComponent(RecordComponentElement e, Object p) |
visitType | visitType(e,p) | Object visitType(TypeElement e, Object p) |
visitTypeParameter | visitTypeParameter(e,p) | Object visitTypeParameter(TypeParameterElement e, Object p) |
visitUnknown | visitUnknown(e,p) | Object visitUnknown(Element e, Object p) |
visitVariable | visitVariable(e,p) | Object visitVariable(VariableElement e, Object p) |
ExecutableElement#
interface · javax.lang.model.element.ExecutableElement
Extends: ElementElement, Parameterizable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getDefaultValue | getDefaultValue() | AnnotationValue getDefaultValue() |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getParameters | getParameters() | List getParameters() |
getReceiverType | getReceiverType() | TypeMirror getReceiverType() |
getReturnType | getReturnType() | TypeMirror getReturnType() |
getSimpleName | getSimpleName() | Name getSimpleName() |
getThrownTypes | getThrownTypes() | List getThrownTypes() |
getTypeParameters | getTypeParameters() | List getTypeParameters() |
hashCode | hashCode() | int hashCode() |
isDefault | isDefault() | boolean isDefault() |
isVarArgs | isVarArgs() | boolean isVarArgs() |
ModuleElement#
interface · javax.lang.model.element.ModuleElement
Extends: ElementElement, QualifiedNameable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getDirectives | getDirectives() | List getDirectives() |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getQualifiedName | getQualifiedName() | Name getQualifiedName() |
getSimpleName | getSimpleName() | Name getSimpleName() |
hashCode | hashCode() | int hashCode() |
isOpen | isOpen() | boolean isOpen() |
isUnnamed | isUnnamed() | boolean isUnnamed() |
ModuleElementDirective#
interface · javax.lang.model.element.ModuleElement$Directive
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(DirectiveVisitor v, Object p) |
getKind | getKind() | DirectiveKind getKind() |
ModuleElementDirectiveKind#
enum · extends Enum · javax.lang.model.element.ModuleElement$DirectiveKind
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
REQUIRES | DirectiveKind | constant · static | o.REQUIRES |
EXPORTS | DirectiveKind | constant · static | o.EXPORTS |
OPENS | DirectiveKind | constant · static | o.OPENS |
USES | DirectiveKind | constant · static | o.USES |
PROVIDES | DirectiveKind | constant · static | o.PROVIDES |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static DirectiveKind valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static DirectiveKind[] values() |
The methods and fields of Enum are inherited.
ModuleElementDirectiveVisitor#
interface · javax.lang.model.element.ModuleElement$DirectiveVisitor
Methods
| Method | Ring call | Java overloads |
|---|---|---|
visit | visit(d)visit([d,p])visit([ :d = v, :p = v ]) | Object visit(Directive d)Object visit(Directive d, Object p) |
visitExports | visitExports(d,p) | Object visitExports(ExportsDirective d, Object p) |
visitOpens | visitOpens(d,p) | Object visitOpens(OpensDirective d, Object p) |
visitProvides | visitProvides(d,p) | Object visitProvides(ProvidesDirective d, Object p) |
visitRequires | visitRequires(d,p) | Object visitRequires(RequiresDirective d, Object p) |
visitUnknown | visitUnknown(d,p) | Object visitUnknown(Directive d, Object p) |
visitUses | visitUses(d,p) | Object visitUses(UsesDirective d, Object p) |
ModuleElementExportsDirective#
interface · javax.lang.model.element.ModuleElement$ExportsDirective
Extends: ModuleElementDirective
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(DirectiveVisitor v, Object p) |
getKind | getKind() | DirectiveKind getKind() |
getPackage | getPackage() | PackageElement getPackage() |
getTargetModules | getTargetModules() | List getTargetModules() |
ModuleElementOpensDirective#
interface · javax.lang.model.element.ModuleElement$OpensDirective
Extends: ModuleElementDirective
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(DirectiveVisitor v, Object p) |
getKind | getKind() | DirectiveKind getKind() |
getPackage | getPackage() | PackageElement getPackage() |
getTargetModules | getTargetModules() | List getTargetModules() |
ModuleElementProvidesDirective#
interface · javax.lang.model.element.ModuleElement$ProvidesDirective
Extends: ModuleElementDirective
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(DirectiveVisitor v, Object p) |
getImplementations | getImplementations() | List getImplementations() |
getKind | getKind() | DirectiveKind getKind() |
getService | getService() | TypeElement getService() |
ModuleElementRequiresDirective#
interface · javax.lang.model.element.ModuleElement$RequiresDirective
Extends: ModuleElementDirective
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(DirectiveVisitor v, Object p) |
getDependency | getDependency() | ModuleElement getDependency() |
getKind | getKind() | DirectiveKind getKind() |
isStatic | isStatic() | boolean isStatic() |
isTransitive | isTransitive() | boolean isTransitive() |
ModuleElementUsesDirective#
interface · javax.lang.model.element.ModuleElement$UsesDirective
Extends: ModuleElementDirective
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(DirectiveVisitor v, Object p) |
getKind | getKind() | DirectiveKind getKind() |
getService | getService() | TypeElement getService() |
NestingKind#
enum · extends Enum · javax.lang.model.element.NestingKind
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TOP_LEVEL | NestingKind | constant · static | o.TOP_LEVEL |
MEMBER | NestingKind | constant · static | o.MEMBER |
LOCAL | NestingKind | constant · static | o.LOCAL |
ANONYMOUS | NestingKind | constant · static | o.ANONYMOUS |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isNested | isNested() | boolean isNested() |
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static NestingKind valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static NestingKind[] values() |
The methods and fields of Enum are inherited.
PackageElement#
interface · javax.lang.model.element.PackageElement
Extends: ElementElement, QualifiedNameable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getQualifiedName | getQualifiedName() | Name getQualifiedName() |
getSimpleName | getSimpleName() | Name getSimpleName() |
hashCode | hashCode() | int hashCode() |
isUnnamed | isUnnamed() | boolean isUnnamed() |
Parameterizable#
interface · javax.lang.model.element.Parameterizable
Extends: ElementElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getSimpleName | getSimpleName() | Name getSimpleName() |
getTypeParameters | getTypeParameters() | List getTypeParameters() |
hashCode | hashCode() | int hashCode() |
QualifiedNameable#
interface · javax.lang.model.element.QualifiedNameable
Extends: ElementElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getQualifiedName | getQualifiedName() | Name getQualifiedName() |
getSimpleName | getSimpleName() | Name getSimpleName() |
hashCode | hashCode() | int hashCode() |
RecordComponentElement#
interface · javax.lang.model.element.RecordComponentElement
Extends: ElementElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAccessor | getAccessor() | ExecutableElement getAccessor() |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getSimpleName | getSimpleName() | Name getSimpleName() |
hashCode | hashCode() | int hashCode() |
TypeElement#
interface · javax.lang.model.element.TypeElement
Extends: ElementElement, Parameterizable, QualifiedNameable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getInterfaces | getInterfaces() | List getInterfaces() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getNestingKind | getNestingKind() | NestingKind getNestingKind() |
getPermittedSubclasses | getPermittedSubclasses() | List getPermittedSubclasses() |
getQualifiedName | getQualifiedName() | Name getQualifiedName() |
getRecordComponents | getRecordComponents() | List getRecordComponents() |
getSimpleName | getSimpleName() | Name getSimpleName() |
getSuperclass | getSuperclass() | TypeMirror getSuperclass() |
getTypeParameters | getTypeParameters() | List getTypeParameters() |
hashCode | hashCode() | int hashCode() |
TypeParameterElement#
interface · javax.lang.model.element.TypeParameterElement
Extends: ElementElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getBounds | getBounds() | List getBounds() |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getGenericElement | getGenericElement() | Element getGenericElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getSimpleName | getSimpleName() | Name getSimpleName() |
hashCode | hashCode() | int hashCode() |
UnknownAnnotationValueException#
class · extends UnknownEntityException · javax.lang.model.element.UnknownAnnotationValueException
Constructors
new UnknownAnnotationValueException(AnnotationValue av, Object p) |
Ring: new UnknownAnnotationValueException(args) uses the constructor with the fewest parameters (at least one); new UnknownAnnotationValueException makes the object with the constructor without parameters; the others: (new UnknownAnnotationValueException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getArgument | getArgument() | Object getArgument() |
getUnknownAnnotationValue | getUnknownAnnotationValue() | AnnotationValue getUnknownAnnotationValue() |
The methods and fields of UnknownEntityException are inherited.
UnknownDirectiveException#
class · extends UnknownEntityException · javax.lang.model.element.UnknownDirectiveException
Constructors
new UnknownDirectiveException(Directive d, Object p) |
Ring: new UnknownDirectiveException(args) uses the constructor with the fewest parameters (at least one); new UnknownDirectiveException makes the object with the constructor without parameters; the others: (new UnknownDirectiveException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getArgument | getArgument() | Object getArgument() |
getUnknownDirective | getUnknownDirective() | Directive getUnknownDirective() |
The methods and fields of UnknownEntityException are inherited.
UnknownElementException#
class · extends UnknownEntityException · javax.lang.model.element.UnknownElementException
Constructors
new UnknownElementException(Element e, Object p) |
Ring: new UnknownElementException(args) uses the constructor with the fewest parameters (at least one); new UnknownElementException makes the object with the constructor without parameters; the others: (new UnknownElementException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getArgument | getArgument() | Object getArgument() |
getUnknownElement | getUnknownElement() | Element getUnknownElement() |
The methods and fields of UnknownEntityException are inherited.
VariableElement#
interface · javax.lang.model.element.VariableElement
Extends: ElementElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(ElementVisitor v, Object p) |
asType | asType() | TypeMirror asType() |
equals | equals(obj) | boolean equals(Object obj) |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getConstantValue | getConstantValue() | Object getConstantValue() |
getEnclosedElements | getEnclosedElements() | List getEnclosedElements() |
getEnclosingElement | getEnclosingElement() | Element getEnclosingElement() |
getKind | getKind() | ElementKind getKind() |
getModifiers | getModifiers() | Set getModifiers() |
getSimpleName | getSimpleName() | Name getSimpleName() |
hashCode | hashCode() | int hashCode() |
isUnnamed | isUnnamed() | boolean isUnnamed() |