#432 Injector - prevent static field injection, add more tests

This commit is contained in:
ljacqu
2016-04-30 10:44:32 +02:00
parent 2c491803d3
commit 908399e271
14 changed files with 211 additions and 45 deletions
@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
/**
* Annotation for specifying the plugin's data folder.
*/
@Target(ElementType.PARAMETER)
@Target({ElementType.PARAMETER, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DataFolder {
}