FileDocCategorySizeDatePackage
TypeBearer.javaAPI DocAndroid 1.5 API2426Wed May 06 22:41:02 BST 2009com.android.dx.rop.type

TypeBearer

public interface TypeBearer implements com.android.dx.util.ToHuman
Object which has an associated type, possibly itself.

Fields Summary
Constructors Summary
Methods Summary
public intgetBasicFrameType()
Gets the basic type corresponding to this instance's frame type. This is equivalent to getFrameType().getBasicType(), and is the same as calling getFrameType() unless this instance is an int-like type, in which case this method returns BT_INT.

see
#getBasicType
see
#getFrameType
return
the basic frame type; one of the BT_* constants defined by {@link Type}

public intgetBasicType()
Gets the basic type corresponding to this instance.

return
the basic type; one of the BT_* constants defined by {@link Type}

public com.android.dx.rop.type.TypeBearergetFrameType()
Gets the frame type corresponding to this type. This method returns this, except if {@link Type#isIntlike} on the underlying type returns true but the underlying type is not in fact {@link Type#INT}, in which case this method returns an instance whose underlying type is INT.

return
non-null; the frame type for this instance

public TypegetType()
Gets the type associated with this instance.

return
non-null; the type

public booleanisConstant()
Returns whether this instance represents a constant value.

return
true if this instance represents a constant value and false if not