Class NeverFlattenCallPredicate

java.lang.Object
tools.refinery.interpreter.matchers.psystem.rewriters.NeverFlattenCallPredicate
All Implemented Interfaces:
IFlattenCallPredicate

public class NeverFlattenCallPredicate extends Object implements IFlattenCallPredicate
Since:
1.4
  • Constructor Details

    • NeverFlattenCallPredicate

      public NeverFlattenCallPredicate()
  • Method Details

    • shouldFlatten

      public boolean shouldFlatten(PositivePatternCall positivePatternCall)
      Description copied from interface: IFlattenCallPredicate
      Decides whether the called query by the pattern call should be flattened into the caller or not.
      Specified by:
      shouldFlatten in interface IFlattenCallPredicate
      Parameters:
      positivePatternCall - the pattern call
      Returns:
      true if the call should be flattened