Enum EndAt

java.lang.Object
java.lang.Enum<EndAt>
org.blocktest.types.EndAt
All Implemented Interfaces:
Serializable, Comparable<EndAt>, java.lang.constant.Constable

public enum EndAt extends Enum<EndAt>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    For a given block test, stop at the first assignment of (TODO: all?)
    For a given block test, stop after observing the first construct with a block body following/preceding the block test.
    For a given block test, stop at the first return statement following/preceding the block test.
    For a given block test, stop at the first statement following/preceding the block test.
    For a given block test, stop at the first throw statement following/preceding the block test.
    For a given block test, stop at the end of the lambda under test.
    For a given block test, stop at the last reference of the variable(s) in the assignment clauses following/preceding the block test.
  • Method Summary

    Modifier and Type
    Method
    Description
    static EndAt
    Returns the enum constant of this type with the specified name.
    static EndAt[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • LAMBDA

      public static final EndAt LAMBDA
      For a given block test, stop at the end of the lambda under test. TODO: Check if this is accurate.
    • FIRST_ASSIGN

      public static final EndAt FIRST_ASSIGN
      For a given block test, stop at the first assignment of (TODO: all?) the variable(s) in the assignment clauses following/preceding the block test.
    • FIRST_BLOCK

      public static final EndAt FIRST_BLOCK
      For a given block test, stop after observing the first construct with a block body following/preceding the block test.
    • FIRST_RETURN

      public static final EndAt FIRST_RETURN
      For a given block test, stop at the first return statement following/preceding the block test. TODO: Does preceding make sense in this case?
    • FIRST_THROW

      public static final EndAt FIRST_THROW
      For a given block test, stop at the first throw statement following/preceding the block test. TODO: Does preceding make sense in this case?
    • LAST_REFERENCE

      public static final EndAt LAST_REFERENCE
      For a given block test, stop at the last reference of the variable(s) in the assignment clauses following/preceding the block test.
    • FIRST_STATEMENT

      public static final EndAt FIRST_STATEMENT
      For a given block test, stop at the first statement following/preceding the block test. TODO: Does this encompass the functionalities of inline tests?
  • Method Details

    • values

      public static EndAt[] 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 EndAt 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