All Known Implementing Classes:
DefaultTypeInfo

public interface TypeInfo
Represents the model object for an interface or an abstract type (i.e., one that was annotated with Builder).
  • Method Details

    • typeName

      TypeName typeName()
      The type name.
      Returns:
      the type name
    • typeKind

      String typeKind()
      The type element kind.
      Returns:
      the type element kind (e.g., "INTERFACE", "ANNOTATION_TYPE", etc.)
    • annotations

      List<AnnotationAndValue> annotations()
      The annotations on the type.
      Returns:
      the annotations on the type
    • elementInfo

      List<TypedElementName> elementInfo()
      The elements that make up the type that are relevant for processing.
      Returns:
      the elements that make up the type that are relevant for processing
    • otherElementInfo

      List<TypedElementName> otherElementInfo()
      The elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.
      Returns:
      the elements that still make up the type, but are otherwise deemed irrelevant for processing
    • superTypeInfo

      Optional<TypeInfo> superTypeInfo()
      The parent/super class for this type info.
      Returns:
      the super type.