Dynamisches Include

Beispiel:

  new IntGreater( 10 ) // x > 10

inkludiert

  new IntGreater( 0 ) // x > 0


Abstrakte Methode zum Mitteilen der
Includierung an den Code-Generator:

  public boolean isImplicated(
          final PrimitivPredicate otherPredicateToCheck ) {
      return
          ( otherPredicateToCheck instanceof IntGreater ) &&
          this.intGtValue >= ( (IntGreater) otherPredicateToCheck ).intGtValue;
  }
Anfang weiter