edu.umd.cs.findbugs.detect
public class FindUnrelatedTypesInGenericContainer extends Object implements Detector
Constructor Summary | |
---|---|
FindUnrelatedTypesInGenericContainer(BugReporter bugReporter) |
Method Summary | |
---|---|
static String | getCollectionsMapKey(String... triplet) |
boolean | prescreen(ClassContext classContext, Method method)
Use this to screen out methods that do not contain invocations. |
void | report()
Empty |
void | visitClassContext(ClassContext classContext)
Visit the class context |
Parameters: triplet[0] = className.
The name of the collection e.g. java.util.List
triplet[1] = methodName.
The method's name e.g. contains
triplet[2] = methodSignature.
The method's signature e.g. (Ljava/lang/Object;)Z
Returns:
See Also: report
See Also: visitClassContext