Top Description Constructors Methods
org.apache.bcel.generic

public Class INVOKESPECIAL

extends InvokeInstruction
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, org.apache.bcel.Const, .ExceptionConst

INVOKESPECIAL - Invoke instance method; special handling for superclass, private and instance initialization method invocations
Stack: ..., objectref, [arg1, [arg2 ...]] -> ...
See Also
The invokespecial instruction in The Java Virtual Machine Specification

Constructor Summary

AccessConstructor and Description
pack-priv
INVOKESPECIAL()

Empty constructor needed for Instruction.readInstruction.

public
INVOKESPECIAL(final int index)

Method Summary

Modifier and TypeMethod and Description
public void
accept(final Visitor
Visitor object
v
)

Implements abstract org.apache.bcel.generic.Instruction.accept.

Call corresponding visitor method(s).
public void
dump(final DataOutputStream
Output stream
out
)

Overrides org.apache.bcel.generic.CPInstruction.dump.

Dump instruction as byte code to stream out.
public Class<?>[]
Inherited from org.apache.bcel.generic.InvokeInstruction:
consumeStackgetArgumentTypesgetClassNamegetMethodNamegetReturnTypegetTypeproduceStacktoString

Constructor Detail

INVOKESPECIALback to summary
pack-priv INVOKESPECIAL()

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.

INVOKESPECIALback to summary
public INVOKESPECIAL(final int index)

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract org.apache.bcel.generic.Instruction.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, i.e., the most specific visitXXX() call comes last.

Parameters
v:Visitor

Visitor object

Annotations
@Override
dumpback to summary
public void dump(final DataOutputStream out) throws IOException

Overrides org.apache.bcel.generic.CPInstruction.dump.

Dump instruction as byte code to stream out.

Parameters
out:DataOutputStream

Output stream

Annotations
@Override
Exceptions
IOException:

Doc from org.apache.bcel.generic.Instruction.dump.

Thrown when an I/O exception of some sort has occurred.

getExceptionsback to summary
public Class<?>[] getExceptions()

Implements org.apache.bcel.generic.ExceptionThrower.getExceptions.

Annotations
@Override