├── .gitignore ├── .idea ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── gradle.xml ├── markdown-navigator │ └── profiles_settings.xml ├── misc.xml ├── modules.xml └── runConfigurations.xml ├── README.md ├── annotator ├── .gitignore ├── build.gradle └── src │ └── main │ └── java │ └── com │ └── factorybuilder │ ├── Factory.java │ ├── FactoryAnnotatedCls.java │ ├── FactoryCodeBuilder.java │ ├── FactoryProcesser.java │ └── ProcessingException.java ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── annotation │ │ └── demo │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── annotation │ │ │ └── demo │ │ │ ├── MainActivity.java │ │ │ └── factorys │ │ │ ├── Apple.java │ │ │ ├── IFruit.java │ │ │ ├── Orange.java │ │ │ ├── Pear.java │ │ │ └── Persimmon.java │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── annotation │ └── demo │ └── cxp │ └── demo │ └── ExampleUnitTest.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.idea/copyright/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/markdown-navigator/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.idea/markdown-navigator/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/README.md -------------------------------------------------------------------------------- /annotator/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /annotator/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/annotator/build.gradle -------------------------------------------------------------------------------- /annotator/src/main/java/com/factorybuilder/Factory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/annotator/src/main/java/com/factorybuilder/Factory.java -------------------------------------------------------------------------------- /annotator/src/main/java/com/factorybuilder/FactoryAnnotatedCls.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/annotator/src/main/java/com/factorybuilder/FactoryAnnotatedCls.java -------------------------------------------------------------------------------- /annotator/src/main/java/com/factorybuilder/FactoryCodeBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/annotator/src/main/java/com/factorybuilder/FactoryCodeBuilder.java -------------------------------------------------------------------------------- /annotator/src/main/java/com/factorybuilder/FactoryProcesser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/annotator/src/main/java/com/factorybuilder/FactoryProcesser.java -------------------------------------------------------------------------------- /annotator/src/main/java/com/factorybuilder/ProcessingException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/annotator/src/main/java/com/factorybuilder/ProcessingException.java -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/annotation/demo/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/androidTest/java/annotation/demo/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/annotation/demo/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/java/annotation/demo/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/java/annotation/demo/factorys/Apple.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/java/annotation/demo/factorys/Apple.java -------------------------------------------------------------------------------- /app/src/main/java/annotation/demo/factorys/IFruit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/java/annotation/demo/factorys/IFruit.java -------------------------------------------------------------------------------- /app/src/main/java/annotation/demo/factorys/Orange.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/java/annotation/demo/factorys/Orange.java -------------------------------------------------------------------------------- /app/src/main/java/annotation/demo/factorys/Pear.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/java/annotation/demo/factorys/Pear.java -------------------------------------------------------------------------------- /app/src/main/java/annotation/demo/factorys/Persimmon.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/java/annotation/demo/factorys/Persimmon.java -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/annotation/demo/cxp/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/app/src/test/java/annotation/demo/cxp/demo/ExampleUnitTest.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenLittlePing/AnnotationDemo/HEAD/settings.gradle --------------------------------------------------------------------------------