Class PrecedenceChecks.Context

java.lang.Object
uk.co.real_logic.sbe.generation.common.PrecedenceChecks.Context
Enclosing class:
PrecedenceChecks

public static final class PrecedenceChecks.Context extends Object
The context describing how precedence checks should be generated.
  • Constructor Details

    • Context

      public Context()
  • Method Details

    • shouldGeneratePrecedenceChecks

      public boolean shouldGeneratePrecedenceChecks()
      Returns true if precedence checks should be generated; false otherwise.
      Returns:
      true if precedence checks should be generated; false otherwise.
    • shouldGeneratePrecedenceChecks

      public PrecedenceChecks.Context shouldGeneratePrecedenceChecks(boolean shouldGeneratePrecedenceChecks)
      Sets whether field precedence checks should be generated.
      Parameters:
      shouldGeneratePrecedenceChecks - true if precedence checks should be generated; false otherwise.
      Returns:
      this PrecedenceChecks.Context instance.
    • precedenceChecksFlagName

      public String precedenceChecksFlagName()
      Returns the name of the flag that can be used to enable precedence checks at runtime.
      Returns:
      the name of the flag that can be used to enable precedence checks at runtime.
    • precedenceChecksFlagName

      public PrecedenceChecks.Context precedenceChecksFlagName(String precedenceChecksFlagName)
      Sets the name of the flag that can be used to enable precedence checks at runtime.
      Parameters:
      precedenceChecksFlagName - the name of the flag that can be used to enable precedence checks at runtime.
      Returns:
      this PrecedenceChecks.Context instance.
    • precedenceChecksPropName

      public String precedenceChecksPropName()
      Returns the name of the system property that can be used to enable precedence checks at runtime.
      Returns:
      the name of the system property that can be used to enable precedence checks at runtime.
    • precedenceChecksPropName

      public PrecedenceChecks.Context precedenceChecksPropName(String precedenceChecksPropName)
      Sets the name of the system property that can be used to enable precedence checks at runtime.
      Parameters:
      precedenceChecksPropName - the name of the system property that can be used to enable precedence checks at runtime.
      Returns:
      this PrecedenceChecks.Context instance.
    • conclude

      public void conclude()
      Validates this PrecedenceChecks.Context instance.