Modifier and Type | Field and Description |
---|---|
private final String | descriptor
The descriptor of the field or method designated by this handle. |
private final boolean | isInterface
Whether the owner is an interface or not. |
private final String | name
The name of the field or method designated by this handle. |
private final String | owner
The internal name of the class that owns the field or method designated by this handle. |
private final int | tag
The kind of field or method designated by this Handle. |
Access | Constructor and Description |
---|---|
public | Handle(final int
the kind of field or method designated by this Handle. Must be tag, final String 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 .the internal name of the class that owns the field or method designated by this
handle (see owner, final String Type#getInternalName() ).the name of the field or method designated by this handle. name, final String the descriptor of the field or method designated by this handle. descriptor)
Deprecated
this constructor has been superseded by
Constructs a new field or method handle.
Handle(int, String, String, String,
boolean) .
|
public | Handle(final int
the kind of field or method designated by this Handle. Must be tag, final String 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 .the internal name of the class that owns the field or method designated by this
handle (see owner, final String Type#getInternalName() ).the name of the field or method designated by this handle. name, final String the descriptor of the field or method designated by this handle. descriptor, final boolean whether the owner is an interface or not. isInterface)Constructs a new field or method handle. |
Modifier and Type | Method and Description |
---|---|
public boolean | equals(final Object
the reference object with which to compare. object)Overrides java. |
public String | Returns: the descriptor of the field or method designated by this handle.Returns the descriptor of the field or method designated by this handle. |
public String | Returns: the name of the field or method designated by this handle.Returns the name of the field or method designated by this handle. |
public String | Returns: the internal name of the class that owns the field or method designated by this handle (seeType#getInternalName() ).Returns the internal name of the class that owns the field or method designated by this handle. |
public int | |
public int | |
public boolean | Returns: true if the owner of the field or method designated by this handle is an interface.Returns true if the owner of the field or method designated by this handle is an interface. |
public String |
descriptor | back to summary |
---|---|
private final String descriptor The descriptor of the field or method designated by this handle. |
isInterface | back to summary |
---|---|
private final boolean isInterface Whether the owner is an interface or not. |
name | back to summary |
---|---|
private final String name The name of the field or method designated by this handle. |
owner | back to summary |
---|---|
private final String owner The internal name of the class that owns the field or method designated by this handle. |
tag | back to summary |
---|---|
private final int tag The kind of field or method designated by this Handle. Should be |
Handle | back to summary |
---|---|
public Handle(final int tag, final String owner, final String name, final String descriptor)
Deprecated this constructor has been superseded by Constructs a new field or method handle.
|
Handle | back to summary |
---|---|
public Handle(final int tag, final String owner, final String name, final String descriptor, final boolean isInterface) Constructs a new field or method handle.
|
equals | back to summary |
---|---|
public boolean equals(final Object object) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. |
getDesc | back to summary |
---|---|
public String getDesc() Returns the descriptor of the field or method designated by this handle.
|
getName | back to summary |
---|---|
public String getName() Returns the name of the field or method designated by this handle.
|
getOwner | back to summary |
---|---|
public String getOwner() Returns the internal name of the class that owns the field or method designated by this handle.
|
getTag | back to summary |
---|---|
public int getTag() Returns the kind of field or method designated by this handle. |
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
|
isInterface | back to summary |
---|---|
public boolean isInterface() Returns true if the owner of the field or method designated by this handle is an interface.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Returns the textual representation of this handle. The textual representation is:
|