Examples of BugAccumulator


Examples of edu.umd.cs.findbugs.BugAccumulator

        collectionClass = tmp;
    }

    public InefficientToArray(BugReporter bugReporter) {
        this.bugReporter = bugReporter;
        this.bugAccumulator = new BugAccumulator(bugReporter);
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

        }

    }

    public DefaultEncodingDetector(BugReporter bugReporter) {
        this.bugAccumulator = new BugAccumulator(bugReporter);
        this.defaultEncodingAnnotationDatabase = new DefaultEncodingAnnotationDatabase();
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

    private static final boolean DEBUG = false;

    public FindUseOfNonSerializableValue(BugReporter bugReporter) {
        this.bugReporter = bugReporter;
        this.bugAccumulator = new BugAccumulator(bugReporter);
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

    }

    private final BugAccumulator bugAccumulator;

    public FindUselessControlFlow(BugReporter bugReporter) {
        this.bugAccumulator = new BugAccumulator(bugReporter);
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

    final ClassSummary classSummary = new ClassSummary();

    public EqualsOperandShouldHaveClassCompatibleWithThis(BugReporter bugReporter) {
        this.bugReporter = bugReporter;
        this.bugAccumulator = new BugAccumulator(bugReporter);
        AnalysisContext context = AnalysisContext.currentAnalysisContext();
        context.setClassSummary(classSummary);
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

     * ----------------------------------------------------------------------
     */

    public FindRefComparison(BugReporter bugReporter) {
        this.bugReporter = bugReporter;
        this.bugAccumulator = new BugAccumulator(bugReporter);
        this.suspiciousSet = new HashSet<String>(DEFAULT_SUSPICIOUS_SET);

        // Check frc.suspicious system property for additional suspicious types
        // to check
        String extraSuspiciousTypes = SystemProperties.getProperty("frc.suspicious");
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

public class ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass extends OpcodeStackDetector {

    final BugAccumulator accumulator;

    public ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass(BugReporter bugReporter) {
        this.accumulator = new BugAccumulator(bugReporter);
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

    boolean sawMethodCall, sawMethodCallOld;

    private final BugAccumulator bugAccumulator;

    public FindNonShortCircuit(BugReporter bugReporter) {
        this.bugAccumulator = new BugAccumulator(bugReporter);
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

    private boolean alreadySawStart;

    public FindRunInvocations(BugReporter bugReporter) {
        this.bugReporter = bugReporter;
        this.bugAccumulator = new BugAccumulator(bugReporter);
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.BugAccumulator

    final ClassDescriptor remote = DescriptorFactory.createClassDescriptor(java.rmi.Remote.class);

    public UnreadFields(BugReporter bugReporter) {
        this.bugReporter = bugReporter;
        this.bugAccumulator = new BugAccumulator(bugReporter);
        AnalysisContext context = AnalysisContext.currentAnalysisContext();
        data.reflectiveFields.add( XFactory.createXField("java.lang.System", "in", "Ljava/io/InputStream;", true));
        data.reflectiveFields.add( XFactory.createXField("java.lang.System", "out", "Ljava/io/PrintStream;", true));
        data.reflectiveFields.add( XFactory.createXField("java.lang.System", "err", "Ljava/io/PrintStream;", true));
        data = context.getUnreadFieldsData();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.