I am going through SystemProperties.java file code in jenkins Core .
@SuppressFBWarnings(value = "ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD", justification = "Currently Jenkins instance may have one ond only one context")
@Restricted(NoExternalUse.class)
Above annotations are defined in SuppressFBWarnings.class and Restricted.class.
Till now, we have only created the annotation and then used it. The main reason we are using annotations are because they are metadata. So it means we should be able to fetch this metadata to utilize the annotation information when we need it.
It seems, code of Fetching metadata is written in hudson.util.ReflectionUtils.java file.