public class MethodMatchContext extends MatchContext
methodElement, parameters, returnType, typeRoles, visitorContext
Modifier and Type | Method and Description |
---|---|
SourcePersistentEntity |
getEntity(io.micronaut.inject.ast.ClassElement element)
Resolves an entity.
|
java.util.Map<java.lang.String,io.micronaut.inject.ast.Element> |
getParametersInRole() |
java.util.List<io.micronaut.inject.ast.ParameterElement> |
getParametersNotInRole()
Returns a list of parameters that are not fulfilling a specific query role.
|
SourcePersistentEntity |
getRootEntity()
The root entity being queried.
|
boolean |
hasParameterInRole(java.lang.String role)
Check whether a parameter is available in the given role.
|
fail, getAnnotationMetadata, getMethodElement, getParameters, getQueryBuilder, getRepositoryClass, getReturnType, getUnableToImplementMessage, getVisitorContext, isFailing, isTypeInRole, supportsImplicitQueries
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
public boolean hasParameterInRole(@NonNull java.lang.String role)
role
- The role@NonNull public java.util.Map<java.lang.String,io.micronaut.inject.ast.Element> getParametersInRole()
@NonNull public SourcePersistentEntity getRootEntity()
@NonNull public java.util.List<io.micronaut.inject.ast.ParameterElement> getParametersNotInRole()
@NonNull public SourcePersistentEntity getEntity(@NonNull io.micronaut.inject.ast.ClassElement element)
element
- The element