FileDocCategorySizeDatePackage
Form30t.javaAPI DocAndroid 1.5 API2412Wed May 06 22:41:02 BST 2009com.android.dx.dex.code.form

Form30t

public final class Form30t extends com.android.dx.dex.code.InsnFormat
Instruction format 30t. See the instruction format spec for details.

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


                     
      
        // This space intentionally left blank.
    
Methods Summary
public booleanbranchFits(com.android.dx.dex.code.TargetInsn insn)
{@inheritDoc}

        return true;
    
public intcodeSize()
{@inheritDoc}

        return 3;
    
public java.lang.StringinsnArgString(com.android.dx.dex.code.DalvInsn insn)
{@inheritDoc}

        return branchString(insn);
    
public java.lang.StringinsnCommentString(com.android.dx.dex.code.DalvInsn insn, boolean noteIndices)
{@inheritDoc}

        return branchComment(insn);
    
public booleanisCompatible(com.android.dx.dex.code.DalvInsn insn)
{@inheritDoc}

        if (!((insn instanceof TargetInsn) &&
              (insn.getRegisters().size() == 0))) {
            return false;
        }

        return true;
    
public com.android.dx.dex.code.InsnFormatnextUp()
{@inheritDoc}

        return null;
    
public voidwriteTo(com.android.dx.util.AnnotatedOutput out, com.android.dx.dex.code.DalvInsn insn)
{@inheritDoc}

        int offset = ((TargetInsn) insn).getTargetOffset();

        write(out, opcodeUnit(insn, 0),
                (short) offset,
                (short) (offset >> 16));