@HashCodeAndEqualsPlugin.Enhance public static class TypeDescription.Generic.LazyProxy extends Object implements InvocationHandler
TypeDescription.Generic
for a loaded type. This proxy is used to
avoid locks when Byte Buddy is loaded circularly.Modifier | Constructor and Description |
---|---|
protected |
LazyProxy(Class<?> type)
Creates a new lazy proxy.
|
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object proxy,
Method method,
Object[] argument) |
protected static TypeDescription.Generic |
of(Class<?> type)
Resolves a lazy proxy for a loaded type as a generic type description.
|
protected LazyProxy(Class<?> type)
type
- The represented loaded type.protected static TypeDescription.Generic of(Class<?> type)
type
- The represented loaded type.public Object invoke(Object proxy, Method method, @MaybeNull Object[] argument) throws Throwable
invoke
in interface InvocationHandler
Throwable
Copyright © 2014–2023. All rights reserved.