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
↓ 6 callers
Method
reSetInput
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugContentProvider.java:236
↓ 6 callers
Method
readAll
(@WillClose InputStream in)
spotbugs/src/main/java/edu/umd/cs/findbugs/io/IO.java:73
↓ 6 callers
Method
registerBuiltInAnalysisEngines
Register the "built-in" analysis engines with given IAnalysisCache. @param analysisCache an IAnalysisCache
spotbugs/src/main/java/edu/umd/cs/findbugs/FindBugs2.java:641
↓ 6 callers
Method
registerMethodAnalysisEngine
Register the given method analysis engine as producing the analysis result type whose Class is given. @param <E> analysis result type @par
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IAnalysisCache.java:60
↓ 6 callers
Method
removeProperty
(String name)
spotbugs/src/main/java/edu/umd/cs/findbugs/SystemProperties.java:211
↓ 6 callers
Method
reportQueuedErrors
Report any accumulated error messages.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugReporter.java:90
↓ 6 callers
Method
requiresStrict
(@Strict Object o)
spotbugsTestCases/src/java/jsr305/StrictTest.java:8
↓ 6 callers
Method
resetData
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugTreeModel.java:460
↓ 6 callers
Method
resetDoubleAssignmentState
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindSelfComparison.java:80
↓ 6 callers
Method
resolveMethodCallTargets
Resolve possible method call targets. This works for both static and instance method calls. @param invokeInstruction the InvokeInstruction
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Hierarchy2.java:299
↓ 6 callers
Method
round
(int a, int b)
spotbugsTestCases/src/java/ICAST.java:37
↓ 6 callers
Method
runAction
(String actionId)
eclipsePlugin-test/src/de/tobject/findbugs/actions/test/GroupByActionTest.java:138
↓ 6 callers
Method
sameValue
(OpcodeStack.Item that)
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:396
↓ 6 callers
Method
sawInt
(int seen)
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java:953
↓ 6 callers
Method
sawRegExPattern
(int stackDepth)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/BadSyntaxForRegularExpression.java:79
↓ 6 callers
Method
schedule
(long delay)
eclipsePlugin/src/de/tobject/findbugs/view/explorer/IViewerRefreshJob.java:27
↓ 6 callers
Method
search
Search list of codebases for named resource. @param codeBaseList list of codebases to search @param resourceName name of resour
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/impl/ClassPathImpl.java:182
↓ 6 callers
Method
setCanReturnNormally
Set whether or not it is possible to return normally. @param canReturnNormally true if the method can return normally at this location, fa
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/npe/ReturnPathType.java:93
↓ 6 callers
Method
setCheckedElements
(Object[] elements)
spotbugsTestCases/src/java/bugIdeas/Ideas_2011_11_02.java:9
↓ 6 callers
Method
setDepth
Set the stack depth.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/StackDepth.java:50
↓ 6 callers
Method
setErrorMessage
(String errorMsg)
spotbugs/src/main/java/edu/umd/cs/findbugs/IGuiCallback.java:61
↓ 6 callers
Method
setFailOnError
Set the failOnError flag @param flag {@code true} to enable
spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/AbstractFindBugsTask.java:169
↓ 6 callers
Method
setFlag
(int flags)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/CFG.java:206
↓ 6 callers
Method
setFrameAndLocation
Set the frame and Location for the instruction about to be modeled. @param frame the Frame @param location the Location
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java:107
↓ 6 callers
Method
setInterface
@param isInterface The isInterface to set.
spotbugs/src/main/java/edu/umd/cs/findbugs/model/ClassFeatureSet.java:198
↓ 6 callers
Method
setMissingClassWarningsSuppressed
(boolean value)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:416
↓ 6 callers
Method
setParamWithProperty
Set whether or not a parameter might be non-null. @param param the parameter index @param hasProperty true if the parameter mig
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/interproc/ParameterProperty.java:129
↓ 6 callers
Method
setProjectName
(String projectName)
spotbugs/src/main/java/edu/umd/cs/findbugs/Project.java:962
↓ 6 callers
Method
setProjectSettingsEnabled
(IProject project, @CheckForNull IPreferenceStore store, boolean enabled)
eclipsePlugin/src/de/tobject/findbugs/FindbugsPlugin.java:833
↓ 6 callers
Method
setSize
(int size)
spotbugs/src/main/java/edu/umd/cs/findbugs/PackageStats.java:220
↓ 6 callers
Method
setValid
Set the Frame to be valid (neither TOP nor BOTTOM).
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:157
↓ 6 callers
Method
showOpenDialog
(Component parent)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/FBFileChooser.java:98
↓ 6 callers
Method
similarity
(ClassFeatureSet a, ClassFeatureSet b)
spotbugs/src/main/java/edu/umd/cs/findbugs/model/ClassFeatureSet.java:317
↓ 6 callers
Method
splitOption
(String option)
spotbugs/src/main/java/edu/umd/cs/findbugs/config/CommandLine.java:347
↓ 6 callers
Method
toCompactString
@return a compact string of the form "bb:xx", where "bb" is the basic block number and "xx" is the bytecode offset
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Location.java:150
↓ 6 callers
Method
transfer
Transfer function for the analysis. Taking dataflow facts at start (which might be either the entry or exit of the block, depending on whether the ana
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/DataflowAnalysis.java:153
↓ 6 callers
Method
unescapeXml
Unescape XML entities and illegal characters in the given string. This enhances the functionality of org.apache.commons.lang.StringEscapeUtils.unescap
spotbugs/src/main/java/edu/umd/cs/findbugs/util/Strings.java:204
↓ 6 callers
Method
validateSuppressionUsage
(BugReporter bugReporter, UselessSuppressionDetector detector)
spotbugs/src/main/java/edu/umd/cs/findbugs/SuppressionMatcher.java:93
↓ 6 callers
Method
visitingMethod
is the visitor currently visiting a method?
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/PreorderVisitor.java:554
↓ 6 callers
Method
wrapper
(Callable f)
spotbugsTestCases/src/java/overridableMethodCall/MethodReferenceReadObjectIndirect3.java:7
↓ 5 callers
Method
add
Add an exception. @param type the exception type @param explicit true if the exception is explicitly declared or thrown, false
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/type/ExceptionSet.java:254
↓ 5 callers
Method
add
(E e)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/Bag.java:43
↓ 5 callers
Method
add
(K k, double val)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/FractionalMultiset.java:53
↓ 5 callers
Method
addAll
(Collection<? extends E> c)
spotbugsTestCases/src/java/gcUnrelatedTypes/AllListsCouldBeEqual.java:28
↓ 5 callers
Method
addAllowedPackage
Add the name of a package to be matched by the screener. All class files that appear to be in the package should be matched. @param packageName
spotbugs/src/main/java/edu/umd/cs/findbugs/ClassScreener.java:131
↓ 5 callers
Method
addColumnSelectionListener
@param sorter @param column
eclipsePlugin/src/de/tobject/findbugs/properties/DetectorConfigurationTab.java:531
↓ 5 callers
Method
addDeadBugMatcher
(BugCollection bugCollection)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugLoader.java:195
↓ 5 callers
Method
addEdgeAndExplore
Add a control flow edge to the subroutine. If the control target has not yet been added to the subroutine, a new work list item is added. If the contr
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/BetterCFGBuilder2.java:368
↓ 5 callers
Method
addMissingClass
Add a missing class message. @param message the missing class message
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:226
↓ 5 callers
Method
addObserver
Add an observer. @param observer the observer
spotbugs/src/main/java/edu/umd/cs/findbugs/BugReporter.java:98
↓ 5 callers
Method
addOption
(String name, String value)
spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/SetBugDatabaseInfoTask.java:122
↓ 5 callers
Method
addOrCheckDefinition
Add a variable definition to the given BindingSet, or if there is an existing definition, make sure it is consistent with the new definition. @param
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/bcp/PatternElement.java:208
↓ 5 callers
Method
addPropertiesForDereferenceLocations
(WarningPropertySet<WarningProperty> propertySet, Collection<Location> derefLocationSet, boolean i
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindNullDeref.java:1622
↓ 5 callers
Method
addSourceLineRange
Add a source line annotation describing the source line numbers for a range of instructions in the method being visited by the given visitor. Note tha
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:1774
↓ 5 callers
Method
addToClasspath
(IJavaProject jproject, IClasspathEntry cpe)
eclipsePlugin-test/src/org/eclipse/jdt/testplugin/JavaProjectHelper.java:576
↓ 5 callers
Method
addToWorkList
Add a worklist item to the worklist. This method maintains the invariant that all of the worklist items representing application codebases appear <em>
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/impl/ClassPathBuilder.java:785
↓ 5 callers
Method
adjustBugPatternForMessage
()
spotbugs/src/main/java/edu/umd/cs/findbugs/WarningSuppressor.java:123
↓ 5 callers
Method
allocateValueNumberArray
Creates a new empty array (if needed) with given size. @param size array size @return if size is zero, returns {@link #EMPTY_INPUT_VALUE_L
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrameModelingVisitor.java:659
↓ 5 callers
Method
analyzeInstruction
(Instruction ins)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/type/TypeFrameModelingVisitor.java:193
↓ 5 callers
Method
apply
(URI input)
spotbugsTestCases/src/java/sfBugs/Bug3589328.java:17
↓ 5 callers
Method
apply
(StateSet stateSet, int basicBlockId)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/obl/ObligationPolicyDatabaseAction.java:51
↓ 5 callers
Method
assertMethodBugsCount
(String methodName, int expectedCount)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/WarningSuppressorTest.java:71
↓ 5 callers
Method
assertNoBugAtField
Asserts that there are exactly zero bug instances with the given bug type in the given class at the given field. The match is checked according to {@l
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:355
↓ 5 callers
Method
assertNoExposeBug
()
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/detect/FindReturnRefTest.java:337
↓ 5 callers
Method
assertNoUnsafeLockBugs
()
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/detect/FindImproperSynchronizationTest.java:501
↓ 5 callers
Method
assertSelectedFilter
(String expectedFilter, Map<String, Boolean> actualFilters)
eclipsePlugin-test/src/de/tobject/findbugs/properties/test/PropertiesPageTest.java:467
↓ 5 callers
Method
assertTrue
(boolean b)
spotbugsTestCases/src/java/npe/GuaranteedFieldDereference.java:59
↓ 5 callers
Method
assertTrue
(boolean b)
spotbugsTestCases/src/java/npe/GuaranteedDereference.java:46
↓ 5 callers
Method
availableLoadMapAsString
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.java:98
↓ 5 callers
Method
build
Build the classpath. @param classPath IClassPath object to build @param progress IClassPathBuilderProgress callback @throws Res
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IClassPathBuilder.java:67
↓ 5 callers
Method
build
()
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/analysis/ClassInfo.java:115
↓ 5 callers
Method
buildSAXReader
()
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/XMLUtil.java:41
↓ 5 callers
Method
canonicalString
(String s)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/analysis/AnnotationValue.java:103
↓ 5 callers
Method
checkParm
(int seen, int fastOpBase, int slowOp, int parmSize)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/UselessSubclassMethod.java:253
↓ 5 callers
Method
checkSorter
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugTreeModel.java:617
↓ 5 callers
Method
checkedCast
(Class<E> analysisClass, Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/impl/AnalysisCache.java:146
↓ 5 callers
Method
cleanClassClache
(IProject project)
eclipsePlugin/src/de/tobject/findbugs/builder/FindBugs2Eclipse.java:245
↓ 5 callers
Method
clearFilters
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugContentProvider.java:254
↓ 5 callers
Method
close
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/NewFilterFrame.java:65
↓ 5 callers
Method
closeDialogAndStoreResult
(FilterBugsDialog dialog)
eclipsePlugin-test/src/de/tobject/findbugs/view/explorer/test/FilterBugsDialogTest.java:162
↓ 5 callers
Method
closeSilently
(@WillClose InputStream in)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/Util.java:148
↓ 5 callers
Method
containsPrefix
(ClassFeatureSet set, String prefix)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/model/ClassFeatureSetTest.java:124
↓ 5 callers
Method
copyFrom
Make this StateSet an exact copy of the given StateSet. @param other a StateSet; this StateSet will be made identical to it
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/obl/StateSet.java:158
↓ 5 callers
Method
createBugInstance
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindNonShortCircuit.java:207
↓ 5 callers
Method
createClassDescriptorFromFieldSignature
Create a class descriptor from a field signature
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/DescriptorFactory.java:277
↓ 5 callers
Method
createColumn
@param currentColumnIdx @param factoriesTable
eclipsePlugin/src/de/tobject/findbugs/properties/DetectorConfigurationTab.java:611
↓ 5 callers
Method
createFilesystemCodeBase
(FilesystemCodeBaseLocator codeBaseLocator)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/impl/ClassFactory.java:97
↓ 5 callers
Method
doTestDecoratorWithoutBugs
(Object resourceAdaptable)
eclipsePlugin-test/src/de/tobject/findbugs/decorator/test/LabelDecoratorTest.java:90
↓ 5 callers
Method
doVisitMethod
(Method method)
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/PreorderVisitor.java:311
↓ 5 callers
Method
elementChecked
(Object element, boolean checked)
eclipsePlugin/src/de/tobject/findbugs/view/explorer/FilterBugsDialog.java:547
↓ 5 callers
Method
equalTo
(int synthetic, ImmutableFoobarValue another)
spotbugsTestCases/src/java/ghIssues/issue543/ImmutableFoobarValue.java:156
↓ 5 callers
Method
equals
(Object o)
spotbugsTestCases/src/java/equals/GetClassAndClassConstant.java:13
↓ 5 callers
Method
equals
(Object obj)
spotbugsTestCases/src/java/ghIssues/Issue3528.java:9
↓ 5 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierValue.java:391
↓ 5 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/obl/State.java:70
↓ 5 callers
Method
error
Output an appropriate error when a BCEL class looks wrong. @param cname name of the BCEL class
spotbugs/src/main/java/edu/umd/cs/findbugs/CheckBcel.java:69
↓ 5 callers
Method
escapeXml
Escape XML entities and illegal characters in the given string. This enhances the functionality of org.apache.commons.lang.StringEscapeUtils.escapeXml
spotbugs/src/main/java/edu/umd/cs/findbugs/util/Strings.java:123
↓ 5 callers
Method
execute
Run the algorithm. Afterwards, caller can use the getStartFact() and getResultFact() methods to to get dataflow facts at start and result points of ea
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Dataflow.java:142
↓ 5 callers
Method
f1
()
spotbugsTestCases/src/java/sfBugs/Bug3185865.java:4
↓ 5 callers
Method
fail
()
spotbugsTestCases/src/java/npe/SecondKaboom.java:7
← previous
next →
1,301–1,400 of 19,706, ranked by callers