Enum Class RubyEvent

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

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

    • LINE

      public static final RubyEvent LINE
    • CLASS

      public static final RubyEvent CLASS
    • END

      public static final RubyEvent END
    • CALL

      public static final RubyEvent CALL
    • RETURN

      public static final RubyEvent RETURN
    • C_CALL

      public static final RubyEvent C_CALL
    • C_RETURN

      public static final RubyEvent C_RETURN
    • B_CALL

      public static final RubyEvent B_CALL
    • B_RETURN

      public static final RubyEvent B_RETURN
    • THREAD_BEGIN

      public static final RubyEvent THREAD_BEGIN
    • THREAD_END

      public static final RubyEvent THREAD_END
    • RAISE

      public static final RubyEvent RAISE
    • COVERAGE

      public static final RubyEvent COVERAGE
    • A_CALL

      public static final RubyEvent A_CALL
    • A_RETURN

      public static final RubyEvent A_RETURN
    • RESCUE

      public static final RubyEvent RESCUE
  • Field Details

    • ALL_EVENTS

      public static final Set<RubyEvent> ALL_EVENTS
    • ALL_EVENTS_ENUMSET

      public static final EnumSet ALL_EVENTS_ENUMSET
  • Method Details

    • values

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

      public static RubyEvent valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLineNumberOffset

      @Deprecated public int getLineNumberOffset()
      Deprecated.
    • getName

      public String getName()
    • fromOrdinal

      public static RubyEvent fromOrdinal(int value)
    • fromName

      public static RubyEvent fromName(String name)
    • requiresDebug

      public boolean requiresDebug()