Package edu.umd.cs.findbugs.bcel.generic
Class NullnessConversationInstruction
- java.lang.Object
-
- org.apache.bcel.generic.Instruction
-
- org.apache.bcel.generic.ConversionInstruction
-
- edu.umd.cs.findbugs.bcel.generic.NullnessConversationInstruction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.apache.bcel.generic.StackConsumer,org.apache.bcel.generic.StackProducer,org.apache.bcel.generic.TypedInstruction
public abstract class NullnessConversationInstruction extends org.apache.bcel.generic.ConversionInstructionA synthetic instruction that converts a the nullness of a reference to a boolean value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNullnessConversationInstruction(short opcode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.apache.bcel.generic.Visitor v)Call corresponding visitor method(s).intconsumeStack(org.apache.bcel.generic.ConstantPoolGen cpg)org.apache.bcel.generic.TypegetType(org.apache.bcel.generic.ConstantPoolGen cp)inthashCode()intproduceStack(org.apache.bcel.generic.ConstantPoolGen cpg)
-
-
-
Method Detail
-
getType
public org.apache.bcel.generic.Type getType(org.apache.bcel.generic.ConstantPoolGen cp)
- Specified by:
getTypein interfaceorg.apache.bcel.generic.TypedInstruction- Overrides:
getTypein classorg.apache.bcel.generic.ConversionInstruction
-
consumeStack
public int consumeStack(org.apache.bcel.generic.ConstantPoolGen cpg)
- Specified by:
consumeStackin interfaceorg.apache.bcel.generic.StackConsumer- Overrides:
consumeStackin classorg.apache.bcel.generic.Instruction
-
produceStack
public int produceStack(org.apache.bcel.generic.ConstantPoolGen cpg)
- Specified by:
produceStackin interfaceorg.apache.bcel.generic.StackProducer- Overrides:
produceStackin classorg.apache.bcel.generic.Instruction
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.apache.bcel.generic.Instruction
-
accept
public void accept(org.apache.bcel.generic.Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.- Specified by:
acceptin classorg.apache.bcel.generic.Instruction- Parameters:
v- Visitor object
-
-