@Target(value=METHOD) @Retention(value=RUNTIME) public @interface CoreInstances
SecurityManager is installed, a security exception might
be raised based on the specific policy implemented.
Remember also that, in order for the annotation to properly work at run time, you will need to
add the following rules to your Proguard file (if employing it for shrinking or obfuscation):
-keepattributes RuntimeVisibleAnnotations
-keepclassmembers class ** {
@com.github.dm.jrt.annotation.CoreInstances *;
}
Created by davide-maestroni on 10/05/2015.InvocationConfiguration| Modifier and Type | Required Element and Description |
|---|---|
int |
value
The number of invocation instances which represents the core pool of reusable invocations.
|