Home > Back-end > If there is a framework can change the variable scope after annotation?
If there is a framework can change the variable scope after annotation?
Time:10-03
Such as defining @ shouldPublic annotations, compile variable scope for public
@ shouldPublic Private int value.
Through compile-time annotation to generate intermediate files Public int value.
Whether there is such a framework?
CodePudding user response:
This framework. There was an aspectj maven - plugin maven plugin can achieve similar functionality, but still don't meet your demand, your demand is too mainstream, why don't you directly to the public... Or reflection calls may be used