Package org.spockframework.compiler
Class NoSpecialMethodCall
java.lang.Object
org.spockframework.compiler.NoSpecialMethodCall
- All Implemented Interfaces:
ISpecialMethodCall
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
expand()
org.codehaus.groovy.ast.expr.ClosureExpression
boolean
boolean
boolean
isExceptionCondition
(org.codehaus.groovy.ast.expr.MethodCallExpression expr) boolean
boolean
isInteractionCall
(org.codehaus.groovy.ast.expr.MethodCallExpression expr) boolean
isMatch
(org.codehaus.groovy.ast.expr.ClosureExpression closureExpr) boolean
isMatch
(org.codehaus.groovy.ast.stmt.Statement stat) boolean
isMethodName
(String name) boolean
boolean
isOldCall
(org.codehaus.groovy.ast.expr.MethodCallExpression expr) boolean
isOneOfMethodNames
(Collection<String> names) boolean
boolean
isTestDouble
(org.codehaus.groovy.ast.expr.MethodCallExpression expr) boolean
boolean
isThrownCall
(org.codehaus.groovy.ast.expr.MethodCallExpression expr) boolean
boolean
isWithCall
(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoSpecialMethodCall
public NoSpecialMethodCall()
-
-
Method Details
-
isMethodName
- Specified by:
isMethodName
in interfaceISpecialMethodCall
-
isOneOfMethodNames
- Specified by:
isOneOfMethodNames
in interfaceISpecialMethodCall
-
isExceptionCondition
public boolean isExceptionCondition()- Specified by:
isExceptionCondition
in interfaceISpecialMethodCall
-
isThrownCall
public boolean isThrownCall()- Specified by:
isThrownCall
in interfaceISpecialMethodCall
-
isOldCall
public boolean isOldCall()- Specified by:
isOldCall
in interfaceISpecialMethodCall
-
isInteractionCall
public boolean isInteractionCall()- Specified by:
isInteractionCall
in interfaceISpecialMethodCall
-
isWithCall
public boolean isWithCall()- Specified by:
isWithCall
in interfaceISpecialMethodCall
-
isConditionBlock
public boolean isConditionBlock()- Specified by:
isConditionBlock
in interfaceISpecialMethodCall
-
isTestDouble
public boolean isTestDouble()- Specified by:
isTestDouble
in interfaceISpecialMethodCall
-
isExceptionCondition
public boolean isExceptionCondition(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isExceptionCondition
in interfaceISpecialMethodCall
-
isThrownCall
public boolean isThrownCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isThrownCall
in interfaceISpecialMethodCall
-
isOldCall
public boolean isOldCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isOldCall
in interfaceISpecialMethodCall
-
isInteractionCall
public boolean isInteractionCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isInteractionCall
in interfaceISpecialMethodCall
-
isWithCall
public boolean isWithCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isWithCall
in interfaceISpecialMethodCall
-
isTestDouble
public boolean isTestDouble(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isTestDouble
in interfaceISpecialMethodCall
-
isMatch
public boolean isMatch(org.codehaus.groovy.ast.stmt.Statement stat) - Specified by:
isMatch
in interfaceISpecialMethodCall
-
isMatch
public boolean isMatch(org.codehaus.groovy.ast.expr.ClosureExpression closureExpr) - Specified by:
isMatch
in interfaceISpecialMethodCall
-
getClosureExpr
public org.codehaus.groovy.ast.expr.ClosureExpression getClosureExpr()- Specified by:
getClosureExpr
in interfaceISpecialMethodCall
-
expand
public void expand()- Specified by:
expand
in interfaceISpecialMethodCall
-