public interface JL5ClassType extends ClassType
ClassType.Kind
Modifier and Type | Method and Description |
---|---|
AnnotationTypeElemInstance |
annotationElemNamed(java.lang.String name) |
java.util.List<AnnotationTypeElemInstance> |
annotationElems() |
Annotations |
annotations()
Annotations on the declaration of this type.
|
EnumInstance |
enumConstantNamed(java.lang.String name) |
java.util.List<EnumInstance> |
enumConstants() |
java.util.LinkedList<Type> |
isImplicitCastValidChainImpl(Type toType)
Return a chain of types that show that this class can be implicitly cast
to toType.
|
boolean |
isRawClass()
Is this class a Raw Class? See JLS 3rd ed., 4.8
|
java.util.Set<? extends Type> |
superclasses()
All direct superclasses of the class.
|
java.lang.String |
translateAsReceiver(Resolver resolver)
Translate the type as it should be if it were the receiver
of a field or method call.
|
constructors, fieldNamed, hasEnclosingInstance, hasEnclosingInstanceImpl, inStaticContext, isAnonymous, isEnclosed, isEnclosedImpl, isInner, isInnerClass, isLocal, isMember, isNested, isTopLevel, kind, memberClasses, memberClassNamed, outer, resolver
package_
fields, hasMethod, hasMethodImpl, interfaces, members, methods, methods, methodsNamed, superType
arrayOf, arrayOf, descendsFrom, descendsFromImpl, isArray, isBoolean, isByte, isCastValid, isCastValidImpl, isChar, isClass, isComparable, isDouble, isFloat, isImplicitCastValid, isImplicitCastValidImpl, isInt, isIntOrLess, isLong, isLongOrLess, isNull, isNumeric, isPrimitive, isReference, isShort, isSubtype, isSubtypeImpl, isThrowable, isUncheckedException, isVoid, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, print, toArray, toClass, toNull, toPrimitive, toReference, toString, translate, typeEquals, typeEqualsImpl
equalsImpl, isCanonical, position, typeSystem
container, flags, setContainer, setFlags
declaration, setDeclaration
boolean isRawClass()
EnumInstance enumConstantNamed(java.lang.String name)
java.util.List<EnumInstance> enumConstants()
AnnotationTypeElemInstance annotationElemNamed(java.lang.String name)
java.util.List<AnnotationTypeElemInstance> annotationElems()
java.util.LinkedList<Type> isImplicitCastValidChainImpl(Type toType)
toType
- java.lang.String translateAsReceiver(Resolver resolver)
context
- Annotations annotations()
java.util.Set<? extends Type> superclasses()