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

MONITORENTER

public class MONITORENTER extends Instruction implements ExceptionThrower, StackConsumer
MONITORENTER - Enter monitor for object
Stack: ..., objectref -> ...
version
$Id: MONITORENTER.java,v 1.1.1.1 2001/10/29 20:00:23 jvanzyl Exp $
author
M. Dahm

Fields Summary
Constructors Summary
public MONITORENTER()

    super(com.sun.org.apache.bcel.internal.Constants.MONITORENTER, (short)1);
  
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.visitStackConsumer(this);
    v.visitMONITORENTER(this);
  
public java.lang.Class[]getExceptions()

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