Package io.micronaut.inject.ast
Interface ElementQuery.Result<T extends Element>
- Type Parameters:
T
- The element type.
- Enclosing interface:
- ElementQuery<T extends Element>
public static interface ElementQuery.Result<T extends Element>
Result interface when building a query.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Method Details
-
isOnlyAbstract
boolean isOnlyAbstract()- Returns:
- Whether to return only abstract methods
-
isOnlyInjected
boolean isOnlyInjected()- Returns:
- Whether to return only injection points
-
isOnlyConcrete
boolean isOnlyConcrete()- Returns:
- Whether to return only concrete methods
-
getElementType
- Returns:
- The element type
-
isOnlyAccessible
boolean isOnlyAccessible()- Returns:
- Whether to return only accessible members
-
getOnlyAccessibleFromType
Optional<ClassElement> getOnlyAccessibleFromType()- Returns:
- Get the type this element is only accessible from.
-
isOnlyDeclared
boolean isOnlyDeclared()- Returns:
- Whether to declare only declared members
-
isOnlyInstance
boolean isOnlyInstance()- Returns:
- Whether to return only instance methods
-
isOnlyStatic
boolean isOnlyStatic()- Returns:
- Whether to return only static methods / fields
- Since:
- 4.0.0
-
isIncludeEnumConstants
boolean isIncludeEnumConstants()- Returns:
- Whether to include enum constants
- Since:
- 3.4.0
-
isIncludeOverriddenMethods
boolean isIncludeOverriddenMethods()- Returns:
- Whether to include overridden methods
- Since:
- 3.4.0
-
isIncludeHiddenElements
boolean isIncludeHiddenElements()- Returns:
- Whether to include hidden methods/fields
- Since:
- 3.4.0
-
isExcludePropertyElements
boolean isExcludePropertyElements()- Returns:
- Whether to exclude property elements
- Since:
- 4.0.0
-
getNamePredicates
- Returns:
- The name predicates
-
getTypePredicates
- Returns:
- The name predicates
- Since:
- 3.0.0
-
getAnnotationPredicates
- Returns:
- The annotation predicates
-
getModifierPredicates
- Returns:
- The modifier predicate
-
getElementPredicates
- Returns:
- The element predicates
-