public interface JL5ParsedClassType extends ParsedClassType, JL5ClassType
ClassType.Kind
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationElem(AnnotationTypeElemInstance ai)
Add an AnnotationElemInstance.
|
void |
addEnumConstant(EnumInstance ei) |
boolean |
annotationsResolved()
Have the annotations for this class (and for declarations within this class) been resolved?
|
EnumInstance |
enumConstantNamed(java.lang.String name) |
java.util.List<EnumInstance> |
enumConstants() |
boolean |
enumValueOfMethodNeeded() |
boolean |
enumValuesMethodNeeded() |
JL5Subst |
erasureSubst()
Returns a subst suitable for the erased type: the subst
maps any type variables to their erasure.
|
java.util.List<? extends JL5MethodInstance> |
methods(JL5MethodInstance mi) |
PClass<TypeVariable,ReferenceType> |
pclass()
Get the pclass for this class.
|
void |
printNoParams(CodeWriter w) |
void |
setAnnotations(Annotations annotations) |
void |
setAnnotationsResolved(boolean annotationsResolved) |
void |
setPClass(PClass<TypeVariable,ReferenceType> pc) |
void |
setTypeVariables(java.util.List<TypeVariable> typeVars) |
java.lang.String |
toStringNoParams() |
java.util.List<TypeVariable> |
typeVariables() |
addConstructor, addField, addInterface, addMemberClass, addMethod, defaultConstructorNeeded, flags, fromSource, inStaticContext, kind, membersAdded, name, needSerialization, needSerialization, numSignaturesUnresolved, outer, package_, position, setConstructors, setFields, setInterfaces, setJob, setMemberClasses, setMembersAdded, setMethods, setSignaturesResolved, setSupertypesResolved, signaturesResolved, superType, supertypesResolved
initializer, job, setInitializer
annotationElemNamed, annotationElems, annotations, isImplicitCastValidChainImpl, isRawClass, superclasses, translateAsReceiver
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
container, flags, setContainer, setFlags
declaration, setDeclaration
PClass<TypeVariable,ReferenceType> pclass()
void setPClass(PClass<TypeVariable,ReferenceType> pc)
void setTypeVariables(java.util.List<TypeVariable> typeVars)
java.util.List<TypeVariable> typeVariables()
void addEnumConstant(EnumInstance ei)
java.util.List<EnumInstance> enumConstants()
enumConstants
in interface JL5ClassType
EnumInstance enumConstantNamed(java.lang.String name)
enumConstantNamed
in interface JL5ClassType
java.util.List<? extends JL5MethodInstance> methods(JL5MethodInstance mi)
boolean annotationsResolved()
void setAnnotationsResolved(boolean annotationsResolved)
JL5Subst erasureSubst()
void printNoParams(CodeWriter w)
java.lang.String toStringNoParams()
void addAnnotationElem(AnnotationTypeElemInstance ai)
void setAnnotations(Annotations annotations)
boolean enumValueOfMethodNeeded()
boolean enumValuesMethodNeeded()