org.apache.bcel.generic
Class INVOKESPECIAL

java.lang.Object
  extended by org.apache.bcel.generic.Instruction
      extended by org.apache.bcel.generic.CPInstruction
          extended by org.apache.bcel.generic.FieldOrMethod
              extended by org.apache.bcel.generic.InvokeInstruction
                  extended by org.apache.bcel.generic.INVOKESPECIAL
All Implemented Interfaces:
Serializable, Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, 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 $
See Also:
Serialized Form

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
INVOKESPECIAL(int index)
           
 
Method Summary
 void accept(Visitor v)
          Call corresponding visitor method(s).
 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, 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

public INVOKESPECIAL(int index)
Method Detail

getExceptions

public 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
Parameters:
v - Visitor object


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.