Following library is causing conflicts in my Project, So i have to remove it.
compile 'org.glassfish:javax.annotation:10.0-b28'
If I remove this dependency then I have to remove these annotations from the project.
@Generated("org.jsonschema2pojo")
As of now, Its not making any impact at both run and compile time.
But I need confirmation on this. I googled this, but I still have some confusions.
Does these annotations make any impact on code? I know they must, that's why we add them,but what impact.
Will removing these can cause any minor or major impact at run time? As on compile time its not giving any warning or error message.
It depends on the type of annotation you use. In your case @Generated is just a marker annotation used to signify that the piece of code was auto-generated. Removing this will not have any impact on the behavior of your code.
Take the example of @Autowired annotation, this annotation is used to inject an object, removing it will definitely have implications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With