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
↓ 31 callers
Method
getType
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindRefComparison.java:320
↓ 31 callers
Method
indexOf
(Object o)
spotbugsTestCases/src/java/bugIdeas/Ideas_2008_12_02.java:24
↓ 31 callers
Method
isInitialParameter
@return Returns the isInitialParameter.
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:1013
↓ 31 callers
Method
remove
(IPathElement holder)
eclipsePlugin/src/de/tobject/findbugs/properties/PathsProvider.java:231
↓ 30 callers
Method
addAll
Add all members of other StreamEquivalenceClass to this one. @param other the other StreamEquivalenceClass
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/StreamEquivalenceClass.java:66
↓ 30 callers
Method
addDefaultAnnotation
Add a default annotation to the database. @param target one of AnnotationDatabase.METHOD, AnnotationDatabase.FIELD, AnnotationD
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/INullnessAnnotationDatabase.java:137
↓ 30 callers
Method
createClassDescriptorFromDottedClassName
(String dottedClassName)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/DescriptorFactory.java:349
↓ 30 callers
Method
equals
(Object obj)
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugGroup.java:252
↓ 30 callers
Method
getFactAfterLocation
Get the dataflow fact representing the point just after given Location. Note "after" is meant in the logical sense, so for backward analyses, after me
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/DataflowAnalysis.java:85
↓ 30 callers
Method
getId
()
eclipsePlugin/src/de/tobject/findbugs/properties/IPathElement.java:29
↓ 30 callers
Method
getLastInstruction
Get the last instruction in the basic block.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/BasicBlock.java:187
↓ 30 callers
Method
getLastVersion
()
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:2435
↓ 30 callers
Method
getSignature
@return Returns the field/method signature
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/FieldOrMethodName.java:39
↓ 30 callers
Method
pushValue
(Type value)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/type/TypeFrame.java:138
↓ 30 callers
Method
remove
(Object o)
spotbugsTestCases/src/java/gcUnrelatedTypes/AllListsCouldBeEqual.java:100
↓ 30 callers
Method
setString
(String s)
spotbugsTestCases/src/java/sfBugs/Bug1925175.java:7
↓ 30 callers
Method
write
Add given object to the tree. @param obj the object
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/Dom4JXMLOutput.java:145
↓ 29 callers
Method
bugType
Sets the bug type for the bug instance. @param bugType the type of the bug @return this builder instance
test-harness/src/main/java/edu/umd/cs/findbugs/test/matcher/BugInstanceMatcherBuilder.java:59
↓ 29 callers
Method
getNumParameters
Get the number of parameters in the signature. @return the number of parameters
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SignatureParser.java:209
↓ 28 callers
Method
addMethodAnnotation
(@DottedClassName String cName, String mName, String mSig, boolean isStatic, DefaultEncodingAn
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/DefaultEncodingDetector.java:79
↓ 28 callers
Method
create
()
spotbugsTestCases/src/java/ghIssues/issue600/MyAutocloseable.java:13
↓ 28 callers
Method
end
@param c The class of detector, analyzer or others that is NOT shared among worker threads.
spotbugs/src/main/java/edu/umd/cs/findbugs/log/Profiler.java:267
↓ 28 callers
Method
exampleMethod
()
spotbugsTestCases/src/java/ghIssues/issue600/MyAutocloseable.java:9
↓ 28 callers
Method
getDatabase
Get a database. <em>Note</em>: an unchecked analysis exception will be thrown if the database cannot be instantiated. Since instantiation of most kin
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IAnalysisCache.java:173
↓ 28 callers
Method
getProperty
Get value of given property. @param name name of the property to get @return the value of the named property, or null if the property has
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:680
↓ 28 callers
Method
getResultFact
Get the result fact for given basic block. @param block the basic block
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/DataflowAnalysis.java:61
↓ 28 callers
Method
getSelection
()
eclipsePlugin/src/de/tobject/findbugs/actions/OpenPropertiesAction.java:90
↓ 28 callers
Method
getVersionNum
(BugCollection collection, String val, boolean roundToLaterVersion)
spotbugs/src/main/java/edu/umd/cs/findbugs/workflow/Filter.java:265
↓ 28 callers
Method
retainAll
(Collection<?> c)
spotbugsTestCases/src/java/gcUnrelatedTypes/AllListsCouldBeEqual.java:118
↓ 28 callers
Method
setProperty
Set value of given property. @param name name of the property to set @param value the value of the property @return this object
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:719
↓ 27 callers
Method
add
Add a BugInstance to this BugCollection. This just calls add(bugInstance, true). @param bugInstance the BugInstance @return true if the Bu
spotbugs/src/main/java/edu/umd/cs/findbugs/SortedBugCollection.java:226
↓ 27 callers
Method
create
(String className, String name, String signature, int accessFlags)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/engine/ClassParser.java:368
↓ 27 callers
Method
equal
(Object o)
spotbugsTestCases/src/java/BadSpellingOfEquals.java:4
↓ 27 callers
Method
getInputStream
Get an InputStream on data. @return an InputStream on the data in the source file, starting from given offset
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SourceFile.java:136
↓ 27 callers
Method
getPrev
Get the previous PatternMatchElement.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/bcp/PatternElementMatch.java:101
↓ 27 callers
Method
getProjectStats
Get ProjectStats object used to store statistics about the overall project being analyzed.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugReporter.java:104
↓ 27 callers
Method
getSizeOfSurroundingTryBlock
(@CheckForNull Method method, Class<? extends Throwable> exceptionClass, int pc)
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/Util.java:72
↓ 27 callers
Method
getValue
Get the value of given annotation element. See <a href= "http://asm.objectweb.org/current/doc/javadoc/user/org/objectweb/asm/AnnotationVisitor.html" >
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/analysis/AnnotationValue.java:83
↓ 27 callers
Method
removeAll
(Collection<?> c)
spotbugsTestCases/src/java/gcUnrelatedTypes/AllListsCouldBeEqual.java:112
↓ 26 callers
Method
equals
(CovariantEqualsNegativeCases other)
spotbugsTestCases/src/java/com/google/errorprone/bugpatterns/CovariantEqualsNegativeCases.java:50
↓ 26 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/npe/IsNullValue.java:168
↓ 26 callers
Method
findMethod
Find an XMethod matching given parameters. @param methodName name of the method @param methodSig signature of the method @param
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XClass.java:97
↓ 26 callers
Method
finish
Finish reporting bugs. If any bug reports have been queued, calling this method will flush them.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugReporter.java:85
↓ 26 callers
Method
getAnnotation
(ClassDescriptor desc)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XClass.java:83
↓ 26 callers
Method
getBasicBlock
Get the basic block.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Location.java:98
↓ 26 callers
Method
getPreferenceStore
()
eclipsePlugin-test/src/de/tobject/findbugs/test/AbstractPluginTest.java:363
↓ 26 callers
Method
getShortName
Get the short name of the Detector. This is the name of the detector class without the package qualification.
spotbugs/src/main/java/edu/umd/cs/findbugs/DetectorFactory.java:366
↓ 26 callers
Method
getStartFact
Get the start fact for given basic block. @param block the basic block
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/DataflowAnalysis.java:53
↓ 26 callers
Method
getType
(String className, List<? extends ReferenceType> parameters)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/generic/GenericUtilities.java:245
↓ 26 callers
Method
hasFlag
(int flag)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumber.java:114
↓ 26 callers
Method
isValidClassName
Return whether or not the given class name is valid. @param className a possible class name @return true if it's a valid class name, false
spotbugs/src/main/java/edu/umd/cs/findbugs/util/ClassName.java:195
↓ 26 callers
Method
read
Read source info from given InputStream. The stream is guaranteed to be closed. @param inputStream the InputStream @throws IOException
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SourceInfoMap.java:335
↓ 26 callers
Method
start
@param c The class of detector, analyzer or others that is NOT shared among worker threads.
spotbugs/src/main/java/edu/umd/cs/findbugs/log/Profiler.java:251
↓ 25 callers
Method
addOptionalAnnotation
(@CheckForNull BugAnnotation annotation)
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:2069
↓ 25 callers
Method
assertBugInClassCount
Asserts that there are exactly the given number of bug instances with the given bug type in the given class. The match is checked according to {@link
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:212
↓ 25 callers
Method
equals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ch/ClassVertex.java:55
↓ 25 callers
Method
getAbbrev
Get the abbreviation for this bug code.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCode.java:61
↓ 25 callers
Method
getFields
()
spotbugsTestCases/src/java/sfBugs/Bug3559113.java:83
↓ 25 callers
Method
getResource
(String name)
spotbugs/src/main/java/edu/umd/cs/findbugs/Plugin.java:616
↓ 25 callers
Method
isValid
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ca/CallList.java:35
↓ 25 callers
Method
setDescription
Set a description of this bug annotation. The description is a key for the FindBugsAnnotationDescriptions resource bundle.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugAnnotation.java:72
↓ 25 callers
Method
setPriority
Set the bug priority.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:394
↓ 25 callers
Method
setVisible
(boolean b)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/SplashFrame.java:87
↓ 24 callers
Method
addValueSource
(@CheckForNull OpcodeStack.Item item, DismantleBytecode dbc)
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:2234
↓ 24 callers
Method
emptyMap
@return an empty (unmodifiable) {@link AvailableLoadBiMap}
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.java:698
↓ 24 callers
Method
getClassName
@return Returns the class name in VM format, e.g. "java/lang/String"
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/ClassDescriptor.java:65
↓ 24 callers
Method
getResource
Convenient method to get resources from adaptables @param element an IAdaptable object which may provide an adapter for IResour
eclipsePlugin/src/de/tobject/findbugs/builder/ResourceUtils.java:372
↓ 24 callers
Method
setOf
(T... a)
eclipsePlugin-test/src/de/tobject/findbugs/view/test/AbstractBugExplorerViewTest.java:49
↓ 24 callers
Method
sort
(List<DateMgr>[] aDateMgr)
spotbugsTestCases/src/java/sfBugs/Bug1487961.java:15
↓ 23 callers
Method
addAll
Add all exceptions in the given set. @param other the set
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/type/ExceptionSet.java:273
↓ 23 callers
Method
addSwitchWithOptionalExtraPart
Add a command line switch that allows optional extra information to be specified as part of it. @param option the option, must start with
spotbugs/src/main/java/edu/umd/cs/findbugs/config/CommandLine.java:119
↓ 23 callers
Method
assertDABug
(String method, int line)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/detect/FindArgumentAssertionsTest.java:52
↓ 23 callers
Method
equals
(Object o)
spotbugsTestCases/src/java/equals/DefaultEquals.java:7
↓ 23 callers
Method
find
(String xpath)
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/XPathFind.java:51
↓ 23 callers
Method
getAbbrev
Get the BugKind
spotbugs/src/main/java/edu/umd/cs/findbugs/BugPattern.java:113
↓ 23 callers
Method
getExceptionThrower
Get the instruction for which this block is an exception thrower. @return the instruction, or null if this block is not an exception thrower
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/BasicBlock.java:159
↓ 23 callers
Method
getFilterSettings
Get ProjectFilterSettings. @return the ProjectFilterSettings
spotbugs/src/main/java/edu/umd/cs/findbugs/config/UserPreferences.java:454
↓ 23 callers
Method
getLineNumber
()
spotbugs/src/main/java/edu/umd/cs/findbugs/jaif/JAIFScanner.java:148
↓ 23 callers
Method
getLocalVariableAnnotation
(Method method, Location location, IndexedInstruction ins)
spotbugs/src/main/java/edu/umd/cs/findbugs/LocalVariableAnnotation.java:142
↓ 23 callers
Method
getShell
Returns the SWT Shell of the active workbench window or <code>null</code> if no workbench window is active. @return the SWT Shell of the active workb
eclipsePlugin/src/de/tobject/findbugs/FindbugsPlugin.java:438
↓ 23 callers
Method
getType
(XField xfield)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/type/TypeFrameModelingVisitor.java:367
↓ 23 callers
Method
setValue
(Object value)
spotbugsTestCases/src/java/RLETest.java:11
↓ 23 callers
Method
values
()
spotbugsTestCases/src/java/sfBugs/Bug1923609.java:127
↓ 22 callers
Method
addAll
(final Iterator<T> it, final C collection)
spotbugsTestCases/src/java/sfBugs/Bug1650397.java:16
↓ 22 callers
Method
assertBugInMethodCount
Asserts that there are exactly the given number of bug instances with the given bug type in the given method. The match is checked according to {@link
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:262
↓ 22 callers
Method
containsValue
(Object value)
spotbugsTestCases/src/java/sfBugs/Bug1923609.java:73
↓ 22 callers
Method
delete
Removes a IJavaElement @param elem The element to remove @throws CoreException Removing failed
eclipsePlugin-test/src/org/eclipse/jdt/testplugin/JavaProjectHelper.java:150
↓ 22 callers
Method
foo
(@CheckForNull Object arg)
spotbugsTestCases/src/java/sfBugs/Bug1795536.java:7
↓ 22 callers
Method
getConnection
()
spotbugsTestCases/src/java/sfBugs/Bug3506138.java:12
↓ 22 callers
Method
getInstance
Get the value corresponding to the object instance used in the given instruction. This relies on the observation that in instructions which use an obj
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:282
↓ 22 callers
Method
getLocation
@return Returns the location.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/SourceSinkInfo.java:82
↓ 22 callers
Method
getLookupFailureCallback
Get the RepositoryLookupFailureCallback. @return the RepositoryLookupFailureCallback
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:273
↓ 22 callers
Method
getMessage
()
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/InvalidClassFileFormatException.java:68
↓ 22 callers
Method
getMethodAnalysis
Retrieve a method analysis object. @param analysisClass class the method analysis object should belong to @param methodDescriptor
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:174
↓ 22 callers
Method
getSignature
()
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:839
↓ 22 callers
Method
getTimestamp
@return Returns the timestamp.
spotbugs/src/main/java/edu/umd/cs/findbugs/AppVersion.java:97
↓ 22 callers
Method
getTypeDataflow
Get a TypeDataflow for given method. @param method the method @return the TypeDataflow
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:357
↓ 22 callers
Method
getValue
()
spotbugsTestCases/src/java/RLETest.java:5
↓ 22 callers
Method
parameterSignatureIterator
Get an Iterator over signatures of the method parameters. @return Iterator which returns the parameter type signatures in order
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SignatureParser.java:182
↓ 22 callers
Method
putAll
(Map<? extends T1, ? extends T2> t)
spotbugsTestCases/src/java/sfBugs/Bug1923609.java:109
← previous
next →
301–400 of 19,706, ranked by callers