ISpecialMethodCallpublic class NoSpecialMethodCall extends java.lang.Object implements ISpecialMethodCall
| Modifier and Type | Field | Description |
|---|---|---|
static ISpecialMethodCall |
INSTANCE |
| Constructor | Description |
|---|---|
NoSpecialMethodCall() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
expand() |
|
org.codehaus.groovy.ast.expr.ClosureExpression |
getClosureExpr() |
|
boolean |
isConditionBlock() |
|
boolean |
isExceptionCondition() |
|
boolean |
isExceptionCondition(org.codehaus.groovy.ast.expr.MethodCallExpression expr) |
|
boolean |
isInteractionCall() |
|
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(java.lang.String name) |
|
boolean |
isOldCall() |
|
boolean |
isOldCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) |
|
boolean |
isOneOfMethodNames(java.util.Collection<java.lang.String> names) |
|
boolean |
isTestDouble() |
|
boolean |
isTestDouble(org.codehaus.groovy.ast.expr.MethodCallExpression expr) |
|
boolean |
isThrownCall() |
|
boolean |
isThrownCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) |
|
boolean |
isWithCall() |
|
boolean |
isWithCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr) |
public static final ISpecialMethodCall INSTANCE
public boolean isMethodName(java.lang.String name)
isMethodName in interface ISpecialMethodCallpublic boolean isOneOfMethodNames(java.util.Collection<java.lang.String> names)
isOneOfMethodNames in interface ISpecialMethodCallpublic boolean isExceptionCondition()
isExceptionCondition in interface ISpecialMethodCallpublic boolean isThrownCall()
isThrownCall in interface ISpecialMethodCallpublic boolean isOldCall()
isOldCall in interface ISpecialMethodCallpublic boolean isInteractionCall()
isInteractionCall in interface ISpecialMethodCallpublic boolean isWithCall()
isWithCall in interface ISpecialMethodCallpublic boolean isConditionBlock()
isConditionBlock in interface ISpecialMethodCallpublic boolean isTestDouble()
isTestDouble in interface ISpecialMethodCallpublic boolean isExceptionCondition(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
isExceptionCondition in interface ISpecialMethodCallpublic boolean isThrownCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
isThrownCall in interface ISpecialMethodCallpublic boolean isOldCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
isOldCall in interface ISpecialMethodCallpublic boolean isInteractionCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
isInteractionCall in interface ISpecialMethodCallpublic boolean isWithCall(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
isWithCall in interface ISpecialMethodCallpublic boolean isTestDouble(org.codehaus.groovy.ast.expr.MethodCallExpression expr)
isTestDouble in interface ISpecialMethodCallpublic boolean isMatch(org.codehaus.groovy.ast.stmt.Statement stat)
isMatch in interface ISpecialMethodCallpublic boolean isMatch(org.codehaus.groovy.ast.expr.ClosureExpression closureExpr)
isMatch in interface ISpecialMethodCallpublic org.codehaus.groovy.ast.expr.ClosureExpression getClosureExpr()
getClosureExpr in interface ISpecialMethodCallpublic void expand()
expand in interface ISpecialMethodCallCopyright © 2018. All rights reserved