Enum Class Reachability.CanCompleteNormallyPatch

java.lang.Object
java.lang.Enum<Reachability.CanCompleteNormallyPatch>
com.google.errorprone.util.Reachability.CanCompleteNormallyPatch
All Implemented Interfaces:
Serializable, Comparable<Reachability.CanCompleteNormallyPatch>, Constable
Enclosing class:
Reachability

public static enum Reachability.CanCompleteNormallyPatch extends Enum<Reachability.CanCompleteNormallyPatch>
A replacement for the completion result of one tree, for Reachability.canCompleteNormally(StatementTree, ImmutableMap).
  • Enum Constant Details

    • CANNOT_COMPLETE_NORMALLY_SKIP_INSIDE

      public static final Reachability.CanCompleteNormallyPatch CANNOT_COMPLETE_NORMALLY_SKIP_INSIDE
      The tree cannot complete normally, and is not analyzed, so the targets of any break and continue statements it contains are not recorded.
    • CANNOT_COMPLETE_NORMALLY_ANALYZE_INSIDE

      public static final Reachability.CanCompleteNormallyPatch CANNOT_COMPLETE_NORMALLY_ANALYZE_INSIDE
      The tree cannot complete normally, but is still analyzed, so that the targets of any break and continue statements it contains are recorded.
  • Method Details

    • values

      public static Reachability.CanCompleteNormallyPatch[] 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 Reachability.CanCompleteNormallyPatch 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