Class TypeDescription.Generic.OfNonGenericType.Latent

All Implemented Interfaces:
Iterable<TypeDefinition>, AnnotationSource, ModifierReviewable, ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration, NamedElement, TypeDefinition, TypeDescription.Generic
Enclosing class:
TypeDescription.Generic.OfNonGenericType

public static class TypeDescription.Generic.OfNonGenericType.Latent extends TypeDescription.Generic.OfNonGenericType
A latent description of a non-generic type.
  • Field Details

    • typeDescription

      private final TypeDescription typeDescription
      The non-generic type's raw type.
    • declaringType

      @MaybeNull private final TypeDescription.Generic declaringType
      The non-generic type's declaring type.
    • annotationSource

      private final AnnotationSource annotationSource
      The annotation source to query for the declared annotations.
  • Constructor Details

    • Latent

      public Latent(TypeDescription typeDescription, AnnotationSource annotationSource)
      Creates a non-generic type with an implicit owner type.
      Parameters:
      typeDescription - The non-generic type's raw type.
      annotationSource - The annotation source to query for the declared annotations.
    • Latent

      private Latent(TypeDescription typeDescription, @MaybeNull TypeDescription declaringType, AnnotationSource annotationSource)
      Creates a non-generic type with a raw owner type.
      Parameters:
      typeDescription - The non-generic type's raw type.
      declaringType - The non-generic type's declaring type.
      annotationSource - The annotation source to query for the declared annotations.
    • Latent

      protected Latent(TypeDescription typeDescription, @MaybeNull TypeDescription.Generic declaringType, AnnotationSource annotationSource)
      Creates a non-generic type.
      Parameters:
      typeDescription - The non-generic type's raw type.
      declaringType - The non-generic type's declaring type.
      annotationSource - The annotation source to query for the declared annotations.
  • Method Details