Package io.micronaut.expressions.context
Interface ExpressionEvaluationContext
- All Known Subinterfaces:
ExtensibleExpressionEvaluationContext
- All Known Implementing Classes:
DefaultExpressionEvaluationContext
Compilation context is a set of entries which can be referenced in evaluated expression
using the '#' sign followed by entry name.
- Since:
- 4.0.0
- Author:
- Sergey Gavrilov
-
Method Summary
Modifier and TypeMethodDescriptionfindMethods
(@NonNull String name) Search methods in compilation context by name.findParameters
(@NonNull String name) Search method parameters in compilation context by name.findProperties
(@NonNull String name) Search bean properties in compilation context by name.findThis()
-
Method Details
-
findThis
- Returns:
- Find the type that represents this.
-
findMethods
Search methods in compilation context by name.- Parameters:
name
- searched method name- Returns:
- list of methods with provided name
-
findProperties
Search bean properties in compilation context by name.- Parameters:
name
- searched property name- Returns:
- list of properties with provided name
-
findParameters
Search method parameters in compilation context by name.- Parameters:
name
- searched parameter name- Returns:
- list of parameters with provided name
-