public final class ProtoId extends Object implements Comparable<ProtoId>
| Constructor and Description |
|---|
ProtoId(Dex dex,
int shortyIndex,
int returnTypeIndex,
int parametersOffset) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ProtoId other)
Compares this object to the specified object to determine their relative
order.
|
int |
getParametersOffset() |
int |
getReturnTypeIndex() |
int |
getShortyIndex() |
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
void |
writeTo(Dex.Section out) |
public ProtoId(Dex dex, int shortyIndex, int returnTypeIndex, int parametersOffset)
public int compareTo(ProtoId other)
ComparablecompareTo in interface Comparable<ProtoId>other - the object to compare to this instance.another;
a positive integer if this instance is greater than
another; 0 if this instance has the same order as
another.public int getShortyIndex()
public int getReturnTypeIndex()
public int getParametersOffset()
public void writeTo(Dex.Section out)
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.