Recently read up on JCIP annotations and they seem cool. Went to the website and took a look at the source. The only problem is that the src jar just contains the annotations…I’m not seeing where I can find the annotation processors that actually do anything! Am I just looking in the wrong place, or are these not real Java annotations (meaning, is there no way to enforce @Immutable when it is used to mark a class)?
@Immutable@GuardedBy
FindBugs supports those annotations. The support for those annotations and others is described in this documentation page.