Class Handle
java.lang.Object
com.googlecode.aviator.asm.Handle
A reference to a field or a method.
- Author:
- Remi Forax, Eric Bruneton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDesc()Returns the descriptor of the field or method designated by this handle.getName()Returns the name of the field or method designated by this handle.getOwner()Returns the internal name of the field or method designed by this handle.intgetTag()Returns the kind of field or method designated by this handle.inthashCode()toString()Returns the textual representation of this handle.
-
Constructor Details
-
Handle
Constructs a new field or method handle.- Parameters:
tag- the kind of field or method designated by this Handle. Must beOpcodes.H_GETFIELD,Opcodes.H_GETSTATIC,Opcodes.H_PUTFIELD,Opcodes.H_PUTSTATIC,Opcodes.H_INVOKEVIRTUAL,Opcodes.H_INVOKESTATIC,Opcodes.H_INVOKESPECIAL,Opcodes.H_NEWINVOKESPECIALorOpcodes.H_INVOKEINTERFACE.owner- the internal name of the field or method designed by this handle.name- the name of the field or method designated by this handle.desc- the descriptor of the field or method designated by this handle.
-
-
Method Details
-
getTag
public int getTag()Returns the kind of field or method designated by this handle. -
getOwner
Returns the internal name of the field or method designed by this handle.- Returns:
- the internal name of the field or method designed by this handle.
-
getName
Returns the name of the field or method designated by this handle.- Returns:
- the name of the field or method designated by this handle.
-
getDesc
Returns the descriptor of the field or method designated by this handle.- Returns:
- the descriptor of the field or method designated by this handle.
-
equals
-
hashCode
-
toString
-