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
↓ 9 callers
Method
setAnalysisCacheForCurrentThread
Set the analysis cache for the current thread. This should be called before any detectors or analyses that need the cache are used. @param analysisCa
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/Global.java:47
↓ 9 callers
Method
setTimestamp
Get the timestamp for the analyzed code (when it was compiled) @param timestamp the timestamp.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:100
↓ 9 callers
Method
skip
(long n)
spotbugs/src/main/java/edu/umd/cs/findbugs/io/SlowInputStream.java:77
↓ 9 callers
Method
sum
(double n)
spotbugsTestCases/src/java/TestFloatEquality.java:71
↓ 9 callers
Method
typeOnly
(String signature)
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:611
↓ 9 callers
Method
use
(Object o)
spotbugsTestCases/src/java/nullnessAnnotations/returnValue/TestNullReturnsInJdk.java:62
↓ 9 callers
Method
values
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/DefaultEncodingDetector.java:58
↓ 9 callers
Method
waitForJobs
()
eclipsePlugin-test/src/de/tobject/findbugs/test/AbstractPluginTest.java:189
↓ 9 callers
Method
worked
(int work)
eclipsePlugin/src/de/tobject/findbugs/reporter/ThrottledProgressMonitor.java:51
↓ 8 callers
Method
addDefaultMethodAnnotation
(String cName, AnnotationEnum annotation)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnnotationDatabase.java:361
↓ 8 callers
Method
addDirectAnnotation
(Object o, AnnotationEnum n)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnnotationDatabase.java:83
↓ 8 callers
Method
addError
Add an analysis error. @param message the error message
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:210
↓ 8 callers
Method
addFieldAnnotation
Add a field annotation to the database. @param cName dotted class name @param mName field name @param mSig field sig
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/INullnessAnnotationDatabase.java:87
↓ 8 callers
Method
addFile
(String fileLocation)
eclipsePlugin-test/src/de/tobject/findbugs/properties/test/FilterFilesTabTestSubclass.java:84
↓ 8 callers
Method
and
(boolean x, boolean y)
spotbugsTestCases/src/java/NonShortCircuit.java:16
↓ 8 callers
Method
annotateAndReport
(BugInstance bug, OpcodeStack.Item item)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/CrossSiteScripting.java:71
↓ 8 callers
Method
appendOption
(StringBuilder b, int flags, int mask, String name)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/BadSyntaxForRegularExpression.java:158
↓ 8 callers
Method
assertBugAtFieldAtLine
Asserts that there is a bug instance with the given bug type in the given class at the given field at the given line. The match is checked according t
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:390
↓ 8 callers
Method
assertBugCount
(String clazz, int count, SpotBugsRunner spotbugs)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/nullness/Issue600Test.java:39
↓ 8 callers
Method
assertReported
Function to do the actual test and make assertions. @param expectedReport true/false depending on expected outcome @param message human-readable mess
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractBugReporterTest.java:49
↓ 8 callers
Method
bar
(Closeable c)
spotbugsTestCases/src/java/sfBugs/Bug2990536.java:31
↓ 8 callers
Method
check
(SaveType type, String file)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/gui2/SaveTypeTest.java:33
↓ 8 callers
Method
check
(long value)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/detect/IncompatMaskTest.java:31
↓ 8 callers
Method
clearStack
Clear the Java operand stack. Only local variable slots will remain in the frame.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:466
↓ 8 callers
Method
compare
(BugInstance lhs, BugInstance rhs)
spotbugs/src/main/java/edu/umd/cs/findbugs/VersionInsensitiveBugComparator.java:134
↓ 8 callers
Method
compareHashes
(byte[] a, byte[] b)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/MethodHash.java:168
↓ 8 callers
Method
compareTo
(BugGroup o)
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugGroup.java:288
↓ 8 callers
Method
compute
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/InitializationChain.java:189
↓ 8 callers
Method
copyFrom
Make this Path identical to the given one. @param other a Path to which this object should be made identical
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Path.java:119
↓ 8 callers
Method
createEdge
Add a new edge to the graph. Duplicate edges (with same source and target vertices) are allowed. @param source the source vertex @param ta
spotbugs/src/main/java/edu/umd/cs/findbugs/graph/Graph.java:78
↓ 8 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/SourceLineAnnotation.java:835
↓ 8 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/FieldAnnotation.java:318
↓ 8 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ClassAnnotation.java:116
↓ 8 callers
Method
equals
(Object obj)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SourceInfoMap.java:92
↓ 8 callers
Method
extractClassName
Extract a slashed classname from a JVM classname or signature. @param originalName JVM classname or signature @return a slashed classname
spotbugs/src/main/java/edu/umd/cs/findbugs/util/ClassName.java:312
↓ 8 callers
Method
extractPackagePrefix
(String packageName, int count)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/ClassName.java:329
↓ 8 callers
Method
f
(String amount)
spotbugsTestCases/src/java/worseThanFailure/Post20070330.java:6
↓ 8 callers
Method
factoryIterator
Return an Iterator over the DetectorFactory objects for all registered Detectors.
spotbugs/src/main/java/edu/umd/cs/findbugs/DetectorFactoryCollection.java:207
↓ 8 callers
Method
fileReader
(String fileName)
spotbugs/src/main/java/edu/umd/cs/findbugs/charsets/UTF8.java:86
↓ 8 callers
Method
find
(JavaClass target, String name, String signature)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/ResolveAllReferences.java:117
↓ 8 callers
Method
fromFieldSignature
Converts from signature to slashed class name (e.g., from Ljava/lang/String; to java/lang/String). Returns null if it is the signature for an array or
spotbugs/src/main/java/edu/umd/cs/findbugs/util/ClassName.java:98
↓ 8 callers
Method
getAdjustPriority
@return Returns the adjustPriority.
spotbugs/src/main/java/edu/umd/cs/findbugs/config/UserPreferences.java:818
↓ 8 callers
Method
getArguments
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SignatureParser.java:169
↓ 8 callers
Method
getAuxClasspathEntryList
Return the list of aux classpath entries.
spotbugs/src/main/java/edu/umd/cs/findbugs/Project.java:431
↓ 8 callers
Method
getBugCategory
@param id may be null @return return bug category with given id, may return null if the bug category is unknown
spotbugs/src/main/java/edu/umd/cs/findbugs/Plugin.java:374
↓ 8 callers
Method
getByPluginId
(String name)
spotbugs/src/main/java/edu/umd/cs/findbugs/Plugin.java:484
↓ 8 callers
Method
getChildText
(Node node, String childName)
spotbugs/src/main/java/edu/umd/cs/findbugs/PluginLoader.java:1340
↓ 8 callers
Method
getCodeBase
Get the codebase this codebase entry belongs to. @return the codebase this codebase entry belongs to
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/ICodeBaseEntry.java:60
↓ 8 callers
Method
getCodeBaseLocator
()
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/impl/ClassPathBuilder.java:100
↓ 8 callers
Method
getCodeSize
@return Returns the codeSize.
spotbugs/src/main/java/edu/umd/cs/findbugs/AppVersion.java:195
↓ 8 callers
Method
getCurrentAppVersion
Get the current AppVersion.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:173
↓ 8 callers
Method
getCurrentProps
()
eclipsePlugin/src/de/tobject/findbugs/properties/ReportConfigurationTab.java:357
↓ 8 callers
Method
getCurrentUserPreferences
()
eclipsePlugin/src/de/tobject/findbugs/properties/FindbugsPropertyPage.java:645
↓ 8 callers
Method
getData
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugGroup.java:221
↓ 8 callers
Method
getDatabase
(Class<E> cls)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:1060
↓ 8 callers
Method
getDetectorFactories
Get Iterator over DetectorFactory objects in the Plugin. @return Iterator over DetectorFactory objects
spotbugs/src/main/java/edu/umd/cs/findbugs/Plugin.java:340
↓ 8 callers
Method
getDialogSettings
()
eclipsePlugin/src/de/tobject/findbugs/actions/FindBugsAction.java:134
↓ 8 callers
Method
getEffort
(String level)
eclipsePlugin/src/de/tobject/findbugs/properties/FindbugsPropertyPage.java:690
↓ 8 callers
Method
getField
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/InnerClassAccess.java:48
↓ 8 callers
Method
getFilterFileLocation
Returns the filter file path of the test project. @return The absolute path of the filter file.
eclipsePlugin-test/src/de/tobject/findbugs/test/AbstractFindBugsTest.java:73
↓ 8 callers
Method
getIdentifier
(IMarker marker)
eclipsePlugin/src/de/tobject/findbugs/view/explorer/GroupType.java:63
↓ 8 callers
Method
getInt
@param name property name @param defaultValue default value @return the int value (or defaultValue if the property does not exis
spotbugs/src/main/java/edu/umd/cs/findbugs/SystemProperties.java:163
↓ 8 callers
Method
getJavaAnnotationNames
@return the javaAnnotationNames
spotbugs/src/main/java/edu/umd/cs/findbugs/PackageMemberAnnotation.java:171
↓ 8 callers
Method
getLastUpdateTimestamp
(Fact fact)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/DataflowAnalysis.java:198
↓ 8 callers
Method
getLine
(BufferedReader reader)
test-harness-core/src/main/java/org/sonar/plugins/findbugs/resource/SmapParser.java:71
↓ 8 callers
Method
getLocation
@return Returns the location.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/npe/LocationWhereValueBecomesNull.java:51
↓ 8 callers
Method
getMarkers
(Object obj)
eclipsePlugin/src/de/tobject/findbugs/reporter/MarkerUtil.java:846
↓ 8 callers
Method
getMethod
(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/engine/bcel/AnalysisFactory.java:131
↓ 8 callers
Method
getMethodSignature
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/InnerClassAccess.java:44
↓ 8 callers
Method
getMethodsInCallOrder
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:244
↓ 8 callers
Method
getNextPC
@return Returns the nextPC.
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java:1034
↓ 8 callers
Method
getPreviouslyKnownAs
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.java:623
↓ 8 callers
Method
getPriorityForAssumingCompatible
(GenericObjectType genericType, Type plainType)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/IncompatibleTypes.java:117
↓ 8 callers
Method
getProjectStats
Get the project stats.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:92
↓ 8 callers
Method
getProjects
(@DottedClassName String className)
spotbugs/src/main/java/edu/umd/cs/findbugs/ProjectPackagePrefixes.java:114
↓ 8 callers
Method
getProperty
(String key)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/WriteOnceProperties.java:31
↓ 8 callers
Method
getResource
()
eclipsePlugin/src/de/tobject/findbugs/FindBugsJob.java:76
↓ 8 callers
Method
getResource
Get a resource using the URLClassLoader classLoader. We try findResource first because (based on experiment) we can trust it to prefer resources in th
spotbugs/src/main/java/edu/umd/cs/findbugs/PluginLoader.java:550
↓ 8 callers
Method
getSize
(String sourceFile)
spotbugs/src/main/java/edu/umd/cs/findbugs/workflow/FileBugHash.java:125
↓ 8 callers
Method
getSourceSinkInfoSet
(Map<ValueNumber, Set<SourceSinkInfo>> sourceSinkInfoSetMap, ValueNumber vn)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierValueSet.java:137
↓ 8 callers
Method
getStackLocation
Get a the location in the frame of a value on the operand stack. @param loc the stack location, counting downwards from the top (location
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:263
↓ 8 callers
Method
getStartBytecode
Get start bytecode (inclusive).
spotbugs/src/main/java/edu/umd/cs/findbugs/SourceLineAnnotation.java:698
↓ 8 callers
Method
getSummary
(XField field)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/FieldSummary.java:66
↓ 8 callers
Method
getTextContents
()
spotbugs/src/main/java/edu/umd/cs/findbugs/SAXBugCollectionHandler.java:153
↓ 8 callers
Method
getUnconditionalDerefParamDatabase
Get the property database recording which methods unconditionally dereference parameters. @return the database, or null if there is no database avail
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:923
↓ 8 callers
Method
getUnreadFieldsData
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:256
↓ 8 callers
Method
getUserPreferences
Get the UserPreferences for given project. @param project the project @return the UserPreferences for the project
eclipsePlugin/src/de/tobject/findbugs/FindbugsPlugin.java:936
↓ 8 callers
Method
getValue
(int n)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/ba/FrameTest.java:14
↓ 8 callers
Method
getValue
()
spotbugsTestCases/src/java/sfBugs/Bug3479234.java:106
↓ 8 callers
Method
getWriter
()
spotbugsTestCases/src/java/sfBugs/Bug3598793.java:86
↓ 8 callers
Method
getXClass
(@SlashedClassName String c)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Hierarchy2.java:273
↓ 8 callers
Method
hasFindBugsNature
Using the natures name, check whether the current project has FindBugs nature. @return boolean <code>true</code>, if the FindBugs nature is assigned
eclipsePlugin/src/de/tobject/findbugs/util/ProjectUtilities.java:88
↓ 8 callers
Method
hasInterestingMethod
Returns true if given constant pool probably has a reference to any of supplied methods Useful to exclude from analysis uninteresting classes @param c
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/PreorderVisitor.java:638
↓ 8 callers
Method
instance
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ResourceValue.java:30
↓ 8 callers
Method
instance
()
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/impl/ClassFactory.java:48
↓ 8 callers
Method
isApplicationCodeBase
Return whether or not this codebase is an application codebase. @return true if this is an application codebase, false if not
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/ICodeBase.java:78
↓ 8 callers
Method
isBugFilterActive
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugContentProvider.java:711
↓ 8 callers
Method
isCloseQuote
(String s)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindSqlInjection.java:288
↓ 8 callers
Method
isMethodCall
Returns true if the opcode is a method invocation false otherwise
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindArgumentAssertions.java:74
↓ 8 callers
Method
isNewlyAllocated
()
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:1072
← previous
next →
901–1,000 of 19,706, ranked by callers