public void check ( Declaration decl , AnnotationProcessorEnvironment env ) { _locale = Locale . getDefault ( ) ; if ( decl instanceof TypeDeclaration ) { // // Check method annotations // Collection < ? extends MethodDeclaration > methods = ( ( TypeDeclaration ) decl ) . getMethods ( ) ; for ( MethodDeclaration method : methods ) { checkSQL ( method , env ) ; } } else if ( decl instanceof FieldDeclaration ) { // // NOOP // } else { // // NOOP // } }
Invoked by the control build - time infrastructure to process a declaration of a control extension ( ie an interface annotated with