1 2 3 4 5
package foo; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @interface Synchronized {}