ibis.satin.impl.syncrewriter.bcel
Class Util

java.lang.Object
  extended by ibis.satin.impl.syncrewriter.bcel.Util

public class Util
extends Object

Utility class for some typical bcel methods.


Constructor Summary
Util()
           
 
Method Summary
static boolean containsTarget(org.apache.bcel.generic.CodeExceptionGen codeExceptionGen, org.apache.bcel.generic.InstructionHandle ih)
          Tests whether an instruction is handled by an exception handler.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

containsTarget

public static boolean containsTarget(org.apache.bcel.generic.CodeExceptionGen codeExceptionGen,
                                     org.apache.bcel.generic.InstructionHandle ih)
Tests whether an instruction is handled by an exception handler.

Parameters:
codeExceptionGen - The exception handler handling the instruction
ih - The instruction handle that should be handled by the exception handler.
Returns:
true if the exception handler handles instruction handle ih; false otherwise.


The Ibis project