Interface TypeDef

All Superinterfaces:
Serializable
All Known Implementing Classes:
ClassDef, ConcreteTypeDef, ConstantNamespaceDef, EnumDef

public interface TypeDef extends Serializable
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 Details

    • getElement

      Element getElement()
    • qualifiedName

      String qualifiedName()
    • simpleName

      String simpleName()
    • components

      List<? extends ComponentInfo> components()
    • directSupertypes

      default List<TypeInfo> 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)