@Concealed public class ScriptHelper extends ScriptHelper
| Constructor and Description |
|---|
ScriptHelper() |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.groovy.ast.MethodNode |
getMethodNodeForExpression(org.codehaus.groovy.ast.ClassNode node,
ExprDef exprDef) |
static org.codehaus.groovy.ast.MethodNode |
getMethodNodeForOperation(org.codehaus.groovy.ast.ClassNode node,
OperationDefinitionImpl operDef) |
static OperationDefinitionImpl |
getOperationDefinitionForMethodNode(OperationDefinitionsImpl operDefs,
org.codehaus.groovy.ast.MethodNode method) |
static ExprEval.TrustMode |
getTrustMode(org.codehaus.groovy.ast.MethodNode method) |
static ExprEval.TypeCheckedMode |
getTypeCheckedMode(org.codehaus.groovy.ast.MethodNode method) |
static java.lang.Object |
invokeMethod(java.lang.Object target,
java.lang.String name,
java.lang.Object args) |
static ExprDef |
lookupExprDef(ExprCodeSource codeSource,
org.codehaus.groovy.ast.MethodNode method) |
static void |
throwMissingMethodException(java.lang.String method,
java.lang.Object object,
java.lang.Object args)
For internal framework use only.
|
getOperationDefinitionForMethod, getOperationDefinitionForName, getOperationDefinitionForName@Concealed
public static void throwMissingMethodException(java.lang.String method,
java.lang.Object object,
java.lang.Object args)
method - The name of the methodobject - The target object of the methodargs - The arguments of the method
Throw a custom missing method exception given the supplied inputs.public static java.lang.Object invokeMethod(java.lang.Object target,
java.lang.String name,
java.lang.Object args)
@Concealed public static ExprEval.TrustMode getTrustMode(org.codehaus.groovy.ast.MethodNode method)
@Concealed public static ExprEval.TypeCheckedMode getTypeCheckedMode(org.codehaus.groovy.ast.MethodNode method)
@Concealed
public static org.codehaus.groovy.ast.MethodNode getMethodNodeForExpression(org.codehaus.groovy.ast.ClassNode node,
ExprDef exprDef)
@Concealed
public static org.codehaus.groovy.ast.MethodNode getMethodNodeForOperation(org.codehaus.groovy.ast.ClassNode node,
OperationDefinitionImpl operDef)
@Concealed public static OperationDefinitionImpl getOperationDefinitionForMethodNode(OperationDefinitionsImpl operDefs, org.codehaus.groovy.ast.MethodNode method)
@Concealed public static ExprDef lookupExprDef(ExprCodeSource codeSource, org.codehaus.groovy.ast.MethodNode method)