Class TypeDescription.ForLoadedType

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        The class's serial version UID.
        See Also:
        Constant Field Values
      • TYPE_CACHE

        private static final java.util.Map<java.lang.Class<?>,​TypeDescription> TYPE_CACHE
        A cache of type descriptions for commonly used types to avoid unnecessary allocations.
      • type

        private final java.lang.Class<?> type
        The loaded type this instance represents.
    • Constructor Detail

      • ForLoadedType

        public ForLoadedType​(java.lang.Class<?> type)
        Creates a new immutable type description for a loaded type. This constructor should not normally be used. Use of(Class) instead.
        Parameters:
        type - The type to be represented by this type description.