Interface AnnotatedTypeInfo


public interface AnnotatedTypeInfo
An interface that provides an abstraction for checking for the existence of annotations.
Since:
1.0
Author:
Graeme Rocher
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    hasAnnotation(String annotationName)
    Checks whether an annotation for the given name exists.
    boolean
     
  • Method Details

    • isAbstract

      boolean isAbstract()
      Returns:
      Is the type abstract
    • getTypeName

      String getTypeName()
      Returns:
      The name of the annotated type
    • hasAnnotation

      boolean hasAnnotation(String annotationName)
      Checks whether an annotation for the given name exists.
      Parameters:
      annotationName - The annotation name
      Returns:
      True if it does