From b168db60f42d755101bbb02f1d4a0d997100c93a Mon Sep 17 00:00:00 2001 From: "ray.j.greenwell" Date: Fri, 26 Mar 2010 17:57:06 +0000 Subject: [PATCH] Let's have this annotation be inherited. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2760 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/annotation/ReplacedBy.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/java/com/samskivert/annotation/ReplacedBy.java b/src/java/com/samskivert/annotation/ReplacedBy.java index 7a5358bb..76f82a99 100644 --- a/src/java/com/samskivert/annotation/ReplacedBy.java +++ b/src/java/com/samskivert/annotation/ReplacedBy.java @@ -22,6 +22,7 @@ package com.samskivert.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @@ -31,6 +32,7 @@ import java.lang.annotation.Target; * going so far as to deprecate it. */ @Documented +@Inherited @Retention(RetentionPolicy.SOURCE) @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) public @interface ReplacedBy