public class QvtResolveUtil extends Object
Modifier and Type | Method and Description |
---|---|
static AssignExp |
getDeferredAssignmentFor(ResolveExp resolveExp)
Gets deferred assignment used with the given resolve expression which is
to be executed in the end of the transformation.
|
static boolean |
hasDeferredRightSideValue(AssignExp assignExp)
Indicates whether the given assignment has late resolved right value and
is to be executed as deferred assignment.
|
static boolean |
isSuppportedAsDeferredAssigned(ResolveExp resolveExp)
Indicates whether the given resolve expression can be used in conjunction
with deferred assignment.
|
static Object |
resolveInNow(ResolveInExp resolveInExp,
QvtOperationalEvaluationVisitor visitor,
QvtOperationalEvaluationEnv env) |
static Object |
resolveNow(ResolveExp resolveExp,
QvtOperationalEvaluationVisitor visitor,
QvtOperationalEvaluationEnv env) |
public static boolean hasDeferredRightSideValue(AssignExp assignExp)
resolveExp
- the resolve expression to analyzetrue
if the assignment is to receive a future
value from late resolve; false
otherwisepublic static boolean isSuppportedAsDeferredAssigned(ResolveExp resolveExp)
Note: The late resolve call result is assigned at deferred time if is assigned
to a property directly or by calling a single ->as...
collection type
conversion method.
resolveExp
- the resolve expression to analyze.true
if there is a supported deferred assignment
to receive the future value; false
otherwise.getDeferredAssignmentFor(ResolveExp)
public static AssignExp getDeferredAssignmentFor(ResolveExp resolveExp)
resolveExp
- a resolve expressionnull
is returned.public static final Object resolveNow(ResolveExp resolveExp, QvtOperationalEvaluationVisitor visitor, QvtOperationalEvaluationEnv env)
public static final Object resolveInNow(ResolveInExp resolveInExp, QvtOperationalEvaluationVisitor visitor, QvtOperationalEvaluationEnv env)
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.