Class Util

java.lang.Object
javassist.bytecode.analysis.Util
All Implemented Interfaces:
Opcode

public class Util extends Object implements Opcode
A set of common utility methods.
Author:
Jason T. Greene
  • Constructor Details

    • Util

      public Util()
  • Method Details

    • getJumpTarget

      public static int getJumpTarget(int pos, CodeIterator iter)
    • isJumpInstruction

      public static boolean isJumpInstruction(int opcode)
    • isGoto

      public static boolean isGoto(int opcode)
    • isJsr

      public static boolean isJsr(int opcode)
    • isReturn

      public static boolean isReturn(int opcode)