Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/spotbugs/spotbugs
/ functions
Functions
19,706 in github.com/spotbugs/spotbugs
⨍
Functions
19,706
◇
Types & classes
5,132
↓ 4 callers
Method
addWarningAboutSubmit
@param c
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/CheckReturnAnnotationDatabase.java:251
↓ 4 callers
Method
applyCustomDetectors
The complexity of the code below is partly caused by the fact that we might have multiple ways to install and/or enable custom plugins. There are plug
eclipsePlugin/src/de/tobject/findbugs/FindbugsPlugin.java:275
↓ 4 callers
Method
askUserPermission
(String path)
spotbugsTestCases/src/java/PotentialSecurityCheckBasedOnUntrustedSource.java:62
↓ 4 callers
Method
assertBugsCount
Assert the total number of bugs in the given resource. @param expected The expected number of bugs. @param project The IProject
eclipsePlugin-test/src/de/tobject/findbugs/test/AbstractPluginTest.java:253
↓ 4 callers
Method
assertNoBugInClass
Asserts that there are exactly zero bug instances with the given bug type in the given class. The match is checked according to {@link BugInstanceMatc
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:200
↓ 4 callers
Method
assertRCNBug
(String method, String variable, int line)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/detect/RegressionIdeas20110722Test.java:36
↓ 4 callers
Method
assertsFirstParameterIsNonnull
(XMethod m)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/npe/TypeQualifierNullnessAnnotationDatabase.java:167
↓ 4 callers
Method
blockId
(BasicBlock bb)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Dataflow.java:453
↓ 4 callers
Method
bool
()
spotbugsTestCases/src/java/npe/EclipseNullReferenceTestCases.java:4977
↓ 4 callers
Method
branchOperations
(ArrayList<String> stringsToBranch, TreeModification whatToDo)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugTreeModel.java:673
↓ 4 callers
Method
bug
(String type)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/nullness/AndroidNullabilityTest.java:94
↓ 4 callers
Method
buildLocator
(File file)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/classfile/impl/ClassFactoryTest.java:103
↓ 4 callers
Method
buildMethodsMessage
(Collection<XMethod> methods)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindImproperSynchronization.java:687
↓ 4 callers
Method
buildURLClassLoader
Creates a new {@link URLClassLoader} and adds it to the list of classloaders we need to close if we close the corresponding plugin @param
spotbugs/src/main/java/edu/umd/cs/findbugs/PluginLoader.java:261
↓ 4 callers
Method
cacheSortables
we cache all values of each sortable that appear in the BugSet as we create it using cacheSortables, this makes it possible to only show branches that
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugSet.java:139
↓ 4 callers
Method
call
()
spotbugsTestCases/src/java/ghIssues/issue2040/Derived.java:23
↓ 4 callers
Method
checkAttribute
(Node node, String attrName)
spotbugs/src/tools/edu/umd/cs/findbugs/tools/xml/CheckMessages.java:104
↓ 4 callers
Method
checkElement
(Node node, String elementName)
spotbugs/src/tools/edu/umd/cs/findbugs/tools/xml/CheckMessages.java:116
↓ 4 callers
Method
checkEscapeLFCRBackSlash
(String expected, String argument)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/util/StringsTest.java:76
↓ 4 callers
Method
checkFindBugsDefaultAnnotation
(ClassDescriptor defaultAnnotation, AnnotatedObject o, TypeQualifierValue<?> typeQualifierValue)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierApplications.java:465
↓ 4 callers
Method
checkForImport
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/LostLoggerDueToWeakReference.java:161
↓ 4 callers
Method
checkItem
(int n)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/IncompatMask.java:171
↓ 4 callers
Method
clear
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/heap/FieldSet.java:66
↓ 4 callers
Method
clearBugCounts
()
spotbugs/src/main/java/edu/umd/cs/findbugs/PackageStats.java:78
↓ 4 callers
Method
clearSourcePane
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/MainFrame.java:580
↓ 4 callers
Method
clearSummaryTab
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/MainFrame.java:744
↓ 4 callers
Method
close
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SourceFinder.java:102
↓ 4 callers
Method
closeTag
(String tagName)
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/Dom4JXMLOutput.java:105
↓ 4 callers
Method
collectAttributes
Build collection of the values of given attribute in all nodes matching given XPath expression.
spotbugs/src/tools/edu/umd/cs/findbugs/tools/xml/CheckMessages.java:92
↓ 4 callers
Method
comparatorMethod
(String methodName)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindSelfComparison2.java:92
↓ 4 callers
Method
compare
Compare XMethod or XField object objects. <em>All methods that implement XMethod or XField should delegate to this method when implementing compareTo(
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XFactory.java:682
↓ 4 callers
Method
compareTo
(Hashcode c)
spotbugsTestCases/src/java/Hashcode.java:10
↓ 4 callers
Method
compareTo
Bug pattern suggested by Kevin Bourrillion
spotbugsTestCases/src/java/bugIdeas/Ideas_2011_03_27.java:31
↓ 4 callers
Method
compareTo
(ClassHash other)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassHash.java:322
↓ 4 callers
Method
compareTo
(FieldOrMethodName o)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/FieldOrMethodDescriptor.java:104
↓ 4 callers
Method
computeEffectiveTypeQualifierAnnotation
(TypeQualifierValue<?> typeQualifierValue, AnnotatedObject o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierApplications.java:594
↓ 4 callers
Method
configureEngine
(IFindBugsEngine findBugs)
spotbugs/src/main/java/edu/umd/cs/findbugs/TextUICommandLine.java:626
↓ 4 callers
Method
configureFindbugsEngine
()
spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/UnionBugs2.java:96
↓ 4 callers
Method
convertToRelative
(List<String> paths, String base)
spotbugs/src/main/java/edu/umd/cs/findbugs/Project.java:757
↓ 4 callers
Method
copyFrom
(CallList other)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ca/CallList.java:80
↓ 4 callers
Method
count
(String... things)
spotbugsTestCases/src/java/sfBugs/Bug3368029.java:32
↓ 4 callers
Method
countDown
()
spotbugsTestCases/src/java/bugIdeas/Ideas_2011_12_11.java:14
↓ 4 callers
Method
countPackageMember
@param packageName
spotbugs/src/main/java/edu/umd/cs/findbugs/ProjectPackagePrefixes.java:100
↓ 4 callers
Method
createButtonsArea
(PathsProvider contentProvider)
eclipsePlugin/src/de/tobject/findbugs/properties/ManagePathsWidget.java:117
↓ 4 callers
Method
createFor
(@NonNull When when)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/CheckReturnValueAnnotation.java:110
↓ 4 callers
Method
createViewer
(String title, String linkText, boolean withCheckBox)
eclipsePlugin/src/de/tobject/findbugs/properties/ManagePathsWidget.java:56
↓ 4 callers
Method
displaySource
(BugInstance bug, SourceLineAnnotation source)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/SourceCodeDisplay.java:84
↓ 4 callers
Method
doBuild
Performs the build process. This method gets all files in the current project and has a <code>FindBugsVisitor</code> run on them. @param args
eclipsePlugin/src/de/tobject/findbugs/builder/FindBugsBuilder.java:129
↓ 4 callers
Method
doIO
()
spotbugsTestCases/src/java/bugIdeas/Ideas_2011_08_10.java:14
↓ 4 callers
Method
doSomething
()
spotbugsTestCases/src/java/npe/EclipseNullReferenceTestCases.java:4981
↓ 4 callers
Method
doVisitMethod
(Method obj)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/UncallableMethodOfAnonymousClass.java:201
↓ 4 callers
Method
done
(IJobChangeEvent event)
eclipsePlugin/src/de/tobject/findbugs/actions/ClearMarkersAction.java:53
↓ 4 callers
Method
duplicate
Make an exact copy of this object.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/bcp/PatternMatcher.java:229
↓ 4 callers
Method
editDistanceRatio
(String str1, String str2)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/EditDistance.java:48
↓ 4 callers
Method
editorPaneHyperlinkUpdate
(HyperlinkEvent evt)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/AboutDialog.java:194
↓ 4 callers
Method
emitTag
(String tagName, boolean close)
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/OutputStreamXMLOutput.java:164
↓ 4 callers
Method
enableAllDetectors
Enable or disable all known Detectors. @param enable true if all detectors should be enabled, false if they should all be disab
spotbugs/src/main/java/edu/umd/cs/findbugs/config/UserPreferences.java:428
↓ 4 callers
Method
enableDetector
Set the enabled/disabled status of given Detector. @param factory the DetectorFactory for the Detector to be enabled/disabled @param enabl
spotbugs/src/main/java/edu/umd/cs/findbugs/config/UserPreferences.java:402
↓ 4 callers
Method
equals
(Object o)
spotbugsTestCases/src/java/sourceInfo/Test.java:39
↓ 4 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/IntAnnotation.java:152
↓ 4 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/TypeAnnotation.java:156
↓ 4 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/AvailableLoad.java:121
↓ 4 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/InfiniteLoop.java:96
↓ 4 callers
Method
exceptionThrowingMethod
()
spotbugsTestCases/src/java/ghIssues/issue2040/Derived.java:48
↓ 4 callers
Method
exclude
(String dottedName)
spotbugs/src/main/java/edu/umd/cs/findbugs/workflow/RejarClassesForAnalysis.java:309
↓ 4 callers
Method
extractReferencedClassesFromSignature
(Set<ClassDescriptor> referencedClassSet, String signature)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/engine/ClassParser.java:187
↓ 4 callers
Method
f
(@NonNull Object x)
spotbugsTestCases/src/java/npe/GuaranteedUseRequiringNonNullValue.java:7
↓ 4 callers
Method
f
(Object x)
spotbugsTestCases/src/java/npe/ParameterNumberingTest.java:5
↓ 4 callers
Method
f
(@NonNull Object obj, @NonNull Object obj2)
spotbugsTestCases/src/java/nonnull/TestNonNull.java:7
↓ 4 callers
Method
filteredBugsCached
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugSet.java:396
↓ 4 callers
Method
findAnonymous
Get the anonymous inner class with given parent type and class number (like Hello$5.class) @param parentType the parent of anon. type @ret
eclipsePlugin/src/de/tobject/findbugs/reporter/JdtUtils.java:258
↓ 4 callers
Method
findBugRankForMarker
(IMarker marker)
eclipsePlugin/src/de/tobject/findbugs/reporter/MarkerUtil.java:593
↓ 4 callers
Method
findConfidenceForMarker
@return priority (aka confidence)
eclipsePlugin/src/de/tobject/findbugs/reporter/MarkerUtil.java:604
↓ 4 callers
Method
findField
Find an XField matching given parameters. @param name name of the field @param signature signature of the field @param isStatic
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XClass.java:129
↓ 4 callers
Method
findJavaElementForMarker
(IMarker marker)
eclipsePlugin/src/de/tobject/findbugs/reporter/MarkerUtil.java:631
↓ 4 callers
Method
findLinkedMethods
Returns methods which call directly or indirectly methods from inputs passing the parameter unchanged @param inputs input methods with par
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/BuildStringPassthruGraph.java:164
↓ 4 callers
Method
findMatchingTypeQualifierAnnotation
Look up a TypeQualifierAnnotation matching given TypeQualifierValue. @param typeQualifierAnnotations a Collection of TypeQualifierAnnotati
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierApplications.java:386
↓ 4 callers
Method
findPrimaryAnnotationOfType
Find the first BugAnnotation in the list of annotations that is the same type or a subtype as the given Class parameter. @param cls the Cl
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:476
↓ 4 callers
Method
findSuperImplementor
(XClass clazz, String name, String signature, boolean isStatic, BugReporter bugReporter)
spotbugs/src/main/java/edu/umd/cs/findbugs/Lookup.java:55
↓ 4 callers
Method
findSuperMethods
(XMethod m)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Hierarchy2.java:211
↓ 4 callers
Method
flush
()
spotbugs/src/main/java/edu/umd/cs/findbugs/util/TestDesktopIntegration.java:95
↓ 4 callers
Method
forEntireMethod
Create a SourceLineAnnotation covering an entire method. @param className name of the class the method is in @param sourceFile
spotbugs/src/main/java/edu/umd/cs/findbugs/SourceLineAnnotation.java:264
↓ 4 callers
Method
forNumber
Return a previously allocated value.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFactory.java:64
↓ 4 callers
Method
formatAsString
Return a string representation of the edge.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Edge.java:194
↓ 4 callers
Method
frameAfter
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindUselessObjects.java:362
↓ 4 callers
Method
fromCalledMethod
Factory method to create a MethodAnnotation from a method called by the instruction the given visitor is currently visiting. @param visitor
spotbugs/src/main/java/edu/umd/cs/findbugs/MethodAnnotation.java:144
↓ 4 callers
Method
fromEncodedString
Create ProjectFilterSettings from an encoded string. @param s the encoded string @return the ProjectFilterSettings
spotbugs/src/main/java/edu/umd/cs/findbugs/config/ProjectFilterSettings.java:148
↓ 4 callers
Method
fromMethodDescriptor
Create a MethodAnnotation from a MethodDescriptor. @param methodDescriptor the MethodDescriptor @return the MethodAnnotation
spotbugs/src/main/java/edu/umd/cs/findbugs/MethodAnnotation.java:273
↓ 4 callers
Method
fromNamespaceAndString
Returns a UUID version 5 based on RFC 4122 (see: https://www.ietf.org/rfc/rfc4122.txt). It uses SHA1 to calculate the UUID. @param namespace @param n
spotbugs/src/main/java/edu/umd/cs/findbugs/sarif/GUIDCalculator.java:37
↓ 4 callers
Method
fromVisitedMethod
Factory method for creating a source line annotation describing an entire method. @param visitor a BetterVisitor which is visiting the met
spotbugs/src/main/java/edu/umd/cs/findbugs/SourceLineAnnotation.java:228
↓ 4 callers
Method
get
()
spotbugsTestCases/src/java/nullnessAnnotations/returnValue/TestReturnOverride2.java:36
↓ 4 callers
Method
getA
()
spotbugsTestCases/src/java/sfBugsNew/Bug1215.java:9
↓ 4 callers
Method
getActions
Get the ObligationPolicyDatabaseActions that should be applied when the method described by the parameters is called. @param receiverType
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/obl/ObligationPolicyDatabaseEntry.java:56
↓ 4 callers
Method
getAllClassDescriptors
()
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/DescriptorFactory.java:85
↓ 4 callers
Method
getAnnotationsForMessage
(boolean showContext)
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:2513
↓ 4 callers
Method
getAppVersionFromSequenceNumber
(long target)
spotbugs/src/main/java/edu/umd/cs/findbugs/SortedBugCollection.java:1208
↓ 4 callers
Method
getArg
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/IncompatMask.java:64
↓ 4 callers
Method
getBasicBlock
Get the basic block where the call site is located.
spotbugs/src/main/java/edu/umd/cs/findbugs/CallSite.java:69
↓ 4 callers
Method
getBasicBlock
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/BasicBlock.java:295
↓ 4 callers
Method
getBasicBlock
Get the basic block containing the matched instruction.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/bcp/PatternElementMatch.java:85
← previous
next →
1,601–1,700 of 19,706, ranked by callers