Class Util

  • All Implemented Interfaces:
    Opcode

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

      • Util

        public Util()
    • Method Detail

      • 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)