public final class GetFieldExpression extends ReferenceExpression
concreteValue| Constructor and Description |
|---|
GetFieldExpression(org.objectweb.asm.Type objectType,
int instanceId,
ReferenceExpression receiverExpr,
String fieldName,
Object concreteValue)
Creates a symbolic expression of the form "expr.F" where expr is the
ReferenceExpression, F is the string fieldName
and the concrete value of the symbolic expression "expr.F" is
concreteValue |
| Modifier and Type | Method and Description |
|---|---|
<K,V> K |
accept(ExpressionVisitor<K,V> v,
V arg) |
String |
getFieldName()
Returns the field name (the F in expr.F)
|
ReferenceExpression |
getReceiverExpr()
Returns the receiver expression (the expr in expr.F)
|
Set<Variable<?>> |
getVariables()
Returns the set of all the variables in the receiver expression (the expr
in expr.F)
|
getClassName, getConcIdentityHashCode, initializeReference, isInitialized, isString, toStringcontainsSymbolicVariable, getConcreteValue, getConstants, getParent, getSize, setParentpublic GetFieldExpression(org.objectweb.asm.Type objectType,
int instanceId,
ReferenceExpression receiverExpr,
String fieldName,
Object concreteValue)
ReferenceExpression, F is the string fieldName
and the concrete value of the symbolic expression "expr.F" is
concreteValuereceiverExpr - the symbolic expression of the receiver objectfieldName - the field nameconcreteValue - the concrete object for the symbolic expression expr.Fpublic Set<Variable<?>> getVariables()
public <K,V> K accept(ExpressionVisitor<K,V> v, V arg)
public ReferenceExpression getReceiverExpr()
public String getFieldName()
Copyright © 2010–2017 EvoSuite. All rights reserved.