This commit adds an annotation that should be used to mark any usage of the `sun.misc` API.master
parent
161ec15a46
commit
5923ee8af3
1 changed files with 20 additions and 0 deletions
@ -0,0 +1,20 @@ |
||||
package org.springframework.lang; |
||||
|
||||
import java.lang.annotation.Documented; |
||||
import java.lang.annotation.ElementType; |
||||
import java.lang.annotation.Retention; |
||||
import java.lang.annotation.RetentionPolicy; |
||||
import java.lang.annotation.Target; |
||||
|
||||
/** |
||||
* Indicates that the annotated element uses an API from the {@code sun.misc} |
||||
* package. |
||||
* |
||||
* @author Stephane Nicoll |
||||
* @since 4.3 |
||||
*/ |
||||
@Retention(RetentionPolicy.CLASS) |
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE}) |
||||
@Documented |
||||
public @interface UsesSunMisc { |
||||
} |
Loading…
Reference in new issue