Package org.sonar.java.bytecode.cfg
Class Instruction
- java.lang.Object
-
- org.sonar.java.bytecode.cfg.Instruction
-
- Direct Known Subclasses:
Instruction.InvokeDynamicInsn
,Instruction.LdcInsn
,Instruction.MultiANewArrayInsn
public class Instruction extends Object
Bytecode instruction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instruction.FieldOrMethod
static class
Instruction.InvokeDynamicInsn
static class
Instruction.LdcInsn
static class
Instruction.MultiANewArrayInsn
-
Field Summary
Fields Modifier and Type Field Description String
className
Instruction.FieldOrMethod
fieldOrMethod
int
opcode
Integer
operand
-
Constructor Summary
Constructors Constructor Description Instruction(int opcode)
Instruction(int opcode, int operand)
Instruction(int opcode, String className)
Instruction(int opcode, Instruction.FieldOrMethod fieldOrMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
arity()
boolean
equals(Object o)
int
hashCode()
boolean
hasReturnValue()
boolean
isInvoke()
boolean
isLongOrDoubleValue()
String
toString()
-
-
-
Field Detail
-
opcode
public final int opcode
-
operand
public final Integer operand
-
className
public final String className
-
fieldOrMethod
public final Instruction.FieldOrMethod fieldOrMethod
-
-
Constructor Detail
-
Instruction
public Instruction(int opcode, int operand)
-
Instruction
public Instruction(int opcode)
-
Instruction
public Instruction(int opcode, String className)
-
Instruction
public Instruction(int opcode, Instruction.FieldOrMethod fieldOrMethod)
-
-