pl.net.mamut.staticaccess
Annotation Type StaticDependent


@Retention(value=RUNTIME)
@Target(value=METHOD)
@TypeQualifier
public @interface StaticDependent

Annotation for marking methods which can be static dependent, that is, can read or write static variables and invoke any methods. This annotation can be used to override a default @StaticIndependent annotation.

Warning: If this annotation is placed on a method, or as a default class/package annotation, it always overrides @StaticIndependent, even if it's placed on a narrower scope.

Author:
Adam Warski (adam at warski dot org)