Interface JavaConstant.Simple.Dispatcher
- All Known Subinterfaces:
JavaConstant.Simple.Dispatcher.OfClassDesc, JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc, JavaConstant.Simple.Dispatcher.OfMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfMethodTypeDesc
- Enclosing class:
JavaConstant.Simple<T>
@Proxied("java.lang.constant.ConstantDesc")
protected static interface JavaConstant.Simple.Dispatcher
A dispatcher to represent
java.lang.constant.ConstantDesc.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA dispatcher to representjava.lang.constant.ClassDesc.static interfaceA dispatcher to representjava.lang.constant.DirectMethodHandleDesc.static interfaceA dispatcher to representjava.lang.constant.DynamicConstantDesc.static interfaceA dispatcher to representjava.lang.constant.MethodHandleDesc.static interfaceA dispatcher to representjava.lang.constant.MethodTypeDesc. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisInstance(Object instance) Checks if the supplied instance is of the type of this dispatcher.Object[]toArray(int length) Returns an array of the dispatcher type.
-
Method Details
-
isInstance
-
toArray
Returns an array of the dispatcher type.- Parameters:
length- The length of the array.- Returns:
- An array of the type that is represented by this dispatcher with the given length.
-