Class PropertyAccess
java.lang.Object
io.micronaut.expressions.parser.ast.ExpressionNode
io.micronaut.expressions.parser.ast.access.AbstractMethodCall
io.micronaut.expressions.parser.ast.access.ElementMethodCall
io.micronaut.expressions.parser.ast.access.PropertyAccess
Expression AST node used for accessing object property.
Property access is under the hood an invocation of object getter method
of respective property.
- Since:
- 4.0.0
- Author:
- Sergey Gavrilov
-
Field Summary
Fields inherited from class io.micronaut.expressions.parser.ast.access.ElementMethodCall
callee
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 TypeMethodDescriptionprotected io.micronaut.expressions.parser.ast.access.CandidateMethod
Resolves singleCandidateMethod
used by this AST node.Methods inherited from class io.micronaut.expressions.parser.ast.access.ElementMethodCall
generateBytecode, isNullSafe
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
-
PropertyAccess
-
-
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.- Overrides:
resolveUsedMethod
in classElementMethodCall
- Parameters:
ctx
- Expression compilation context- Returns:
- AST node candidate method
-