- All Superinterfaces:
- java.lang.Cloneable
- All Known Implementing Classes:
- CloneIdiom, EmptyZipFileEntry, FindBadForLoop, FindFieldSelfAssignment, FindFinalizeInvocations, FindFloatEquality, FindFloatMath, FindHEmismatch, FindJSR166LockMonitorenter, FindLocalSelfAssignment2, FindMismatchedWaitOrNotify, FindNakedNotify, FindNonShortCircuit, FindOpenStream, FindRunInvocations, FindSpinLoop, FindTwoLockWait, FindUncalledPrivateMethods, FindUnconditionalWait, FindUninitializedGet, FindUselessControlFlow, IncompatMask, InefficientMemberAccess, InefficientToArray, InfiniteRecursiveLoop, InheritanceUnsafeGetResource, IteratorIdioms, LazyInit, MutableLock, PreferZeroLengthArrays, PublicSemaphores, QuestionableBooleanAssignment, ReadReturnShouldBeChecked, RedundantInterfaces, RuntimeExceptionCapture, StartInConstructor, StringConcatenation, SuperfluousInstanceOf, SuspiciousThreadInterrupted, SwitchFallthrough, UnnecessaryMath, UselessSubclassMethod, VarArgsProblems, WaitInLoop, WrongMapIterator
public interface StatelessDetector
extends java.lang.Cloneable
is a marker interface for detectors that don't save state from one class file
to the next.
If a detector implements this interface, a clone will be generated for each
element it is applied to.
The idea of using this interface is questionable. Better for people writing
stateless detectors to just not keep around state they don't need, rather
than depending on cloning and garbage collection.