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 TypeMethodDescriptionvoidexpand()org.codehaus.groovy.ast.expr.ClosureExpressionbooleanbooleanbooleanisExceptionCondition(org.codehaus.groovy.ast.expr.MethodCallExpression expr) booleanbooleanisInteractionCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) booleanisMatch(org.codehaus.groovy.ast.expr.ClosureExpression closureExpr) booleanisMatch(org.codehaus.groovy.ast.stmt.Statement stat) booleanisMethodName(String name) booleanbooleanisOldCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) booleanisOneOfMethodNames(Collection<String> names) booleanbooleanisTestDouble(org.codehaus.groovy.ast.expr.MethodCallExpression expr) booleanbooleanisThrownCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) booleanbooleanisWithCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoSpecialMethodCall
public NoSpecialMethodCall()
-
-
Method Details
-
isMethodName
- Specified by:
isMethodNamein interfaceISpecialMethodCall
-
isOneOfMethodNames
- Specified by:
isOneOfMethodNamesin interfaceISpecialMethodCall
-
isExceptionCondition
public boolean isExceptionCondition()- Specified by:
isExceptionConditionin interfaceISpecialMethodCall
-
isThrownCall
public boolean isThrownCall()- Specified by:
isThrownCallin interfaceISpecialMethodCall
-
isOldCall
public boolean isOldCall()- Specified by:
isOldCallin interfaceISpecialMethodCall
-
isInteractionCall
public boolean isInteractionCall()- Specified by:
isInteractionCallin interfaceISpecialMethodCall
-
isWithCall
public boolean isWithCall()- Specified by:
isWithCallin interfaceISpecialMethodCall
-
isConditionBlock
public boolean isConditionBlock()- Specified by:
isConditionBlockin interfaceISpecialMethodCall
-
isTestDouble
public boolean isTestDouble()- Specified by:
isTestDoublein interfaceISpecialMethodCall
-
isExceptionCondition
public boolean isExceptionCondition(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isExceptionConditionin interfaceISpecialMethodCall
-
isThrownCall
public boolean isThrownCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isThrownCallin interfaceISpecialMethodCall
-
isOldCall
public boolean isOldCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isOldCallin interfaceISpecialMethodCall
-
isInteractionCall
public boolean isInteractionCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isInteractionCallin interfaceISpecialMethodCall
-
isWithCall
public boolean isWithCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isWithCallin interfaceISpecialMethodCall
-
isTestDouble
public boolean isTestDouble(org.codehaus.groovy.ast.expr.MethodCallExpression expr) - Specified by:
isTestDoublein interfaceISpecialMethodCall
-
isMatch
public boolean isMatch(org.codehaus.groovy.ast.stmt.Statement stat) - Specified by:
isMatchin interfaceISpecialMethodCall
-
isMatch
public boolean isMatch(org.codehaus.groovy.ast.expr.ClosureExpression closureExpr) - Specified by:
isMatchin interfaceISpecialMethodCall
-
getClosureExpr
public org.codehaus.groovy.ast.expr.ClosureExpression getClosureExpr()- Specified by:
getClosureExprin interfaceISpecialMethodCall
-
expand
public void expand()- Specified by:
expandin interfaceISpecialMethodCall
-