【文件属性】:
文件名称:reflection:简单而强大的面向对象的Java反射库
文件大小:56KB
文件格式:ZIP
更新时间:2021-03-09 15:47:31
reflection Java
原则
构造函数中没有代码
没有易变的物体
无静电
没有合同(接口)就没有公共方法
没有实现继承
无返回null(可选)
如何使用
< dependency>
< groupId>io.github.portlek groupId>
< artifactId>reflection artifactId>
< version>${version} version>
dependency>
implementation( " io.github.portlek:reflection: ${ version } " )
用法示例
final class Example {
void clearKnownCommands () {
new ClassOf<> ( Bukkit . getServer())
.methodByNam
【文件预览】:
reflection-master
----.gitignore(20B)
----.run()
--------Build the Project.run.xml(984B)
----src()
--------main()
--------test()
----LICENSE(1KB)
----.github()
--------workflows()
----pom.xml(2KB)
----README.md(1KB)
----.idea()
--------copyright()
--------codeStyles()
--------inspectionProfiles()