Modifier and type | Type and description |
---|---|
class | SARLOperationHelper.AnnotationJavaGenerationAdapter Adapter that enables to adda annotation when generating the Java code. |
class | SARLOperationHelper.SideEffectContext Context for the side effect. |
Modifier and type | Action and description |
---|---|
protected java.lang.Boolean | _hasSideEffects(SarlAssertExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(SarlBreakExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(SarlContinueExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XAbstractWhileExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XAssignment,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XBasicForLoopExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XBinaryOperation,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XBlockExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XCastedExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XCollectionLiteral,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XConstructorCall,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XFeatureCall,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XForLoopExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XIfExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XMemberFeatureCall,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XPostfixOperation,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XReturnExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XSwitchExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XSynchronizedExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XThrowExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XTryCatchFinallyExpression,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XUnaryOperation,ISideEffectContext) Test if the given expression has side effects. |
protected java.lang.Boolean | _hasSideEffects(XVariableDeclaration,ISideEffectContext) Test if the given expression has side effects. |
void | attachPureAnnotationAdapter(JvmOperation,Function2<P1,P2,Result>) |
boolean | evaluatePureAnnotationAdapters(JvmOperation) |
InferredPrototype | getInferredPrototype(XtendConstructor) Replies the inferred prototype of the given constructor. |
InferredPrototype | getInferredPrototype(XtendFunction) Replies the inferred prototype of the given operation. |
InferredPrototype | getInferredPrototype(JvmConstructor) Replies the inferred prototype of the given constructor. |
InferredPrototype | getInferredPrototype(JvmOperation) Replies the inferred prototype of the given operation. |
java.lang.Iterable<T> | getSideEffectExpressions(InferredPrototype,XExpression) |
boolean | hasSideEffects(InferredPrototype,XExpression) |
protected java.lang.Boolean | hasSideEffects(XExpression,ISideEffectContext) Determine if the given expression has a side effect. |
protected java.lang.Boolean | hasSideEffects(InferredPrototype,XExpression,ISideEffectContext) Determine if the given expression has a side effect. |
boolean | isPurableOperation(XtendFunction) |
boolean | isPureOperation(JvmOperation) |
boolean | isPureOperation(JvmOperation,ISideEffectContext) Check if the given operation is annoted with @Pure. |
protected boolean | isPureStateAmbiguous(XtendFunction) Replies if it is impossible to determine the pure state of the given function . |
protected boolean | isPureStateForbidden(XtendFunction) Replies if the given function is purable according to its modifiers and prototype. |
protected boolean | isReassignmentOperator(XBinaryOperation) Replies if the given operator is a reassignment operator. |
new
protected def _hasSideEffects(SarlAssertExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(SarlBreakExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(SarlContinueExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XAbstractWhileExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XAssignment,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XBasicForLoopExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XBinaryOperation,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XBlockExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XCastedExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XCollectionLiteral,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XConstructorCall,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XFeatureCall,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XForLoopExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XIfExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XMemberFeatureCall,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XPostfixOperation,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XReturnExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XSwitchExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XSynchronizedExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XThrowExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XTryCatchFinallyExpression,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XUnaryOperation,ISideEffectContext) : java.lang.Boolean
protected def _hasSideEffects(XVariableDeclaration,ISideEffectContext) : java.lang.Boolean
def attachPureAnnotationAdapter(JvmOperation,Function2<P1,P2,Result>)
def evaluatePureAnnotationAdapters(JvmOperation) : boolean
def getInferredPrototype(XtendConstructor) : InferredPrototype
def getInferredPrototype(XtendFunction) : InferredPrototype
def getInferredPrototype(JvmConstructor) : InferredPrototype
def getInferredPrototype(JvmOperation) : InferredPrototype
def getSideEffectExpressions(InferredPrototype,XExpression) : java.lang.Iterable<T>
def hasSideEffects(InferredPrototype,XExpression) : boolean
protected def hasSideEffects(XExpression,ISideEffectContext) : java.lang.Boolean
protected def hasSideEffects(InferredPrototype,XExpression,ISideEffectContext) : java.lang.Boolean
def isPurableOperation(XtendFunction) : boolean
def isPureOperation(JvmOperation) : boolean
def isPureOperation(JvmOperation,ISideEffectContext) : boolean
protected def isPureStateAmbiguous(XtendFunction) : boolean
protected def isPureStateForbidden(XtendFunction) : boolean
protected def isReassignmentOperator(XBinaryOperation) : boolean