java - APT (Annotation Processing Tool) -
i trying find simple example understand usage of apt command, couldn't find helpful resource this.
i have referred getting started annotation processing tool high level understanding. want write code test apt command. can post simple example or better link refer?
here's example of creating note
annotation , associated processor:
apt: compile-time annotation processing java
update. of java 1.7:
jsr 269, known language model api, has 2 basic pieces: api models java programming language, , api writing annotation processors. functionality accessed through new options javac command; including jsr 269 support, javac acts analogously apt command in jdk 5.
Comments
Post a Comment