Browse Source

Merge pull request #111 from elecomte-pro/master

Add inheritance support on Extension annot
pull/112/head
Decebal Suiu 8 years ago committed by GitHub
parent
commit
2588ac8905
  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