Class Handle
java.lang.Object
org.jfuncmachine.compiler.classgen.Handle
A handle to a field or method that eventually gets mapped to a MethodHandle
for bootstrap methods.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe type descriptor of the field or methodstatic final intThis handle is for fetching a field valuestatic final intThis handle is for fetching a static field valuestatic final intThis handle is for a method on an interfacestatic final intThis handle is for a Java private method, constructor, or super methodstatic final intThis handle is for a static Java methodstatic final intThis handle is for a non-static Java methodfinal booleanIf true, this handle refers to a member of an interfacefinal StringThe name of the method/field this handle refers tostatic final intThis handle is for a Java private method, constructor, or super methodfinal StringThe class containing this handlestatic final intThis handle is for setting a field valuestatic final intThis handle is for setting a static field valuefinal intThe type of handle this is -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GETFIELD
public static final int GETFIELDThis handle is for fetching a field value- See Also:
-
GETSTATIC
public static final int GETSTATICThis handle is for fetching a static field value- See Also:
-
PUTFIELD
public static final int PUTFIELDThis handle is for setting a field value- See Also:
-
PUTSTATIC
public static final int PUTSTATICThis handle is for setting a static field value- See Also:
-
INVOKEVIRTUAL
public static final int INVOKEVIRTUALThis handle is for a non-static Java method- See Also:
-
INVOKESTATIC
public static final int INVOKESTATICThis handle is for a static Java method- See Also:
-
INVOKESPECIAL
public static final int INVOKESPECIALThis handle is for a Java private method, constructor, or super method- See Also:
-
NEWINVOKESPECIAL
public static final int NEWINVOKESPECIALThis handle is for a Java private method, constructor, or super method- See Also:
-
INVOKEINTERFACE
public static final int INVOKEINTERFACEThis handle is for a method on an interface- See Also:
-
tag
public final int tagThe type of handle this is -
owner
The class containing this handle -
name
The name of the method/field this handle refers to -
descriptor
The type descriptor of the field or method -
isInterface
public final boolean isInterfaceIf true, this handle refers to a member of an interface
-
-
Constructor Details
-
Handle
Create a new handle- Parameters:
tag- The type of handle this isowner- The class containing this handlename- The name of the method/field this handle refers todescriptor- The type descriptor of the field or methodisInterface- If true, this handle refers to a member of an interface
-