org.apache.bcel.generic

Class ARRAYLENGTH

public class ARRAYLENGTH extends Instruction implements ExceptionThrower, StackProducer

ARRAYLENGTH - Get length of array
Stack: ..., arrayref -> ..., length
Constructor Summary
ARRAYLENGTH()
Get length of array
Method Summary
voidaccept(Visitor v)
Call corresponding visitor method(s).
Class[]getExceptions()

Constructor Detail

ARRAYLENGTH

public ARRAYLENGTH()
Get length of array

Method Detail

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.

Parameters: v Visitor object

getExceptions

public Class[] getExceptions()

Returns: exceptions this instruction may cause