1 17 package org.apache.bcel.generic; 18 19 26 public class MONITORENTER extends Instruction implements ExceptionThrower, StackConsumer { 27 28 public MONITORENTER() { 29 super(org.apache.bcel.Constants.MONITORENTER, (short) 1); 30 } 31 32 33 public Class [] getExceptions() { 34 return new Class [] { 35 org.apache.bcel.ExceptionConstants.NULL_POINTER_EXCEPTION 36 }; 37 } 38 39 40 48 public void accept( Visitor v ) { 49 v.visitExceptionThrower(this); 50 v.visitStackConsumer(this); 51 v.visitMONITORENTER(this); 52 } 53 } 54 | Popular Tags |