Class TypeDescription.Generic.LazyProxy

java.lang.Object
net.bytebuddy.description.type.TypeDescription.Generic.LazyProxy
All Implemented Interfaces:
InvocationHandler
Enclosing interface:
TypeDescription.Generic

@Enhance public static class TypeDescription.Generic.LazyProxy extends Object implements InvocationHandler
A lazy proxy for representing a TypeDescription.Generic for a loaded type. This proxy is used to avoid locks when Byte Buddy is loaded circularly.
  • Field Details

    • type

      private final Class<?> type
      The represented loaded type.
  • Constructor Details

    • LazyProxy

      protected LazyProxy(Class<?> type)
      Creates a new lazy proxy.
      Parameters:
      type - The represented loaded type.
  • Method Details