@JavaDispatcher.Proxied(value="java.lang.constant.ConstantDesc") protected static interface JavaConstant.Simple.Dispatcher
java.lang.constant.ConstantDesc.| Modifier and Type | Interface and Description |
|---|---|
static interface |
JavaConstant.Simple.Dispatcher.OfClassDesc
A dispatcher to represent
java.lang.constant.ClassDesc. |
static interface |
JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc
A dispatcher to represent
java.lang.constant.DirectMethodHandleDesc. |
static interface |
JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc
A dispatcher to represent
java.lang.constant.DynamicConstantDesc. |
static interface |
JavaConstant.Simple.Dispatcher.OfMethodHandleDesc
A dispatcher to represent
java.lang.constant.MethodHandleDesc. |
static interface |
JavaConstant.Simple.Dispatcher.OfMethodTypeDesc
A dispatcher to represent
java.lang.constant.MethodTypeDesc. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInstance(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.
|
@JavaDispatcher.Instance boolean isInstance(Object instance)
instance - The instance to verify.true if the instance is of the supplied type.@JavaDispatcher.Container Object[] toArray(int length)
length - The length of the array.Copyright © 2014–2023. All rights reserved.