Interface TypeDef
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ClassDef,ConcreteTypeDef,ConstantNamespaceDef,EnumDef
Type definition. Represents type structure used for target output.
This is the unit for target code generation.
On the other hand,
TypeInfo represents a type without structural information, which is referenced in TypeDef.- Author:
- Cause Chung
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends ComponentInfo> booleanbooleanbooleanbooleanresolved()voidsetCyclicReferenced(boolean cyclicReferenced) voidsetReferencedByAnnotated(boolean referencedByAnnotated)
-
Method Details
-
getElement
Element getElement() -
qualifiedName
String qualifiedName() -
simpleName
String simpleName() -
components
List<? extends ComponentInfo> components() -
directSupertypes
-
resolved
boolean resolved()- Returns:
- true if all required types are resolved.
-
isCyclicReferenced
boolean isCyclicReferenced() -
setCyclicReferenced
void setCyclicReferenced(boolean cyclicReferenced) -
isAnnotated
boolean isAnnotated() -
isReferencedByAnnotated
boolean isReferencedByAnnotated() -
setReferencedByAnnotated
void setReferencedByAnnotated(boolean referencedByAnnotated)
-