【文件属性】:
文件名称:Android代码-javapoet
文件大小:119KB
文件格式:ZIP
更新时间:2022-08-26 01:26:30
Android代码
JavaPoet
JavaPoet is a Java API for generating .java source files.
Source file generation can be useful when doing things such as annotation processing or interacting
with metadata files (e.g., database schemas, protocol formats). By generating code, you eliminate
the need to write boilerplate while also keeping a single source of truth for the metadata.
Example
Here's a (boring) HelloWorld class:
package com.example.helloworld;
public final class HelloWorld {
public static void main(String[]
【文件预览】:
javapoet-master
----.gitignore(150B)
----src()
--------main()
--------test()
----.travis.yml(848B)
----.buildscript()
--------deploy_snapshot.sh(1009B)
--------settings.xml(221B)
----CONTRIBUTING.md(722B)
----CHANGELOG.md(11KB)
----checkstyle.xml(5KB)
----LICENSE.txt(11KB)
----pom.xml(5KB)
----README.md(27KB)