Package org.spockframework.compiler
Class NoSpecialMethodCall
- java.lang.Object
-
- org.spockframework.compiler.NoSpecialMethodCall
-
- All Implemented Interfaces:
ISpecialMethodCall
public class NoSpecialMethodCall extends java.lang.Object implements ISpecialMethodCall
-
-
Field Summary
Fields Modifier and Type Field Description static ISpecialMethodCallINSTANCE
-
Constructor Summary
Constructors Constructor Description NoSpecialMethodCall()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexpand()org.codehaus.groovy.ast.expr.ClosureExpressiongetClosureExpr()booleanisConditionBlock()booleanisExceptionCondition()booleanisExceptionCondition(org.codehaus.groovy.ast.expr.MethodCallExpression expr)booleanisInteractionCall()booleanisInteractionCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)booleanisMatch(org.codehaus.groovy.ast.expr.ClosureExpression closureExpr)booleanisMatch(org.codehaus.groovy.ast.stmt.Statement stat)booleanisMethodName(java.lang.String name)booleanisOldCall()booleanisOldCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)booleanisOneOfMethodNames(java.util.Collection<java.lang.String> names)booleanisTestDouble()booleanisTestDouble(org.codehaus.groovy.ast.expr.MethodCallExpression expr)booleanisThrownCall()booleanisThrownCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)booleanisWithCall()booleanisWithCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
-
-
-
Field Detail
-
INSTANCE
public static final ISpecialMethodCall INSTANCE
-
-
Method Detail
-
isMethodName
public boolean isMethodName(java.lang.String name)
- Specified by:
isMethodNamein interfaceISpecialMethodCall
-
isOneOfMethodNames
public boolean isOneOfMethodNames(java.util.Collection<java.lang.String> names)
- 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
-
-