Package edu.umd.cs.findbugs

Examples of edu.umd.cs.findbugs.BugInstance.describe()


        if (storedField != null) {
            bugInstance.addField(storedField).describe("FIELD_STORED");
        }
        bugInstance.addOptionalAnnotation(variableAnnotation);
        if (variableAnnotation instanceof FieldAnnotation) {
            bugInstance.describe("FIELD_CONTAINS_VALUE");
        }

        addPropertiesForDereferenceLocations(propertySet, derefLocationSet, false);

        if (deref.isAlwaysOnExceptionPath()) {
View Full Code Here


            for (SourceLineAnnotation s : found) {
                bug.add(s);
                if (first) {
                    first = false;
                } else {
                    bug.describe(SourceLineAnnotation.ROLE_ANOTHER_INSTANCE);
                }
            }

            bugReporter.reportBug(bug);
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.