Android代码-simple-annotation-processor

时间:2022-08-26 01:57:05
【文件属性】:
文件名称:Android代码-simple-annotation-processor
文件大小:107KB
文件格式:ZIP
更新时间:2022-08-26 01:57:05
Android代码 Simple Annotation Processor A simple annotation processor example, inspired by the idea of "How ButterKnife works?" In this sample project there are two self-explaining annotations : @RandomInt and @RandomString They will be used as markers to generate random integers and strings for annotated fields on compile time. Simple usage of them: public class TestActivity extends AppCompatActivity { @RandomInt String randomInteger; @RandomInt(minValue = 1, maxValue = 100) int random
【文件预览】:
simple-annotation-processor-master
----gradlew(5KB)
----settings.gradle(89B)
----.circleci()
--------config.yml(800B)
----randomizer()
--------src()
--------build.gradle(568B)
--------proguard-rules.pro(664B)
----randomizer-processor()
--------src()
--------build.gradle(281B)
----gradle()
--------wrapper()
----README.md(835B)
----gradlew.bat(2KB)
----gradle.properties(858B)
----randomizer-annotations()
--------src()
--------build.gradle(114B)
----sample-app()
--------src()
--------build.gradle(934B)
--------proguard-rules.pro(664B)
----.gitignore(224B)
----build.gradle(201B)

网友评论