Sherryl Mathew George - Iterator Pattern
Annotation processor is written for Iterator Pattern. Verifies if all annotated elements confirm to rules established for the Iterator Pattern. Annotation are checked only when a clean build is done.
The project is built using Java with Gradle. Gradle commands will work. The project is compatible with IntelliJ also.
Clone this repository to your local desktop. Make sure the cloned folder has file read/write access.
Note: In case the gradle clean fails with an error saying unable to delete files, run the below command
./gradlew --stop
This error is due to gradle daemon holding locks even after the program has quit.
To build the project from Unix command line
For Linux run the following from project root
./gradlew build
Running then above command runs the annoation processor and processes the annotations for all the implementations in the project
For Linux run the following from project root
./gradlew test
For Linux run the following from project root
./gradlew run
Running this will run the program (not the annotation processor) and shows output in the console