Java其他 JAVA元注解@interface详解(@Target,@Documented,@Retention,@Inherited) jdk1.5起开始提供了4个元注解,用来定义自定义注解的注解,它们分别是: @Target ...
Java其他 Java中获取类名的3种方法:getName(), getCanonicalName() 和 getSimpleName() 获取类名的方法 Java 中获取类名的方式主要有以下三种。 getName() 返回的是虚拟...