Let's have this annotation be inherited.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2760 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -22,6 +22,7 @@ package com.samskivert.annotation;
|
|||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Inherited;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
|
|||||||
* going so far as to deprecate it.
|
* going so far as to deprecate it.
|
||||||
*/
|
*/
|
||||||
@Documented
|
@Documented
|
||||||
|
@Inherited
|
||||||
@Retention(RetentionPolicy.SOURCE)
|
@Retention(RetentionPolicy.SOURCE)
|
||||||
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
|
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
|
||||||
public @interface ReplacedBy
|
public @interface ReplacedBy
|
||||||
|
|||||||
Reference in New Issue
Block a user