Package net.bytebuddy.utility
Interface JavaConstant.Simple.Dispatcher.OfClassDesc
- All Superinterfaces:
JavaConstant.Simple.Dispatcher
- Enclosing interface:
JavaConstant.Simple.Dispatcher
@Proxied("java.lang.constant.ClassDesc")
public static interface JavaConstant.Simple.Dispatcher.OfClassDesc
extends JavaConstant.Simple.Dispatcher
A dispatcher to represent
java.lang.constant.ClassDesc
.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.utility.JavaConstant.Simple.Dispatcher
JavaConstant.Simple.Dispatcher.OfClassDesc, JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc, JavaConstant.Simple.Dispatcher.OfMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfMethodTypeDesc
-
Method Summary
Modifier and TypeMethodDescriptiondescriptorString
(Object value) Returns the descriptor of the supplied class description.ofDescriptor
(String descriptor) Resolves ajava.lang.constant.ClassDesc
of a descriptor.Methods inherited from interface net.bytebuddy.utility.JavaConstant.Simple.Dispatcher
isInstance, toArray
-
Method Details
-
ofDescriptor
Resolves ajava.lang.constant.ClassDesc
of a descriptor.- Parameters:
descriptor
- The descriptor to resolve.- Returns:
- An appropriate
java.lang.constant.ClassDesc
.
-
descriptorString
Returns the descriptor of the supplied class description.- Parameters:
value
- Thejava.lang.constant.ClassDesc
to resolve.- Returns:
- The class's descriptor.
-