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...

阅读全文>>