Package net.bytebuddy.utility
Interface JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc
-
- All Superinterfaces:
JavaConstant.Simple.Dispatcher
- Enclosing interface:
- JavaConstant.Simple.Dispatcher
@Proxied("java.lang.constant.DirectMethodHandleDesc") public static interface JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc extends JavaConstant.Simple.Dispatcher
A dispatcher to representjava.lang.constant.DirectMethodHandleDesc
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc.ForKind
A dispatcher to representjava.lang.constant.DirectMethodHandleDesc$Kind
.-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
lookupDescriptor(java.lang.Object value)
Resolves the lookup descriptor of the supplied direct method handle description.java.lang.String
methodName(java.lang.Object value)
Resolves the method name of the supplied direct method handle.java.lang.Object
owner(java.lang.Object value)
Resolves ajava.lang.constant.ClassDesc
representing the owner of a direct method handle description.int
refKind(java.lang.Object value)
Resolves the type of method handle for the supplied method handle description.-
Methods inherited from interface net.bytebuddy.utility.JavaConstant.Simple.Dispatcher
isInstance, toArray
-
-
-
-
Method Detail
-
refKind
int refKind(java.lang.Object value)
Resolves the type of method handle for the supplied method handle description.- Parameters:
value
- Thejava.lang.constant.DirectMethodHandleDesc
to resolve.- Returns:
- The type of the handle.
-
methodName
java.lang.String methodName(java.lang.Object value)
Resolves the method name of the supplied direct method handle.- Parameters:
value
- Thejava.lang.constant.DirectMethodHandleDesc
to resolve.- Returns:
- The handle's method name.
-
owner
java.lang.Object owner(java.lang.Object value)
Resolves ajava.lang.constant.ClassDesc
representing the owner of a direct method handle description.- Parameters:
value
- Thejava.lang.constant.DirectMethodHandleDesc
to resolve.- Returns:
- A
java.lang.constant.ClassDesc
describing the handle's owner.
-
lookupDescriptor
java.lang.String lookupDescriptor(java.lang.Object value)
Resolves the lookup descriptor of the supplied direct method handle description.- Parameters:
value
- Thejava.lang.constant.DirectMethodHandleDesc
to resolve.- Returns:
- A descriptor of the supplied direct method handle's lookup.
-
-