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
↓ 3 callers
Method
bar
()
spotbugsTestCases/src/java/BadCast.java:45
↓ 3 callers
Method
beginTask
(String name, int totalWork)
eclipsePlugin/src/de/tobject/findbugs/reporter/ThrottledProgressMonitor.java:62
↓ 3 callers
Method
booleanComparisonMethod
(String methodName)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindSelfComparison2.java:87
↓ 3 callers
Method
bridgeFrom
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XMethod.java:92
↓ 3 callers
Method
bufferedReader
(@WillCloseWhenClosed InputStream in)
spotbugs/src/main/java/edu/umd/cs/findbugs/charsets/UserTextFile.java:55
↓ 3 callers
Method
bugPatternIterator
Get an Iterator over all registered bug patterns.
spotbugs/src/main/java/edu/umd/cs/findbugs/DetectorFactoryCollection.java:458
↓ 3 callers
Method
bugsPopulated
()
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:354
↓ 3 callers
Method
buildConstraintGraph
Build a constraint graph. This represents ordering constraints between Detectors. A topological sort of the constraint graph will yield a correct orde
spotbugs/src/main/java/edu/umd/cs/findbugs/plan/ExecutionPlan.java:271
↓ 3 callers
Method
buildUselessSuppressionBugInstance
(UselessSuppressionDetector detector)
spotbugs/src/main/java/edu/umd/cs/findbugs/WarningSuppressor.java:100
↓ 3 callers
Method
cachedBitsets
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:459
↓ 3 callers
Method
cachedLoopExits
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:498
↓ 3 callers
Method
cancel
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/IViewerRefreshJob.java:25
↓ 3 callers
Method
cannotDisable
()
spotbugs/src/main/java/edu/umd/cs/findbugs/Plugin.java:559
↓ 3 callers
Method
canonicalize
(MethodDescriptor m)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/DescriptorFactory.java:189
↓ 3 callers
Method
changed
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/AbstractSwingGuiCallback.java:244
↓ 3 callers
Method
charToLineNum
(int charNum)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/SourceCodeDisplay.java:300
↓ 3 callers
Method
check
(ClassDescriptor c)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/EqualsOperandShouldHaveClassCompatibleWithThis.java:103
↓ 3 callers
Method
check
(int pos)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindHEmismatch.java:529
↓ 3 callers
Method
check
(String className, String[] methodNames, int target, int url)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/URLProblems.java:109
↓ 3 callers
Method
checkBoolean
(String attrVal, String attrName)
spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/MineBugHistoryTask.java:78
↓ 3 callers
Method
checkCancellation
(final IProgressMonitor monitor)
eclipsePlugin/src/de/tobject/findbugs/view/explorer/RefreshJob.java:188
↓ 3 callers
Method
checkConstantPoolIndex
Check that a constant pool index is valid. @param index the index to check @throws InvalidClassFileFormatException if the inde
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/engine/ClassParser.java:345
↓ 3 callers
Method
checkConstantTag
Check that a constant has the expected tag. @param constant the constant to check @param expectedTag the expected constant tag
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/engine/ClassParser.java:361
↓ 3 callers
Method
checkForInitialization
(XField f)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/InitializeNonnullFieldsInConstructor.java:82
↓ 3 callers
Method
checkForSelfOperation
(int opCode, String op)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindSelfComparison.java:260
↓ 3 callers
Method
checkForSelfOperation
@param classContext @param location @param method @param methodGen @param sourceFile @throws DataflowAnalysisException
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindSelfComparison2.java:177
↓ 3 callers
Method
checkStackValue
(int arg)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindDoubleCheck.java:223
↓ 3 callers
Method
clear
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/obl/StateSet.java:101
↓ 3 callers
Method
clearAll
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindNonShortCircuit.java:83
↓ 3 callers
Method
clearAllCategories
Clear all bug categories from the hidden list. So the effect is to enable all bug categories.
spotbugs/src/main/java/edu/umd/cs/findbugs/config/ProjectFilterSettings.java:357
↓ 3 callers
Method
clearAllDeadStores
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/SwitchFallthrough.java:376
↓ 3 callers
Method
clearBugsState
()
eclipsePlugin-test/src/de/tobject/findbugs/test/AbstractPluginTest.java:337
↓ 3 callers
Method
click
()
spotbugsTestCases/src/java/RandomStuff.java:4
↓ 3 callers
Method
close
(@WillClose Object object1, @WillClose Object object2)
spotbugsTestCases/src/java/sfBugs/Bug3600398.java:61
↓ 3 callers
Method
closeResultSet
(ResultSet rs)
spotbugsTestCases/src/java/sfBugs/Bug3415313.java:158
↓ 3 callers
Method
compareNullElements
(Object a, Object b)
spotbugs/src/main/java/edu/umd/cs/findbugs/FuzzyBugComparator.java:224
↓ 3 callers
Method
compareNullElements
(Object lhs, Object rhs)
spotbugs/src/main/java/edu/umd/cs/findbugs/SloppyBugComparator.java:46
↓ 3 callers
Method
compareTo
(long a, long b)
spotbugsTestCases/src/java/sfBugsNew/Feature333.java:10
↓ 3 callers
Method
compareTo
(FieldDescriptor o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SourceInfoMap.java:68
↓ 3 callers
Method
compareTo
(Stream other)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/Stream.java:294
↓ 3 callers
Method
compute
()
spotbugsTestCases/src/java/ghIssues/Issue1988.java:8
↓ 3 callers
Method
configureAction
(Action action, String textKey, String tooltipKey, String imageKey)
eclipsePlugin/src/de/tobject/findbugs/view/AbstractFindbugsView.java:199
↓ 3 callers
Method
constructTypeQualifierAnnotation
Resolve a raw AnnotationValue into a TypeQualifierAnnotation. @param v a raw AnnotationValue @return a constructed TypeQualifierAnnotation
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierApplications.java:251
↓ 3 callers
Method
containsInstruction
Return whether or not the basic block contains the given instruction. @param handle the instruction @return true if the block contains the
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/BasicBlock.java:418
↓ 3 callers
Method
convertFieldAnnotation
Rewrite a FieldAnnotation to update the class name and field signature, if needed. @param classNameRewriter a ClassNameRewriter @param ann
spotbugs/src/main/java/edu/umd/cs/findbugs/model/ClassNameRewriterUtil.java:116
↓ 3 callers
Method
convertMethodAnnotation
Rewrite a MethodAnnotation to update the class name, and any class names mentioned in the method signature. @param classNameRewriter a Cla
spotbugs/src/main/java/edu/umd/cs/findbugs/model/ClassNameRewriterUtil.java:96
↓ 3 callers
Method
copyMapValue
(Map<K, V> map, K from, K to)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierValueSet.java:88
↓ 3 callers
Method
copyOf
(byte[] original, int newLength)
spotbugs/src/main/java/edu/umd/cs/findbugs/io/IO.java:83
↓ 3 callers
Method
couldBeLambda
Checks if the method could be a lambda. Notice this is a best-check, since once compiled lambda methods are not univocally distinguishable. @param m
spotbugs/src/main/java/edu/umd/cs/findbugs/bytecode/MemberUtils.java:125
↓ 3 callers
Method
createBugInstance
(BytecodeScanningDetector detector, String bugType, XField lock, XField assignedBackingCollection)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindImproperSynchronization.java:801
↓ 3 callers
Method
createClassPath
()
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IClassFactory.java:29
↓ 3 callers
Method
createClassPathBuilder
(IErrorLogger errorLogger)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IClassFactory.java:31
↓ 3 callers
Method
createDefaultEmptyBugCollection
(IProject project)
eclipsePlugin/src/de/tobject/findbugs/FindbugsPlugin.java:668
↓ 3 callers
Method
createDefaultUserPreferences
()
eclipsePlugin/src/de/tobject/findbugs/preferences/FindBugsPreferenceInitializer.java:74
↓ 3 callers
Method
createEmptyCodeBase
(FilesystemCodeBaseLocator codeBaseLocator, File file)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/impl/ClassFactory.java:121
↓ 3 callers
Method
createFact
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberAnalysis.java:177
↓ 3 callers
Method
createFilePanel
(final String label, final JList<String> list, final DefaultListModel<String> listModel, final int
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/NewProjectWizard.java:362
↓ 3 callers
Method
createFilterProvider
(TableViewer viewer, FilterKind kind, FindbugsPropertyPage page)
eclipsePlugin/src/de/tobject/findbugs/properties/FilterFilesTab.java:203
↓ 3 callers
Method
createFindbugsEngine
Create the FindBugs engine (the Java process that will run whatever FindBugs-related program this task is going to execute).
spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/AbstractFindBugsTask.java:316
↓ 3 callers
Method
createGroup
(Composite composite, String name)
eclipsePlugin/src/de/tobject/findbugs/view/explorer/FilterBugsDialog.java:460
↓ 3 callers
Method
createImportDeclaration
(AST ast, Class<?> importClass)
eclipsePlugin/src/edu/umd/cs/findbugs/plugin/eclipse/quickfix/CreateDoPrivilegedBlockResolution.java:257
↓ 3 callers
Method
createMatcher
(String s)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/bcp/Invoke.java:186
↓ 3 callers
Method
createRange
(String start, String end)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SourceInfoMap.java:452
↓ 3 callers
Method
createReallyUnknown
Factory method to create an unknown source line annotation. This doesn't use the analysis context. @param className the class name @return
spotbugs/src/main/java/edu/umd/cs/findbugs/SourceLineAnnotation.java:200
↓ 3 callers
Method
createScanner
Create a new scanner.
spotbugs/src/main/java/edu/umd/cs/findbugs/InstructionScannerGenerator.java:40
↓ 3 callers
Method
createUnmodifiableList
(boolean clone, List<T> list)
spotbugsTestCases/src/java/ghIssues/issue543/ImmutableFoobarValue.java:410
↓ 3 callers
Method
createUnmodifiableSet
Unmodifiable set constructed from list to avoid rehashing.
spotbugsTestCases/src/java/ghIssues/issue543/ImmutableFoobarValue.java:427
↓ 3 callers
Method
createZipFile
(String fileName)
spotbugs/src/main/java/edu/umd/cs/findbugs/workflow/RejarClassesForAnalysis.java:577
↓ 3 callers
Method
decodeIds
(String text)
eclipsePlugin/src/de/tobject/findbugs/preferences/FindBugsConstants.java:130
↓ 3 callers
Method
delay
()
spotbugs/src/main/java/edu/umd/cs/findbugs/io/SlowInputStream.java:38
↓ 3 callers
Method
deleteObligation
Remove an Obligation from every State in the StateSet. @param obligation the obligation to remove @param basicBlockId the id of
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/obl/StateSet.java:216
↓ 3 callers
Method
density
(int bugs, int ncss)
spotbugs/src/main/java/edu/umd/cs/findbugs/workflow/DefectDensity.java:43
↓ 3 callers
Method
displayWarningAndAskIfWeShouldContinue
(String msg, String title)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/NewProjectWizard.java:179
↓ 3 callers
Method
doForwardSubstitution
Determine whether forward substitution should be performed for the heap location referenced by the current instruction. @return true if we should do
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrameModelingVisitor.java:177
↓ 3 callers
Method
doNullTest
(IType parentType, String anonymousClassNumber)
eclipsePlugin-test/src/de/tobject/findbugs/reporter/test/JdtUtilTest.java:100
↓ 3 callers
Method
doPositiveTest
(IType parentType, String anonymousClassNumber)
eclipsePlugin-test/src/de/tobject/findbugs/reporter/test/JdtUtilTest.java:105
↓ 3 callers
Method
doReadXML
(@WillClose InputStream in, @CheckForNull File base)
spotbugs/src/main/java/edu/umd/cs/findbugs/SortedBugCollection.java:332
↓ 3 callers
Method
doRedundantLoadElimination
Determine whether redundant load elimination should be performed for the heap location referenced by the current instruction. @return true if we shou
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrameModelingVisitor.java:156
↓ 3 callers
Method
doReportBug
Subclasses must override this. It will be called only for bugs which meet the priority threshold. @param bugInstance the bug to report
spotbugs/src/main/java/edu/umd/cs/findbugs/AbstractBugReporter.java:424
↓ 3 callers
Method
doTestDecoratorWithBugs
(Object resourceAdaptable, int expectedBugsCount)
eclipsePlugin-test/src/de/tobject/findbugs/decorator/test/LabelDecoratorTest.java:84
↓ 3 callers
Method
dotsToRegex
replace the dots in a fully-qualified class/package name to a regular expression fragment that will match file names. @param dotsName such
spotbugs/src/main/java/edu/umd/cs/findbugs/ClassScreener.java:88
↓ 3 callers
Method
dumpDataflowInformation
(Method method)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:894
↓ 3 callers
Method
edgeTransfer
Edge transfer function. Modify the given fact that is true on the (logical) edge source to modify it so that it is true at the (logical) edge target.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/DataflowAnalysis.java:172
↓ 3 callers
Method
edgeTypeToString
Get string representing given edge type.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Edge.java:239
↓ 3 callers
Method
emitLiteral
Downcall method to emit literal text, in which any occurrences of the metacharacters are quoted. @param s the literal text to emit
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/QuoteMetaCharacters.java:82
↓ 3 callers
Method
enable
(Matcher m)
spotbugs/src/main/java/edu/umd/cs/findbugs/filter/Filter.java:118
↓ 3 callers
Method
enableBugCategory
(String category)
eclipsePlugin-test/src/de/tobject/findbugs/test/AbstractQuickfixTest.java:147
↓ 3 callers
Method
enterSwitch
(DismantleBytecode dbc, @CheckForNull XClass enumType)
spotbugs/src/main/java/edu/umd/cs/findbugs/SwitchHandler.java:71
↓ 3 callers
Method
entrySet
()
spotbugs/src/main/java/edu/umd/cs/findbugs/util/FractionalMultiset.java:82
↓ 3 callers
Method
enumsThatExist
(BugAspects a)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugTreeModel.java:248
↓ 3 callers
Method
equalBlocks
(InstructionHandle ih1, InstructionHandle ih2, int length, int[] positions)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/engine/bcel/FinallyDuplicatesInfoFactory.java:231
↓ 3 callers
Method
equals
(Object obj)
spotbugsTestCases/src/java/sfBugs/Bug1983674a.java:16
↓ 3 callers
Method
equals
(Object obj)
spotbugsTestCases/src/java/bugIdeas/Ideas_2010_10_04.java:28
↓ 3 callers
Method
equals
(Object obj)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/npe/IsNullValueFrame.java:64
↓ 3 callers
Method
equalsConstant
(byte high, byte low, String cnst, ConstantPool cp)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/MutableClasses.java:219
↓ 3 callers
Method
extractAnnotation
(Collection<AnnotationValue> resolvedTypeQualifiers, TypeQualifierValue<?> typeQualifierValue)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierApplications.java:530
↓ 3 callers
Method
extractInt
Extract an int from bytes at the given offset in the array. @param arr the array @param offset the offset in the array
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/BytecodeScanner.java:76
↓ 3 callers
Method
extractPackageName
extract the package name from a dotted class name. Package names are always in dotted format. @param className a dotted class name @return
spotbugs/src/main/java/edu/umd/cs/findbugs/util/ClassName.java:165
↓ 3 callers
Method
extractValue
(BackIterator iterator, String defSignature)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/engine/bcel/ValueRangeAnalysisFactory.java:409
↓ 3 callers
Method
f
(int x)
spotbugsTestCases/src/java/nullnessAnnotations/UseAnnotations.java:8
← previous
next →
2,101–2,200 of 19,706, ranked by callers