Enum FrameType

java.lang.Object
java.lang.Enum<FrameType>
org.jruby.runtime.backtrace.FrameType
All Implemented Interfaces:
Serializable, Comparable<FrameType>, java.lang.constant.Constable

public enum FrameType extends Enum<FrameType>
  • Enum Constant Details

    • METHOD

      public static final FrameType METHOD
    • BLOCK

      public static final FrameType BLOCK
    • EVAL

      public static final FrameType EVAL
    • CLASS

      public static final FrameType CLASS
    • MODULE

      public static final FrameType MODULE
    • METACLASS

      public static final FrameType METACLASS
    • ROOT

      public static final FrameType ROOT
    • VARARGS_WRAPPER

      public static final FrameType VARARGS_WRAPPER
  • Field Details

    • INTERPRETED_CLASSES

      private static final HashSet<String> INTERPRETED_CLASSES
  • Constructor Details

    • FrameType

      private FrameType()
  • Method Details

    • values

      public static FrameType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FrameType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isInterpreterFrame

      public static boolean isInterpreterFrame(String className, String methodName)
    • getInterpreterFrame

      public static FrameType getInterpreterFrame(String methodName)
    • getInterpreterFrame

      public static FrameType getInterpreterFrame(String className, String methodName)