Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.bcel.generic
Class INVOKESPECIAL  view INVOKESPECIAL download INVOKESPECIAL.java

java.lang.Object
  extended byorg.apache.bcel.generic.Instruction
      extended byorg.apache.bcel.generic.CPInstruction
          extended byorg.apache.bcel.generic.FieldOrMethod
              extended byorg.apache.bcel.generic.InvokeInstruction
                  extended byorg.apache.bcel.generic.INVOKESPECIAL
All Implemented Interfaces:
java.lang.Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, java.io.Serializable, StackConsumer, StackProducer, TypedInstruction

public class INVOKESPECIAL
extends InvokeInstruction

INVOKESPECIAL - Invoke instance method; special handling for superclass, private and instance initialization method invocations

Stack: ..., objectref, [arg1, [arg2 ...]] -> ...

Version:
$Id: INVOKESPECIAL.java 386056 2006-03-15 11:31:56Z tcurdt $

Field Summary
 
Fields inherited from class org.apache.bcel.generic.CPInstruction
index
 
Fields inherited from class org.apache.bcel.generic.Instruction
length, opcode
 
Constructor Summary
(package private) INVOKESPECIAL()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
  INVOKESPECIAL(int index)
           
 
Method Summary
 void accept(Visitor v)
          Call corresponding visitor method(s).
 java.lang.Class[] getExceptions()
           
 
Methods inherited from class org.apache.bcel.generic.InvokeInstruction
consumeStack, getArgumentTypes, getMethodName, getReturnType, getType, produceStack, toString
 
Methods inherited from class org.apache.bcel.generic.FieldOrMethod
getClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignature
 
Methods inherited from class org.apache.bcel.generic.CPInstruction
dump, getIndex, initFromFile, setIndex, toString
 
Methods inherited from class org.apache.bcel.generic.Instruction
copy, dispose, equals, getComparator, getLength, getName, getOpcode, readInstruction, setComparator, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INVOKESPECIAL

INVOKESPECIAL()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.


INVOKESPECIAL

public INVOKESPECIAL(int index)
Method Detail

getExceptions

public java.lang.Class[] getExceptions()

accept

public void accept(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:
accept in class Instruction