MethodHandleInfo

public interface MethodHandleInfo

Constant Summary

int REF_getField
int REF_getStatic
int REF_invokeInterface
int REF_invokeSpecial
int REF_invokeStatic
int REF_invokeVirtual
int REF_newInvokeSpecial
int REF_putField
int REF_putStatic

Public Method Summary

abstract Class<?>
abstract MethodType
abstract int
abstract String
abstract int
boolean
static String
referenceKindToString(int referenceKind)
abstract <T extends Member> T
reflectAs(Class<T> expected, MethodHandles.Lookup lookup)
static String
toString(int kind, Class<?> defc, String name, MethodType type)

Constants

public static final int REF_getField

Constant Value: 0

public static final int REF_getStatic

Constant Value: 0

public static final int REF_invokeInterface

Constant Value: 0

public static final int REF_invokeSpecial

Constant Value: 0

public static final int REF_invokeStatic

Constant Value: 0

public static final int REF_invokeVirtual

Constant Value: 0

public static final int REF_newInvokeSpecial

Constant Value: 0

public static final int REF_putField

Constant Value: 0

public static final int REF_putStatic

Constant Value: 0

Public Methods

public abstract Class<?> getDeclaringClass ()

public abstract MethodType getMethodType ()

public abstract int getModifiers ()

public abstract String getName ()

public abstract int getReferenceKind ()

public boolean isVarArgs ()

public static String referenceKindToString (int referenceKind)

Parameters
referenceKind

public abstract T reflectAs (Class<T> expected, MethodHandles.Lookup lookup)

Parameters
expected
lookup

public static String toString (int kind, Class<?> defc, String name, MethodType type)

Parameters
kind
defc
name
type