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 classInstruction.FieldOrMethodstatic classInstruction.InvokeDynamicInsnstatic classInstruction.LdcInsnstatic classInstruction.MultiANewArrayInsn
-
Field Summary
Fields Modifier and Type Field Description StringclassNameInstruction.FieldOrMethodfieldOrMethodintopcodeIntegeroperand
-
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 intarity()booleanequals(Object o)inthashCode()booleanhasReturnValue()booleanisInvoke()booleanisLongOrDoubleValue()StringtoString()
-
-
-
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)
-
-