FileDocCategorySizeDatePackage
IREM.javaAPI DocJava SE 5 API3868Fri Aug 26 14:55:22 BST 2005com.sun.org.apache.bcel.internal.generic

IREM

public class IREM extends ArithmeticInstruction implements ExceptionThrower
IREM - Remainder of int
Stack: ..., value1, value2 -> result
version
$Id: IREM.java,v 1.1.1.1 2001/10/29 20:00:17 jvanzyl Exp $
author
M. Dahm

Fields Summary
Constructors Summary
public IREM()
Remainder of ints

    super(com.sun.org.apache.bcel.internal.Constants.IREM);
  
Methods Summary
public voidaccept(com.sun.org.apache.bcel.internal.generic.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.

param
v Visitor object

    v.visitExceptionThrower(this);
    v.visitTypedInstruction(this);
    v.visitStackProducer(this);
    v.visitStackConsumer(this);
    v.visitArithmeticInstruction(this);
    v.visitIREM(this);
  
public java.lang.Class[]getExceptions()

return
exceptions this instruction may cause

    return new Class[] { com.sun.org.apache.bcel.internal.ExceptionConstants.ARITHMETIC_EXCEPTION };