Constructor and Description |
---|
DefaultLinker() |
Modifier and Type | Method and Description |
---|---|
CallSite |
getField(MethodHandles.Lookup caller,
String fieldName,
Class<?> fieldType,
Class<?> owner) |
CallSite |
getStatic(MethodHandles.Lookup caller,
String fieldName,
Class<?> fieldType,
Class<?> owner) |
CallSite |
invokeConstructor(MethodHandles.Lookup caller,
MethodType signature,
Class<?> owner) |
CallSite |
invokeInterface(MethodHandles.Lookup caller,
String methodName,
MethodType signature,
Class<?> owner) |
CallSite |
invokeSpecial(MethodHandles.Lookup caller,
String methodName,
MethodType signature,
Class<?> owner) |
CallSite |
invokeStatic(MethodHandles.Lookup caller,
String methodName,
MethodType signature,
Class<?> owner) |
CallSite |
invokeVirtual(MethodHandles.Lookup caller,
String methodName,
MethodType signature,
Class<?> owner) |
CallSite |
putField(MethodHandles.Lookup caller,
String fieldName,
Class<?> fieldType,
Class<?> owner) |
CallSite |
putStatic(MethodHandles.Lookup caller,
String fieldName,
Class<?> fieldType,
Class<?> owner) |
register, unregister
public CallSite invokeVirtual(MethodHandles.Lookup caller, String methodName, MethodType signature, Class<?> owner) throws ReflectiveOperationException
invokeVirtual
in class Linker
ReflectiveOperationException
public CallSite invokeStatic(MethodHandles.Lookup caller, String methodName, MethodType signature, Class<?> owner) throws ReflectiveOperationException
invokeStatic
in class Linker
ReflectiveOperationException
public CallSite invokeInterface(MethodHandles.Lookup caller, String methodName, MethodType signature, Class<?> owner) throws ReflectiveOperationException
invokeInterface
in class Linker
ReflectiveOperationException
public CallSite invokeSpecial(MethodHandles.Lookup caller, String methodName, MethodType signature, Class<?> owner) throws ReflectiveOperationException
invokeSpecial
in class Linker
ReflectiveOperationException
public CallSite invokeConstructor(MethodHandles.Lookup caller, MethodType signature, Class<?> owner) throws ReflectiveOperationException
invokeConstructor
in class Linker
ReflectiveOperationException
public CallSite getField(MethodHandles.Lookup caller, String fieldName, Class<?> fieldType, Class<?> owner) throws ReflectiveOperationException
getField
in class Linker
ReflectiveOperationException
public CallSite putField(MethodHandles.Lookup caller, String fieldName, Class<?> fieldType, Class<?> owner) throws ReflectiveOperationException
putField
in class Linker
ReflectiveOperationException
public CallSite getStatic(MethodHandles.Lookup caller, String fieldName, Class<?> fieldType, Class<?> owner) throws ReflectiveOperationException
getStatic
in class Linker
ReflectiveOperationException
public CallSite putStatic(MethodHandles.Lookup caller, String fieldName, Class<?> fieldType, Class<?> owner) throws ReflectiveOperationException
putStatic
in class Linker
ReflectiveOperationException
Copyright © 2013. All rights reserved.