FileDocCategorySizeDatePackage
ZeroSizeInsn.javaAPI DocAndroid 5.1 API1906Thu Mar 12 22:18:30 GMT 2015com.android.dx.dex.code

ZeroSizeInsn

public abstract class ZeroSizeInsn extends DalvInsn
Pseudo-instruction base class for zero-size (no code emitted) instructions, which are generally used for tracking metainformation about the code they are adjacent to.

Fields Summary
Constructors Summary
public ZeroSizeInsn(com.android.dx.rop.code.SourcePosition position)
Constructs an instance. The output address of this instance is initially unknown ({@code -1}).

param
position {@code non-null;} source position

        super(Dops.SPECIAL_FORMAT, position, RegisterSpecList.EMPTY);
    
Methods Summary
public final intcodeSize()
{@inheritDoc}

        return 0;
    
public final DalvInsnwithOpcode(Dop opcode)
{@inheritDoc}

        throw new RuntimeException("unsupported");
    
public DalvInsnwithRegisterOffset(int delta)
{@inheritDoc}

        return withRegisters(getRegisters().withOffset(delta));
    
public final voidwriteTo(com.android.dx.util.AnnotatedOutput out)
{@inheritDoc}

        // Nothing to do here, for this class.