Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv abstract boolean | Returns: true if it already contains an equivalent method.the method to check method)True if this dynamic method already contains a method with an identical signature as the passed in method. |
pack-priv static String | |
pack-priv abstract MethodHandle | Returns: an invocation suitable for calling the method from the specified call site.the descriptor of the call site callSiteDescriptor, LinkerServices linker services. Used for language-specific type conversions. linkerServices)Creates an invocation for the dynamic method. |
pack-priv abstract SingleDynamicMethod | Returns: a single dynamic method representing a single underlying Java method, or null if none of the Java methods behind this dynamic method exactly match the requested parameter types.the comma-separated list of requested parameter type names. The names will match both
qualified and unqualified type names. paramTypes)Returns a single dynamic method representing a single underlying Java method (possibly selected among several overloads) with formal parameter types exactly matching the passed signature. |
pack-priv String | |
pack-priv boolean | Returns: true if this represents a constructor.True if this method happens to be a constructor method. |
public String |
name | back to summary |
---|---|
private final String name |
DynamicMethod | back to summary |
---|---|
pack-priv DynamicMethod(final String name) |
contains | back to summary |
---|---|
pack-priv abstract boolean contains(SingleDynamicMethod method) True if this dynamic method already contains a method with an identical signature as the passed in method.
|
getClassAndMethodName | back to summary |
---|---|
pack-priv static String getClassAndMethodName(final Class<?> clazz, final String name) |
getInvocation | back to summary |
---|---|
pack-priv abstract MethodHandle getInvocation(CallSiteDescriptor callSiteDescriptor, LinkerServices linkerServices) Creates an invocation for the dynamic method. If the method is overloaded, it will perform overloaded method resolution based on the specified method type. The resulting resolution can either identify a single method to be invoked among the overloads, or it can identify multiple ones. In the latter case, the returned method handle will perform further overload resolution among these candidates at every invocation. If the method to be invoked is a variable arguments (vararg) method, it will pack the extra arguments in an array before the invocation of the underlying method if it is not already done.
|
getMethodForExactParamTypes | back to summary |
---|---|
pack-priv abstract SingleDynamicMethod getMethodForExactParamTypes(String paramTypes) Returns a single dynamic method representing a single underlying Java method (possibly selected among several overloads) with formal parameter types exactly matching the passed signature.
|
getName | back to summary |
---|---|
pack-priv String getName() |
isConstructor | back to summary |
---|---|
pack-priv boolean isConstructor() True if this method happens to be a constructor method.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- |