Class ClassDef
java.lang.Object
online.sharedtype.processor.domain.def.ConcreteTypeDef
online.sharedtype.processor.domain.def.ClassDef
- All Implemented Interfaces:
Serializable,TypeDef
Represents structural info captured from an interface, class, or record. Similar concept with
TypeElement.- Author:
- Cause Chung
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubtype(TypeDef subtype) voidlinkTypeInfo(ConcreteTypeInfo typeInfo) Register a counterpart typeInfo.Replace any type variables with the type arguments.booleanresolved()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface online.sharedtype.processor.domain.def.TypeDef
getElement, isAnnotated, isCyclicReferenced, isReferencedByAnnotated, setCyclicReferenced, setReferencedByAnnotated
-
Constructor Details
-
ClassDef
public ClassDef()
-
-
Method Details
-
qualifiedName
-
simpleName
-
components
-
typeVariables
-
directSupertypes
-
directSubtypes
-
typeInfoSet
- Specified by:
typeInfoSetin classConcreteTypeDef
-
reify
Replace any type variables with the type arguments. The supplied type arguments can also be type variables.- Parameters:
typeArgs- type arguments that must have the same size as type variables of this classDef- See Also:
-
resolved
public boolean resolved()- Returns:
- true if all required types are resolved.
-
toString
-