首页 > 代码库 > Java高效编程(20) - 注解

Java高效编程(20) - 注解

built-in annotations, defined in java.lang:
@Override
@Deprecated
@SuppressWarnings

The meta-annotations are for annotating annotations:

@Target(ElementType.METHOD)@Retention(RetentionPolicy.RUNTIME)public @interface Test {} ///:~

 

Java高效编程(20) - 注解