RingJavafor Ring

javax.lang.model.type

18 classes of the module java.compiler.

Load them with:

using {
	"javax.lang.model.type"
}

All packages

DeclaredType#

interface · javax.lang.model.type.DeclaredType

Extends: ReferenceType

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
asElementasElement()Element asElement()
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getEnclosingTypegetEnclosingType()TypeMirror getEnclosingType()
getKindgetKind()TypeKind getKind()
getTypeArgumentsgetTypeArguments()List getTypeArguments()
hashCodehashCode()int hashCode()

ErrorType#

interface · javax.lang.model.type.ErrorType

Extends: DeclaredType

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
asElementasElement()Element asElement()
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getEnclosingTypegetEnclosingType()TypeMirror getEnclosingType()
getKindgetKind()TypeKind getKind()
getTypeArgumentsgetTypeArguments()List getTypeArguments()
hashCodehashCode()int hashCode()

ExecutableType#

interface · javax.lang.model.type.ExecutableType

Extends: TypeMirror

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
getParameterTypesgetParameterTypes()List getParameterTypes()
getReceiverTypegetReceiverType()TypeMirror getReceiverType()
getReturnTypegetReturnType()TypeMirror getReturnType()
getThrownTypesgetThrownTypes()List getThrownTypes()
getTypeVariablesgetTypeVariables()List getTypeVariables()
hashCodehashCode()int hashCode()

IntersectionType#

interface · javax.lang.model.type.IntersectionType

Extends: TypeMirror

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getBoundsgetBounds()List getBounds()
getKindgetKind()TypeKind getKind()
hashCodehashCode()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

MethodRing callJava overloads
getTypeMirrorgetTypeMirror()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

MethodRing callJava overloads
getTypeMirrorsgetTypeMirrors()List getTypeMirrors()

The methods and fields of RuntimeException are inherited.

NoType#

interface · javax.lang.model.type.NoType

Extends: TypeMirror

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
hashCodehashCode()int hashCode()

NullType#

interface · javax.lang.model.type.NullType

Extends: ReferenceType

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
hashCodehashCode()int hashCode()

PrimitiveType#

interface · javax.lang.model.type.PrimitiveType

Extends: TypeMirror

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
hashCodehashCode()int hashCode()

ReferenceType#

interface · javax.lang.model.type.ReferenceType

Extends: TypeMirror

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
hashCodehashCode()int hashCode()

TypeArrayType#

interface · javax.lang.model.type.ArrayType

Extends: ReferenceType

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getComponentTypegetComponentType()TypeMirror getComponentType()
getKindgetKind()TypeKind getKind()
hashCodehashCode()int hashCode()

TypeMirror#

interface · javax.lang.model.type.TypeMirror

Extends: AnnotatedConstruct

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
hashCodehashCode()int hashCode()

TypeTypeKind#

enum · extends Enum · javax.lang.model.type.TypeKind

Fields

NameTypeAccessIn Ring
BOOLEANTypeKindconstant · statico.BOOLEAN
BYTETypeKindconstant · statico.BYTE
SHORTTypeKindconstant · statico.SHORT
INTTypeKindconstant · statico.INT
LONGTypeKindconstant · statico.LONG
CHARTypeKindconstant · statico.CHAR
FLOATTypeKindconstant · statico.FLOAT
DOUBLETypeKindconstant · statico.DOUBLE
VOIDTypeKindconstant · statico.VOID
NONETypeKindconstant · statico.NONE
NULLTypeKindconstant · statico.NULL
ARRAYTypeKindconstant · statico.ARRAY
DECLAREDTypeKindconstant · statico.DECLARED
ERRORTypeKindconstant · statico.ERROR
TYPEVARTypeKindconstant · statico.TYPEVAR
WILDCARDTypeKindconstant · statico.WILDCARD
PACKAGETypeKindconstant · statico.@PACKAGE
EXECUTABLETypeKindconstant · statico.EXECUTABLE
OTHERTypeKindconstant · statico.OTHER
UNIONTypeKindconstant · statico.UNION
INTERSECTIONTypeKindconstant · statico.INTERSECTION
MODULETypeKindconstant · statico.MODULE

Methods

MethodRing callJava overloads
isPrimitiveisPrimitive()boolean isPrimitive()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static TypeKind valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static TypeKind[] values()

The methods and fields of Enum are inherited.

TypeTypeVariable#

interface · javax.lang.model.type.TypeVariable

Extends: ReferenceType

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
asElementasElement()Element asElement()
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
getLowerBoundgetLowerBound()TypeMirror getLowerBound()
getUpperBoundgetUpperBound()TypeMirror getUpperBound()
hashCodehashCode()int hashCode()

TypeVisitor#

interface · javax.lang.model.type.TypeVisitor

Methods

MethodRing callJava overloads
visitvisit(t)
visit([t,p])
visit([ :t = v, :p = v ])
Object visit(TypeMirror t)
Object visit(TypeMirror t, Object p)
visitArrayvisitArray(t,p)Object visitArray(ArrayType t, Object p)
visitDeclaredvisitDeclared(t,p)Object visitDeclared(DeclaredType t, Object p)
visitErrorvisitError(t,p)Object visitError(ErrorType t, Object p)
visitExecutablevisitExecutable(t,p)Object visitExecutable(ExecutableType t, Object p)
visitIntersectionvisitIntersection(t,p)Object visitIntersection(IntersectionType t, Object p)
visitNoTypevisitNoType(t,p)Object visitNoType(NoType t, Object p)
visitNullvisitNull(t,p)Object visitNull(NullType t, Object p)
visitPrimitivevisitPrimitive(t,p)Object visitPrimitive(PrimitiveType t, Object p)
visitTypeVariablevisitTypeVariable(t,p)Object visitTypeVariable(TypeVariable t, Object p)
visitUnionvisitUnion(t,p)Object visitUnion(UnionType t, Object p)
visitUnknownvisitUnknown(t,p)Object visitUnknown(TypeMirror t, Object p)
visitWildcardvisitWildcard(t,p)Object visitWildcard(WildcardType t, Object p)

TypeWildcardType#

interface · javax.lang.model.type.WildcardType

Extends: TypeMirror

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getExtendsBoundgetExtendsBound()TypeMirror getExtendsBound()
getKindgetKind()TypeKind getKind()
getSuperBoundgetSuperBound()TypeMirror getSuperBound()
hashCodehashCode()int hashCode()

UnionType#

interface · javax.lang.model.type.UnionType

Extends: TypeMirror

Methods

MethodRing callJava overloads
acceptaccept(v,p)Object accept(TypeVisitor v, Object p)
equalsequals(obj)boolean equals(Object obj)
getAlternativesgetAlternatives()List getAlternatives()
getAnnotationgetAnnotation(annotationType)Annotation getAnnotation(Class annotationType)
getAnnotationMirrorsgetAnnotationMirrors()List getAnnotationMirrors()
getAnnotationsByTypegetAnnotationsByType(annotationType)Annotation[] getAnnotationsByType(Class annotationType)
getKindgetKind()TypeKind getKind()
hashCodehashCode()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

MethodRing callJava overloads
getArgumentgetArgument()Object getArgument()
getUnknownTypegetUnknownType()TypeMirror getUnknownType()

The methods and fields of UnknownEntityException are inherited.

RingJava - use Java classes and methods from Ring programs.