Methods Summary |
---|
protected int | compareTo0(Constant other){@inheritDoc}
int cmp = super.compareTo0(other);
if (cmp != 0) {
return cmp;
}
CstFieldRef otherField = (CstFieldRef) other;
CstUtf8 thisDescriptor = getNat().getDescriptor();
CstUtf8 otherDescriptor = otherField.getNat().getDescriptor();
return thisDescriptor.compareTo(otherDescriptor);
|
public static com.android.dx.rop.cst.CstFieldRef | forPrimitiveType(com.android.dx.rop.type.Type primitiveType)Returns an instance of this class that represents the static
field which should hold the class corresponding to a given
primitive type. For example, if given {@link Type#INT}, this
method returns an instance corresponding to the field
java.lang.Integer.TYPE .
return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType),
CstNat.PRIMITIVE_TYPE_NAT);
|
public com.android.dx.rop.type.Type | getType()Returns the type of this field.
return getNat().getFieldType();
|
public java.lang.String | typeName(){@inheritDoc}
return "field";
|