Class TypeDescription.Generic.OfNonGenericType.ForLoadedType

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

public static class TypeDescription.Generic.OfNonGenericType.ForLoadedType extends TypeDescription.Generic.OfNonGenericType
Represents a non-generic type for a loaded Class.
  • Constructor Details

    • ForLoadedType

      public ForLoadedType(Class<?> type)
      Creates a new description of a generic type of a loaded type. This constructor should not normally be used. Use of(Class) instead.
      Parameters:
      type - The represented type.
    • ForLoadedType

      protected ForLoadedType(Class<?> type, TypeDescription.Generic.AnnotationReader annotationReader)
      /** Creates a new description of a generic type of a loaded type.
      Parameters:
      type - The represented type.
      annotationReader - The annotation reader to query for the non-generic type's annotations.
  • Method Details