invokedynamic call site.
A DynamicCallSiteDesc is immutable and its behavior does not
rely on object identity.
| Modifier and Type | Field and Description |
|---|---|
| private final ConstantDesc[] | |
| private final DirectMethodHandleDesc | |
| private final String | |
| private final MethodTypeDesc |
| Access | Constructor and Description |
|---|---|
| private | DynamicCallSiteDesc(DirectMethodHandleDesc
a bootstrapMethod, String DirectMethodHandleDesc describing the
bootstrap method for the invokedynamicThe unqualified name that would appear in the invocationName, MethodTypeDesc NameAndType
operand of the invokedynamica invocationType, ConstantDesc[] MethodTypeDesc describing the invocation
type that would appear in the NameAndType
operand of the invokedynamicConstantDescs describing the static arguments
to the bootstrap, that would appear in the
BootstrapMethods attributeCreates a nominal descriptor for an |
| Modifier and Type | Method and Description |
|---|---|
| public ConstantDesc[] | Returns: the bootstrap arguments for theinvokedynamicReturns |
| public MethodHandleDesc | Returns: the bootstrap method for theinvokedynamicReturns a |
| public final boolean | Returns: true if the specified DynamicCallSiteDesc
is equal to this DynamicCallSiteDesc.the o)DynamicCallSiteDesc to compare to this
DynamicCallSiteDescOverrides java. Compares the specified object with this descriptor for equality. |
| public final int | |
| public String | Returns: the invocation nameReturns the invocation name that would appear in the |
| public MethodTypeDesc | Returns: the invocation typeReturns a |
| public static DynamicCallSiteDesc | Returns: the nominal descriptora bootstrapMethod, String DirectMethodHandleDesc describing the
bootstrap method for the invokedynamicThe unqualified name that would appear in the invocationName, MethodTypeDesc NameAndType
operand of the invokedynamica invocationType, ConstantDesc... MethodTypeDesc describing the invocation
type that would appear in the NameAndType
operand of the invokedynamicConstantDescs describing the static arguments
to the bootstrap, that would appear in the
BootstrapMethods attributeCreates a nominal descriptor for an |
| public static DynamicCallSiteDesc | Returns: the nominal descriptorThe bootstrap method for the bootstrapMethod, String invokedynamicThe invocationName that would appear in the
invocationName, MethodTypeDesc NameAndType operand of the invokedynamicThe invocation invocationType that would appear
in the invocationType)NameAndType operand of the invokedynamicCreates a nominal descriptor for an |
| public static DynamicCallSiteDesc | Returns: the nominal descriptora bootstrapMethod, MethodTypeDesc DirectMethodHandleDesc describing the
bootstrap method for the invokedynamica invocationType)MethodTypeDesc describing the invocation
type that would appear in the NameAndType
operand of the invokedynamicCreates a nominal descriptor for an |
| public CallSite | Returns: theCallSiteThe lookupMethodHandles. used to resolve class namesReflectively invokes the bootstrap method with the specified arguments,
and return the resulting |
| public String | Returns: A compact textual description of this call site descriptorOverrides java. Returns a compact textual description of this call site description, including the bootstrap method, the invocation name and type, and the static bootstrap arguments. |
| public DynamicCallSiteDesc | Returns: the nominal descriptorConstantDescs describing the static arguments
to the bootstrap, that would appear in the
BootstrapMethods attributeReturns a nominal descriptor for an |
| public DynamicCallSiteDesc | Returns: the nominal descriptorThe unqualified name that would appear in the invocationName, MethodTypeDesc NameAndType
operand of the invokedynamica invocationType)MethodTypeDesc describing the invocation
type that would appear in the NameAndType
operand of the invokedynamicReturns a nominal descriptor for an |
| bootstrapArgs | back to summary |
|---|---|
| private final ConstantDesc[] bootstrapArgs | |
| bootstrapMethod | back to summary |
|---|---|
| private final DirectMethodHandleDesc bootstrapMethod | |
| invocationName | back to summary |
|---|---|
| private final String invocationName | |
| invocationType | back to summary |
|---|---|
| private final MethodTypeDesc invocationType | |
| DynamicCallSiteDesc | back to summary |
|---|---|
| private DynamicCallSiteDesc(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType, ConstantDesc[] bootstrapArgs) Creates a nominal descriptor for an
| |
| bootstrapArgs | back to summary |
|---|---|
| public ConstantDesc[] bootstrapArgs() Returns
| |
| bootstrapMethod | back to summary |
|---|---|
| public MethodHandleDesc bootstrapMethod() Returns a
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Overrides java. Compares the specified object with this descriptor for equality. Returns
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| invocationName | back to summary |
|---|---|
| public String invocationName() Returns the invocation name that would appear in the
| |
| invocationType | back to summary |
|---|---|
| public MethodTypeDesc invocationType() Returns a
| |
| of | back to summary |
|---|---|
| public static DynamicCallSiteDesc of(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType, ConstantDesc... bootstrapArgs) Creates a nominal descriptor for an
| |
| of | back to summary |
|---|---|
| public static DynamicCallSiteDesc of(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType) Creates a nominal descriptor for an
| |
| of | back to summary |
|---|---|
| public static DynamicCallSiteDesc of(DirectMethodHandleDesc bootstrapMethod, MethodTypeDesc invocationType) Creates a nominal descriptor for an
| |
| resolveCallSiteDesc | back to summary |
|---|---|
| public CallSite resolveCallSiteDesc(MethodHandles. Reflectively invokes the bootstrap method with the specified arguments,
and return the resulting
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a compact textual description of this call site description, including the bootstrap method, the invocation name and type, and the static bootstrap arguments. | |
| withArgs | back to summary |
|---|---|
| public DynamicCallSiteDesc withArgs(ConstantDesc... bootstrapArgs) Returns a nominal descriptor for an
| |
| withNameAndType | back to summary |
|---|---|
| public DynamicCallSiteDesc withNameAndType(String invocationName, MethodTypeDesc invocationType) Returns a nominal descriptor for an
| |