javax.lang.model.type
18 classes of the module java.compiler.
Load them with:
using {
"javax.lang.model.type"
}
DeclaredType#
interface · javax.lang.model.type.DeclaredType
Extends: ReferenceType
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
asElement | asElement() | Element asElement() |
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) |
getEnclosingType | getEnclosingType() | TypeMirror getEnclosingType() |
getKind | getKind() | TypeKind getKind() |
getTypeArguments | getTypeArguments() | List getTypeArguments() |
hashCode | hashCode() | int hashCode() |
ErrorType#
interface · javax.lang.model.type.ErrorType
Extends: DeclaredType
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
asElement | asElement() | Element asElement() |
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) |
getEnclosingType | getEnclosingType() | TypeMirror getEnclosingType() |
getKind | getKind() | TypeKind getKind() |
getTypeArguments | getTypeArguments() | List getTypeArguments() |
hashCode | hashCode() | int hashCode() |
ExecutableType#
interface · javax.lang.model.type.ExecutableType
Extends: TypeMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getKind | getKind() | TypeKind getKind() |
getParameterTypes | getParameterTypes() | List getParameterTypes() |
getReceiverType | getReceiverType() | TypeMirror getReceiverType() |
getReturnType | getReturnType() | TypeMirror getReturnType() |
getThrownTypes | getThrownTypes() | List getThrownTypes() |
getTypeVariables | getTypeVariables() | List getTypeVariables() |
hashCode | hashCode() | int hashCode() |
IntersectionType#
interface · javax.lang.model.type.IntersectionType
Extends: TypeMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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() |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
MirroredTypeException#
class · extends MirroredTypesException · javax.lang.model.type.MirroredTypeException
Constructors
new MirroredTypeException(TypeMirror type) |
Ring: new MirroredTypeException(args) uses the constructor with the fewest parameters (at least one); new MirroredTypeException makes the object with the constructor without parameters; the others: (new MirroredTypeException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getTypeMirror | getTypeMirror() | TypeMirror getTypeMirror() |
The methods and fields of MirroredTypesException are inherited.
MirroredTypesException#
class · extends RuntimeException · javax.lang.model.type.MirroredTypesException
Constructors
new MirroredTypesException(List types) |
Ring: new MirroredTypesException(args) uses the constructor with the fewest parameters (at least one); new MirroredTypesException makes the object with the constructor without parameters; the others: (new MirroredTypesException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getTypeMirrors | getTypeMirrors() | List getTypeMirrors() |
The methods and fields of RuntimeException are inherited.
NoType#
interface · javax.lang.model.type.NoType
Extends: TypeMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
NullType#
interface · javax.lang.model.type.NullType
Extends: ReferenceType
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
PrimitiveType#
interface · javax.lang.model.type.PrimitiveType
Extends: TypeMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
ReferenceType#
interface · javax.lang.model.type.ReferenceType
Extends: TypeMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
TypeArrayType#
interface · javax.lang.model.type.ArrayType
Extends: ReferenceType
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getComponentType | getComponentType() | TypeMirror getComponentType() |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
TypeMirror#
interface · javax.lang.model.type.TypeMirror
Extends: AnnotatedConstruct
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
TypeTypeKind#
enum · extends Enum · javax.lang.model.type.TypeKind
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BOOLEAN | TypeKind | constant · static | o.BOOLEAN |
BYTE | TypeKind | constant · static | o.BYTE |
SHORT | TypeKind | constant · static | o.SHORT |
INT | TypeKind | constant · static | o.INT |
LONG | TypeKind | constant · static | o.LONG |
CHAR | TypeKind | constant · static | o.CHAR |
FLOAT | TypeKind | constant · static | o.FLOAT |
DOUBLE | TypeKind | constant · static | o.DOUBLE |
VOID | TypeKind | constant · static | o.VOID |
NONE | TypeKind | constant · static | o.NONE |
NULL | TypeKind | constant · static | o.NULL |
ARRAY | TypeKind | constant · static | o.ARRAY |
DECLARED | TypeKind | constant · static | o.DECLARED |
ERROR | TypeKind | constant · static | o.ERROR |
TYPEVAR | TypeKind | constant · static | o.TYPEVAR |
WILDCARD | TypeKind | constant · static | o.WILDCARD |
PACKAGE | TypeKind | constant · static | o.@PACKAGE |
EXECUTABLE | TypeKind | constant · static | o.EXECUTABLE |
OTHER | TypeKind | constant · static | o.OTHER |
UNION | TypeKind | constant · static | o.UNION |
INTERSECTION | TypeKind | constant · static | o.INTERSECTION |
MODULE | TypeKind | constant · static | o.MODULE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isPrimitive | isPrimitive() | boolean isPrimitive() |
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static TypeKind valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static TypeKind[] values() |
The methods and fields of Enum are inherited.
TypeTypeVariable#
interface · javax.lang.model.type.TypeVariable
Extends: ReferenceType
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
asElement | asElement() | Element asElement() |
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) |
getKind | getKind() | TypeKind getKind() |
getLowerBound | getLowerBound() | TypeMirror getLowerBound() |
getUpperBound | getUpperBound() | TypeMirror getUpperBound() |
hashCode | hashCode() | int hashCode() |
TypeVisitor#
interface · javax.lang.model.type.TypeVisitor
Methods
| Method | Ring call | Java overloads |
|---|---|---|
visit | visit(t)visit([t,p])visit([ :t = v, :p = v ]) | Object visit(TypeMirror t)Object visit(TypeMirror t, Object p) |
visitArray | visitArray(t,p) | Object visitArray(ArrayType t, Object p) |
visitDeclared | visitDeclared(t,p) | Object visitDeclared(DeclaredType t, Object p) |
visitError | visitError(t,p) | Object visitError(ErrorType t, Object p) |
visitExecutable | visitExecutable(t,p) | Object visitExecutable(ExecutableType t, Object p) |
visitIntersection | visitIntersection(t,p) | Object visitIntersection(IntersectionType t, Object p) |
visitNoType | visitNoType(t,p) | Object visitNoType(NoType t, Object p) |
visitNull | visitNull(t,p) | Object visitNull(NullType t, Object p) |
visitPrimitive | visitPrimitive(t,p) | Object visitPrimitive(PrimitiveType t, Object p) |
visitTypeVariable | visitTypeVariable(t,p) | Object visitTypeVariable(TypeVariable t, Object p) |
visitUnion | visitUnion(t,p) | Object visitUnion(UnionType t, Object p) |
visitUnknown | visitUnknown(t,p) | Object visitUnknown(TypeMirror t, Object p) |
visitWildcard | visitWildcard(t,p) | Object visitWildcard(WildcardType t, Object p) |
TypeWildcardType#
interface · javax.lang.model.type.WildcardType
Extends: TypeMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
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) |
getExtendsBound | getExtendsBound() | TypeMirror getExtendsBound() |
getKind | getKind() | TypeKind getKind() |
getSuperBound | getSuperBound() | TypeMirror getSuperBound() |
hashCode | hashCode() | int hashCode() |
UnionType#
interface · javax.lang.model.type.UnionType
Extends: TypeMirror
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(v,p) | Object accept(TypeVisitor v, Object p) |
equals | equals(obj) | boolean equals(Object obj) |
getAlternatives | getAlternatives() | List getAlternatives() |
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
getKind | getKind() | TypeKind getKind() |
hashCode | hashCode() | int hashCode() |
UnknownTypeException#
class · extends UnknownEntityException · javax.lang.model.type.UnknownTypeException
Constructors
new UnknownTypeException(TypeMirror t, Object p) |
Ring: new UnknownTypeException(args) uses the constructor with the fewest parameters (at least one); new UnknownTypeException makes the object with the constructor without parameters; the others: (new UnknownTypeException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getArgument | getArgument() | Object getArgument() |
getUnknownType | getUnknownType() | TypeMirror getUnknownType() |
The methods and fields of UnknownEntityException are inherited.