public List < String > getAnnotations ( ) { if ( attribute . getColumnConfig ( ) . getCustomAnnotations ( ) == null ) { return newArrayList ( ) ; } AnnotationBuilder builder = new AnnotationBuilder ( ) ; for ( CustomAnnotation ca : attribute . getColumnConfig ( ) . getCustomAnnotations ( ) ) { addImport ( ca . extractAnnotationImport ( ) ) ; builder . add ( ca . getAnnotation ( ) ) ; } return builder . getAnnotations ( ) ; }
Return the custom annotations declared in the configuration .