org.eclipse.ocl.examples.codegen.java.iteration
Class RejectIteration2Java

java.lang.Object
  extended by org.eclipse.ocl.examples.codegen.java.iteration.AbstractIteration2Java
      extended by org.eclipse.ocl.examples.codegen.java.iteration.AbstractAccumulation2Java
          extended by org.eclipse.ocl.examples.codegen.java.iteration.RejectIteration2Java
All Implemented Interfaces:
IterationHelper, Iteration2Java

public class RejectIteration2Java
extends AbstractAccumulation2Java


Field Summary
static RejectIteration2Java INSTANCE
           
 
Constructor Summary
RejectIteration2Java()
           
 
Method Summary
 boolean appendUpdate(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
          Append the code to update the accumulator
 
Methods inherited from class org.eclipse.ocl.examples.codegen.java.iteration.AbstractAccumulation2Java
appendAccumulatorInit, appendFinalValue, getAccumulator, getAccumulatorClass, getAccumulatorTypeId
 
Methods inherited from class org.eclipse.ocl.examples.codegen.java.iteration.AbstractIteration2Java
getBody, getIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

@NonNull
public static final RejectIteration2Java INSTANCE
Constructor Detail

RejectIteration2Java

public RejectIteration2Java()
Method Detail

appendUpdate

public boolean appendUpdate(@NonNull
                            JavaStream js,
                            @NonNull
                            CGBuiltInIterationCallExp cgIterationCallExp)
Description copied from interface: Iteration2Java
Append the code to update the accumulator

Returns true if control flow continues to loop again, false if terminated by a throw.