protected List < Map < String , ? > > generateAnnotations ( ) { final List < Map < String , ? > > list = new ArrayList <> ( ) ; list . add ( pattern ( it -> { it . matches ( "\\@[_a-zA-Z$][_0-9a-zA-Z$]*" ) ; //$NON-NLS-1$ it . style ( ANNOTATION_STYLE ) ; it . comment ( "Annotations" ) ; //$NON-NLS-1$ } ) ) ; return list ; }
Generate the rules for the annotations .