Browse Source

Add inheritance support on Extension annot

pull/111/head
Emmanuel Lecomte 8 years ago
parent
commit
c01f9726b1
  1. 2
      pf4j/src/main/java/ro/fortsoft/pf4j/Extension.java

2
pf4j/src/main/java/ro/fortsoft/pf4j/Extension.java

@ -19,6 +19,7 @@ import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME; import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.Target; import java.lang.annotation.Target;
@ -27,6 +28,7 @@ import java.lang.annotation.Target;
*/ */
@Retention(RUNTIME) @Retention(RUNTIME)
@Target(TYPE) @Target(TYPE)
@Inherited
@Documented @Documented
public @interface Extension { public @interface Extension {

Loading…
Cancel
Save