Package randoop.condition.specification
Class AbstractBooleanExpression
- java.lang.Object
-
- randoop.condition.specification.AbstractBooleanExpression
-
-
Field Summary
Fields Modifier and Type Field Description private String
conditionSource
The text of the Java code for this expression.private String
description
The description of the expression.
-
Constructor Summary
Constructors Modifier Constructor Description private
AbstractBooleanExpression()
Gson serialization requires a default constructor.(package private)
AbstractBooleanExpression(String description, String conditionSource)
Creates aAbstractBooleanExpression
with the given description and condition source code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getConditionSource()
Return the condition text for thisAbstractBooleanExpression
.String
getDescription()
Return the description of thisAbstractBooleanExpression
.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
AbstractBooleanExpression
private AbstractBooleanExpression()
Gson serialization requires a default constructor.
-
AbstractBooleanExpression
AbstractBooleanExpression(String description, String conditionSource)
Creates aAbstractBooleanExpression
with the given description and condition source code.- Parameters:
description
- the description of this boolean conditionconditionSource
- the text of the Java code for the created condition
-
-
Method Detail
-
getDescription
public String getDescription()
Return the description of thisAbstractBooleanExpression
.- Returns:
- the description of this condition
-
getConditionSource
public String getConditionSource()
Return the condition text for thisAbstractBooleanExpression
.- Returns:
- the Java source code for this condition
-
-