FileDocCategorySizeDatePackage
CstKnownNull.javaAPI DocAndroid 5.1 API2528Thu Mar 12 22:18:30 GMT 2015com.android.dx.rop.cst

CstKnownNull

public final class CstKnownNull extends CstLiteralBits
Constant type to represent a known-{@code null} value.

Fields Summary
public static final CstKnownNull
THE_ONE
{@code non-null;} unique instance of this class
Constructors Summary
private CstKnownNull()
Constructs an instance. This class is not publicly instantiable. Use {@link #THE_ONE}.


                     
      
        // This space intentionally left blank.
    
Methods Summary
protected intcompareTo0(Constant other)
{@inheritDoc}

        return 0;
    
public booleanequals(java.lang.Object other)
{@inheritDoc}

        return (other instanceof CstKnownNull);
    
public booleanfitsInInt()
{@inheritDoc}

        // See comment in getIntBits().
        return true;
    
public intgetIntBits()
{@inheritDoc} As "literal bits," a known-null is always represented as the number zero.

        return 0;
    
public longgetLongBits()
{@inheritDoc} As "literal bits," a known-null is always represented as the number zero.

        return 0;
    
public com.android.dx.rop.type.TypegetType()
{@inheritDoc}

        return Type.KNOWN_NULL;
    
public inthashCode()
{@inheritDoc}

        return 0x4466757a;
    
public booleanisCategory2()
{@inheritDoc}

        return false;
    
public java.lang.StringtoHuman()
{@inheritDoc}

        return "null";
    
public java.lang.StringtoString()
{@inheritDoc}

        return "known-null";
    
public java.lang.StringtypeName()
{@inheritDoc}

        return "known-null";