ag --java -Ui "@*" 

does already include the findings like @Controller @PointCut @Entity but also a lot of content around the findings.

I'm trying to filter out all annotations used in several java spring projects.

I tried to add -o as argument but then for some reason it does not print most of the findings anymore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.