edu.umd.cs.findbugs.ba.ir
Class Quad

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.ir.Quad

public class Quad
extends java.lang.Object

Instruction in a register-based bytecode intermediate representation. Represents a bytecode instruction, destination register, and source register(s).

Note: this class is just an idea sketch. There is no guarantee it will ever be used for anything.

Author:
David Hovemeyer

Constructor Summary
Quad(org.apache.bcel.generic.Instruction instruction)
           
Quad(org.apache.bcel.generic.Instruction instruction, short dest)
           
Quad(org.apache.bcel.generic.Instruction instruction, short dest, short r1)
           
Quad(org.apache.bcel.generic.Instruction instruction, short dest, short r1, short r2)
           
Quad(org.apache.bcel.generic.Instruction instruction, short dest, short r1, short r2, short r3)
           
 
Method Summary
 short getDest()
           
 org.apache.bcel.generic.Instruction getInstruction()
           
 short getR1()
           
 short getR2()
           
 short getR3()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quad

public Quad(org.apache.bcel.generic.Instruction instruction)

Quad

public Quad(org.apache.bcel.generic.Instruction instruction,
            short dest)

Quad

public Quad(org.apache.bcel.generic.Instruction instruction,
            short dest,
            short r1)

Quad

public Quad(org.apache.bcel.generic.Instruction instruction,
            short dest,
            short r1,
            short r2)

Quad

public Quad(org.apache.bcel.generic.Instruction instruction,
            short dest,
            short r1,
            short r2,
            short r3)
Method Detail

getInstruction

public org.apache.bcel.generic.Instruction getInstruction()

getDest

public short getDest()

getR1

public short getR1()

getR2

public short getR2()

getR3

public short getR3()