Package org.apache.bcel.generic
Class NameSignatureInstruction
java.lang.Object
org.apache.bcel.generic.Instruction
org.apache.bcel.generic.CPInstruction
org.apache.bcel.generic.NameSignatureInstruction
- All Implemented Interfaces:
Cloneable,IndexedInstruction,TypedInstruction
Super class for FieldOrMethod and INVOKEDYNAMIC, since they both have names and signatures
- Since:
- 6.0
-
Field Summary
Fields inherited from class org.apache.bcel.generic.CPInstruction
indexFields inherited from class org.apache.bcel.generic.Instruction
EMPTY_ARRAY, length, opcode -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.bcel.generic.CPInstruction
dump, getIndex, getType, initFromFile, setIndex, toString, toStringMethods inherited from class org.apache.bcel.generic.Instruction
accept, consumeStack, copy, dispose, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, setLength, setOpcode, toString
-
Constructor Details
-
NameSignatureInstruction
public NameSignatureInstruction() -
NameSignatureInstruction
public NameSignatureInstruction(short opcode, int index)
-
-
Method Details
-
getName
- Returns:
- name of referenced method/field.
-
getNameAndType
-
getSignature
- Returns:
- signature of referenced method/field.
-