annotation简单测试

流沙 | JAVA | 2016-08-04
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...

阅读全文>>

ė418次浏览 60条评论 0 annotation

Ɣ回顶部