Methods Summary |
---|
public final int | compareTo(com.android.dx.rop.cst.Constant other){@inheritDoc}
This compares in class-major and value-minor order.
Class clazz = getClass();
Class otherClazz = other.getClass();
if (clazz != otherClazz) {
return clazz.getName().compareTo(otherClazz.getName());
}
return compareTo0(other);
|
protected abstract int | compareTo0(com.android.dx.rop.cst.Constant other)Compare the values of this and another instance, which are guaranteed
to be of the same class. Subclasses must implement this.
|
public abstract boolean | isCategory2()Returns true if this instance is a category-2 constant,
meaning it takes up two slots in the constant pool, or
false if this instance is category-1.
|
public abstract java.lang.String | typeName()Returns the human name for the particular type of constant
this instance is.
|