Package net.bytebuddy.description.type
Class TypeDescription.LazyProxy
java.lang.Object
net.bytebuddy.description.type.TypeDescription.LazyProxy
- All Implemented Interfaces:
InvocationHandler
- Enclosing interface:
TypeDescription
A lazy proxy for representing a
TypeDescription
for a loaded type. This proxy is used to
avoid locks when Byte Buddy is loaded circularly.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
The represented loaded type.
-
-
Constructor Details
-
LazyProxy
Creates a new lazy proxy.- Parameters:
type
- The represented loaded type.
-
-
Method Details
-
of
Resolves a lazy proxy for a loaded type as a type description.- Parameters:
type
- The represented loaded type.- Returns:
- The lazy proxy.
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-