Class INVOKESTATIC
java.lang.Object
org.apache.bcel.generic.Instruction
org.apache.bcel.generic.CPInstruction
org.apache.bcel.generic.FieldOrMethod
org.apache.bcel.generic.InvokeInstruction
org.apache.bcel.generic.INVOKESTATIC
- All Implemented Interfaces:
Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, StackConsumer, StackProducer, TypedInstruction
INVOKESTATIC - Invoke a class (static) method
Stack: ..., [arg1, [arg2 ...]] -> ...
- See Also:
-
Field Summary
Fields inherited from class CPInstruction
indexFields inherited from class Instruction
length, opcode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCall corresponding visitor method(s).voiddump(DataOutputStream out) Dumps instruction as byte code to stream out.Class<?>[]Gets the exceptions that may be thrown by this instruction.Methods inherited from class InvokeInstruction
consumeStack, getArgumentTypes, getClassName, getMethodName, getReturnType, getType, produceStack, toStringMethods inherited from class FieldOrMethod
getClassType, getLoadClassType, getName, getReferenceType, getSignatureMethods inherited from class CPInstruction
getIndex, initFromFile, setIndex, toStringMethods inherited from class Instruction
copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, readInstruction, setComparator, toString
-
Constructor Details
-
INVOKESTATIC
-
-
Method Details
-
accept
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, that is, the most specific visitXXX() call comes last.- Specified by:
acceptin classInstruction- Parameters:
v- Visitor object.
-
dump
Dumps instruction as byte code to stream out.- Overrides:
dumpin classCPInstruction- Parameters:
out- Output stream.- Throws:
IOException- Thrown when an I/O exception of some sort has occurred.
-
getExceptions
Description copied from interface:ExceptionThrowerGets the exceptions that may be thrown by this instruction.- Returns:
- the exceptions that may be thrown by this instruction.
-