|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclojure.asm.Handle
public final class Handle
A reference to a field or a method.
Constructor Summary | |
---|---|
Handle(int tag,
String owner,
String name,
String desc)
Constructs a new field or method handle. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDesc()
Returns the descriptor of the field or method designated by this handle. |
String |
getName()
Returns the name of the field or method designated by this handle. |
String |
getOwner()
Returns the internal name of the field or method designed by this handle. |
int |
getTag()
Returns the kind of field or method designated by this handle. |
int |
hashCode()
|
String |
toString()
Returns the textual representation of this handle. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Handle(int tag, String owner, String name, String desc)
tag
- the kind of field or method designated by this Handle. Must be
Opcodes.H_GETFIELD
, Opcodes.H_GETSTATIC
,
Opcodes.H_PUTFIELD
, Opcodes.H_PUTSTATIC
,
Opcodes.H_INVOKEVIRTUAL
,
Opcodes.H_INVOKESTATIC
,
Opcodes.H_INVOKESPECIAL
,
Opcodes.H_NEWINVOKESPECIAL
or
Opcodes.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 Detail |
---|
public int getTag()
Opcodes.H_GETFIELD
, Opcodes.H_GETSTATIC
,
Opcodes.H_PUTFIELD
, Opcodes.H_PUTSTATIC
,
Opcodes.H_INVOKEVIRTUAL
, Opcodes.H_INVOKESTATIC
,
Opcodes.H_INVOKESPECIAL
,
Opcodes.H_NEWINVOKESPECIAL
or
Opcodes.H_INVOKEINTERFACE
.public String getOwner()
public String getName()
public String getDesc()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
owner '.' name desc ' ' '(' tag ')'. As this format is unambiguous, it can be parsed if necessary.
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |