Top Description Fields Constructors Methods
org.apache.bcel.generic

public Class ARRAYLENGTH

extends Instruction
implements ExceptionThrower, StackProducer, StackConsumer
Class Inheritance
All Implemented Interfaces
org.apache.bcel.generic.StackConsumer, org.apache.bcel.generic.StackProducer, org.apache.bcel.generic.ExceptionThrower
Imports
org.apache.bcel.ExceptionConst

ARRAYLENGTH - Get length of array
Stack: ..., arrayref -> ..., length

Field Summary

Inherited from org.apache.bcel.generic.Instruction:
EMPTY_ARRAYlengthopcode

Constructor Summary

AccessConstructor and Description
public
ARRAYLENGTH()

Gets length of array

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 Class<?>[]

Returns:

exceptions this instruction may cause
getExceptions
()

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

Inherited from org.apache.bcel.generic.Instruction:
consumeStackcopydisposedumpequalsgetComparatorgetLengthgetNamegetOpcodehashCodeinitFromFileisValidByteisValidShortproduceStackreadInstructionsetComparatorsetLengthsetOpcodetoStringtoStringtoString

Constructor Detail

ARRAYLENGTHback to summary
public ARRAYLENGTH()

Gets length of array

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
getExceptionsback to summary
public Class<?>[] getExceptions()

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

Returns:Class<?>[]

exceptions this instruction may cause

Annotations
@Override