Package io.micronaut.core.annotation
Interface AnnotatedTypeInfo
-
public interface AnnotatedTypeInfo
An interface that provides an abstraction for checking for the existence of annotations.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getTypeName()
boolean
hasAnnotation(java.lang.String annotationName)
Checks whether an annotation for the given name exists.boolean
isAbstract()
-
-
-
Method Detail
-
isAbstract
boolean isAbstract()
- Returns:
- Is the type abstract
-
getTypeName
java.lang.String getTypeName()
- Returns:
- The name of the annotated type
-
hasAnnotation
boolean hasAnnotation(java.lang.String annotationName)
Checks whether an annotation for the given name exists.- Parameters:
annotationName
- The annotation name- Returns:
- True if it does
-
-