annotation简单测试

2016-8-4 流沙 JAVA

1\annotation 写法 package com.gyarmy.testannotation; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface DbInfo { String driverClass(); String username(); String password(); Stri...

阅读全文>>

标签: annotation

评论(0) 浏览(376)


Powered by 流沙团