org.apache.bcel.generic
Class INVOKEINTERFACE
- Cloneable, ExceptionThrower, Node, java.io.Serializable, StackConsumer, StackProducer, TypedInstruction
public final class INVOKEINTERFACE
INVOKEINTERFACE - Invoke interface method
Stack: ..., objectref, [arg1, [arg2 ...]] -> ...
$Id: INVOKEINTERFACE.java,v 1.1.1.1 2001/10/29 20:00:16 jvanzyl Exp $
copy_ , dump , getAttributes , getConstantPool , getName , getNameIndex , getSignature , getSignatureIndex , setAttributes , setConstantPool , setNameIndex , setSignatureIndex |
getAccessFlags , getModifiers , isAbstract , isAbstract , isFinal , isFinal , isInterface , isInterface , isNative , isNative , isPrivate , isPrivate , isProtected , isProtected , isPublic , isPublic , isStatic , isStatic , isStrictfp , isStrictfp , isSynchronized , isSynchronized , isTransient , isTransient , isVolatile , isVolatile , setAccessFlags , setModifiers |
INVOKEINTERFACE
public INVOKEINTERFACE(int index,
int nargs)
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.
dump
public void dump(DataOutputStream out)
throws IOException
Dump instruction as byte code to stream out.
- dump in interface FieldOrMethod
getCount
public int getCount()
The count argument according to the Java Language Specification,
Second Edition.
initFromFile
protected void initFromFile(ByteSequence bytes,
boolean wide)
throws IOException
Read needed data (i.e., index) from file.