Class ContextMethodCall
java.lang.Object
io.micronaut.expressions.parser.ast.ExpressionNode
io.micronaut.expressions.parser.ast.access.AbstractMethodCall
io.micronaut.expressions.parser.ast.access.ContextMethodCall
Expression node used for invocation of method from expression
evaluation context.
- Since:
- 4.0.0
- Author:
- Sergey Gavrilov
-
Field Summary
Fields inherited from class io.micronaut.expressions.parser.ast.access.AbstractMethodCall
arguments, name, usedMethod
Fields inherited from class io.micronaut.expressions.parser.ast.ExpressionNode
classElement, nodeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Generates bytecode for this AST node.protected io.micronaut.expressions.parser.ast.access.CandidateMethod
Resolves singleCandidateMethod
used by this AST node.Methods inherited from class io.micronaut.expressions.parser.ast.access.AbstractMethodCall
compileArguments, doResolveClassElement, doResolveType, prepareVarargsArguments, resolveArgumentTypes, stringifyArguments, toCandidateMethod
Methods inherited from class io.micronaut.expressions.parser.ast.ExpressionNode
compile, resolveClassElement, resolveType
-
Constructor Details
-
ContextMethodCall
-
-
Method Details
-
resolveUsedMethod
protected io.micronaut.expressions.parser.ast.access.CandidateMethod resolveUsedMethod(ExpressionVisitorContext ctx) Description copied from class:AbstractMethodCall
Resolves singleCandidateMethod
used by this AST node.- Specified by:
resolveUsedMethod
in classAbstractMethodCall
- Parameters:
ctx
- Expression compilation context- Returns:
- AST node candidate method
-
generateBytecode
Description copied from class:ExpressionNode
Generates bytecode for this AST node.- Specified by:
generateBytecode
in classExpressionNode
- Parameters:
ctx
- expression compilation context
-