On Sunday, 18 August 2019 10:07:18 UTC+5:30, varun vikas wrote:
>
> Hi,
>
> I am going through SystemProperties.java file code in jenkins Core .
> There are many custom annotations defined there e.g 
>
> @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. 
>
>  
 
 

> so, my question is when this ReflectionUtil.java file is called and what is 
> code flow of fetching these metadata to utilize annotation information.
>
>
> Thanks,
>
> varun
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/33f7c10c-46c5-4665-9150-3faf256f60a8%40googlegroups.com.

Reply via email to