getTarget(CallSiteDescriptor) to unreflect a method handle from the reflective member on
every request.
| Modifier and Type | Field and Description |
|---|---|
| private final Executable | |
| private final MethodType |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv MethodType | getMethodType()
Implements abstract jdk. Returns this method's native type. |
| private static MethodType | |
| private static String | |
| pack-priv MethodHandle | getTarget(final CallSiteDescriptor desc)
Implements abstract jdk. Given a specified call site descriptor, returns a method handle to this method's target. |
| pack-priv boolean | isConstructor()
Overrides jdk. True if this method happens to be a constructor method. |
| pack-priv boolean | isVarArgs()
Implements abstract jdk. Returns true if this method is variable arity. |
| private static MethodHandle | |
| private static MethodHandle |
| target | back to summary |
|---|---|
| private final Executable target | |
| type | back to summary |
|---|---|
| private final MethodType type | |
| CallerSensitiveDynamicMethod | back to summary |
|---|---|
| pack-priv CallerSensitiveDynamicMethod(final Executable target) | |
| getMethodType | back to summary |
|---|---|
| pack-priv MethodType getMethodType() Implements abstract jdk. Doc from jdk. Returns this method's native type.
| |
| getMethodType | back to summary |
|---|---|
| private static MethodType getMethodType(final Executable m) | |
| getName | back to summary |
|---|---|
| private static String getName(final Executable m) | |
| getTarget | back to summary |
|---|---|
| pack-priv MethodHandle getTarget(final CallSiteDescriptor desc) Implements abstract jdk. Doc from jdk. Given a specified call site descriptor, returns a method handle to this method's target. The target should only depend on the descriptor's lookup, and it should only retrieve it (as a privileged operation) when it is absolutely needed.
| |
| isConstructor | back to summary |
|---|---|
| pack-priv boolean isConstructor() Overrides jdk. Doc from jdk. True if this method happens to be a constructor method.
| |
| isVarArgs | back to summary |
|---|---|
| pack-priv boolean isVarArgs() Implements abstract jdk. Doc from jdk. Returns true if this method is variable arity.
| |
| unreflect | back to summary |
|---|---|
| private static MethodHandle unreflect(final MethodHandles. | |
| unreflectConstructor | back to summary |
|---|---|
| private static MethodHandle unreflectConstructor(final MethodHandles. | |