public class JPermutationDependentValue extends JExpression
ResolvePermutationDependentValues
.Type | Property and Description |
---|---|
boolean |
is
Gets the value of the property property.
|
Modifier and Type | Method and Description |
---|---|
static JPermutationDependentValue |
createRuntimeProperty(JProgram program,
SourceInfo info,
String propertyName,
JExpression defaultValueExpression) |
static JPermutationDependentValue |
createTypeRebind(JProgram program,
SourceInfo info,
String requestedType,
List<String> resultTypes,
List<JExpression> instantiationExpressions) |
JExpression |
getDefaultValueExpression() |
String |
getRequestedValue() |
List<JExpression> |
getResultExpressions() |
List<String> |
getResultValues() |
JType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
boolean |
isProperty()
Gets the value of the property property.
|
boolean |
isTypeRebind() |
void |
setType(JType newType) |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeReturnStatement, makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public static JPermutationDependentValue createTypeRebind(JProgram program, SourceInfo info, String requestedType, List<String> resultTypes, List<JExpression> instantiationExpressions)
public static JPermutationDependentValue createRuntimeProperty(JProgram program, SourceInfo info, String propertyName, JExpression defaultValueExpression)
public JExpression getDefaultValueExpression()
public List<JExpression> getResultExpressions()
public String getRequestedValue()
public JType getType()
HasType
public boolean isTypeRebind()
public boolean isProperty()
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void setType(JType newType)
Copyright © 2018. All rights reserved.