Package io.micronaut.core.annotation
Interface AnnotatedTypeInfo
-
public interface AnnotatedTypeInfoAn 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.StringgetTypeName()booleanhasAnnotation(java.lang.String annotationName)Checks whether an annotation for the given name exists.booleanisAbstract()
-
-
-
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
-
-