|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||
@Retention(value=RUNTIME) @Target(value=METHOD) @TypeQualifier public @interface StaticIndependent
Annotation for marking methods which should be static independent, that is, shouldn't read or write static
variables (with the exception of static final immutable objects, like String), or call methods
which aren't static-indepdenent.
You can apply this annotation by default to all methods in a class/package by using the
edu.umd.cs.findbugs.annotations.DefaultAnnotation or edu.umd.cs.findbugs.annotations.DefaultAnnotationForMethods
annotations.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||