MCPcopy Create free account

hub / github.com/spotbugs/spotbugs / functions

Functions19,706 in github.com/spotbugs/spotbugs

↓ 12,952 callersMethodadd
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/BugCollection.java:189
↓ 1,424 callersMethodequals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/Stream.java:282
↓ 1,374 callersMethodprintln
(Object s)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/Debug.java:30
↓ 1,327 callersMethodprintln
(TestEnum testEnum)
spotbugsTestCases/src/java/ghIssues/issue1313/Issue1313.java:12
↓ 1,318 callersMethodget
()
spotbugsTestCases/src/java/sfBugs/Bug3483863.java:13
↓ 828 callersMethodgetName
Get the name of the field/method.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassMember.java:51
↓ 645 callersMethodcontains
(String fileName)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/SourceFinder.java:96
↓ 627 callersMethodtoString
(ClassAnnotation primaryClass)
spotbugs/src/main/java/edu/umd/cs/findbugs/BugAnnotation.java:82
↓ 609 callersMethodassertBugTypeCount
Asserts that there are exactly the given number of bug instances with the given bug type. The match is checked according to {@link BugInstanceMatcher}
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:171
↓ 551 callersMethodgetClassName
Get the full (dotted) name of the class (if the object represents a class) or the class the entity is defined in (if a field or method).
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassMember.java:41
↓ 525 callersMethodappend
Append given BasicBlock id to the path. @param id a BasicBlock id (label)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Path.java:57
↓ 519 callersMethodgetSignature
Get the signature representing the field/method's type.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassMember.java:57
↓ 511 callersMethodput
(K k, V v)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/MergeMap.java:66
↓ 498 callersMethodequals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Path.java:242
↓ 488 callersMethodperformAnalysis
()
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/nullness/TestCheckerFrameworkTypeAnnotations.java:13
↓ 449 callersMethodnext
Get the ICodeBaseEntry representing the next resource in the code base. @return the ICodeBaseEntry representing the next resource in the code
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/ICodeBaseIterator.java:49
↓ 446 callersMethodassertEquals
(Object actual, ITreeContentProvider contentProvider)
eclipsePlugin-test/src/de/tobject/findbugs/view/test/ExpectedViewElement.java:32
↓ 376 callersMethodhasNext
Return true if there is another resource to be scanned, false otherwise. @return true if there is another resource to be scanned, false otherwise
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/ICodeBaseIterator.java:40
↓ 369 callersMethodassertTrue
(boolean b)
spotbugsTestCases/src/java/npe/SecondKaboom.java:9
↓ 351 callersMethodaddClassAndMethod
(MethodDescriptor methodDescriptor)
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:828
↓ 313 callersMethodgetStackItem
(int stackOffset)
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:3262
↓ 304 callersMethodgetClass
(ClassLoader loader, @DottedClassName String className, Class<T> type)
spotbugs/src/main/java/edu/umd/cs/findbugs/PluginLoader.java:702
↓ 291 callersMethodappend
()
spotbugsTestCases/src/java/sfBugs/Bug2824716.java:11
↓ 287 callersMethodprintln
(String string)
spotbugsTestCases/src/java11/Issue1254.java:8
↓ 286 callersMethodassertBugInMethodAtLine
Asserts that there is a bug instance with the given bug type in the given class in the given method at the given line. The match is checked according
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:297
↓ 277 callersMethodreportBug
Report a bug. The implementation may report the bug immediately, or queue it for later. @param bugInstance object describing the bug insta
spotbugs/src/main/java/edu/umd/cs/findbugs/BugReporter.java:79
↓ 275 callersMethodclose
Close the underlying resource.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/URLClassPath.java:76
↓ 274 callersMethodof
Creates a new immutable instance of a weakness @param cweid @param name @param description @param severity @return Weakness
spotbugs/src/main/java/edu/umd/cs/findbugs/cwe/Weakness.java:35
↓ 273 callersMethodsize
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ca/CallList.java:72
↓ 242 callersMethodtoString
Convert the codebase locator to a string representation. If possible two codebase locators that refer to the same codebase should produce the same str
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/ICodeBaseLocator.java:56
↓ 238 callersMethodindexOf
(BugLeafNode p)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugSet.java:417
↓ 237 callersMethodisStatic
Is the entity static?
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AccessibleEntity.java:40
↓ 233 callersMethodcurrentAnalysisContext
Get the AnalysisContext associated with this thread
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:203
↓ 233 callersMethodgetConstant
Returns a constant value for this Item, if known. NOTE: if the value is a constant Class object, the constant value returned is the name of the class.
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:849
↓ 224 callersMethodgetNameConstantOperand
If the current opcode has a reference constant operand, get its name
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java:277
↓ 222 callersMethodgetPC
()
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java:381
↓ 214 callersMethodassertBugInMethodAtField
Asserts that there is a bug instance with the given bug type in the given class in the given method at the given field. The match is checked according
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:337
↓ 211 callersMethodassertNoBugType
Asserts that there are exactly zero bug instances with the given bug type. The match is checked according to {@link BugInstanceMatcher}. @param bugTy
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:160
↓ 205 callersMethodgetBoolean
Get boolean property, returning false if a security manager prevents us from accessing system properties <p> (incomplete) list of known system propert
spotbugs/src/main/java/edu/umd/cs/findbugs/SystemProperties.java:135
↓ 205 callersMethodgetClassDescriptor
Get the ClassDescriptor representing the class (if entity is a class) or the class containing the entity (if a field or method).
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AccessibleEntity.java:76
↓ 204 callersMethodclear
Clear all entries out of this LockSet.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/LockSet.java:155
↓ 199 callersMethodset
(@CheckForNull Number o)
spotbugsTestCases/src/java/nullnessAnnotations/relax/TestNullnessRelaxation2.java:37
↓ 196 callersMethodgetJavaClass
Get the JavaClass.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:210
↓ 187 callersMethodassertFalse
(boolean b)
spotbugsTestCases/src/java/com/google/errorprone/bugpatterns/IncompatibleEqualsNegativeCases.java:116
↓ 187 callersMethodis
@param m method to check @param statuses allowed statuses @return true if method status is one of the statuses
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindNoSideEffectMethods.java:258
↓ 185 callersMethodaccumulateBug
creates individual bug instance on match
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/TypeReturnNull.java:89
↓ 180 callersMethodgetMethodName
@return Returns the methodName.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/CFG.java:194
↓ 178 callersMethodgetConstantPool
Get the constant pool for the current or most recently visited class
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/PreorderVisitor.java:484
↓ 178 callersMethodgetDefault
Returns the shared instance.
eclipsePlugin/src/de/tobject/findbugs/FindbugsPlugin.java:414
↓ 176 callersMethodhashCode
()
spotbugsTestCases/src/java/npe/InterfaceAddress.java:15
↓ 169 callersMethodaddSourceLine
Add a source line annotation. @param sourceLine the source line annotation @return this object
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:1612
↓ 168 callersMethodgetClassConstantOperand
If the current opcode has a class constant operand, get the classname, slash-formatted.
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java:301
↓ 168 callersMethodlogError
Report an error
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:357
↓ 167 callersMethodgetProject
()
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:72
↓ 163 callersMethodgetAnalysisCache
Get the analysis cache for the current thread. @return the analysis cache for the current thread
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/Global.java:56
↓ 159 callersMethodaddMethodAnnotation
Add a method annotation to the database. @param cName dotted class name @param mName method name @param mSig method
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/INullnessAnnotationDatabase.java:104
↓ 156 callersMethoddescribe
Add a description to the most recently added bug annotation. @param description the description to add @return this object
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:1924
↓ 156 callersMethodgetSigConstantOperand
If the current opcode has a reference constant operand, get its signature, slash-formatted
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java:289
↓ 147 callersMethodgetKey
(BugInstance b)
spotbugs/src/main/java/edu/umd/cs/findbugs/workflow/Churn.java:55
↓ 147 callersMethodhandleNormalInstruction
This is called to handle any instruction which does not simply copy values between stack slots. The default value is pushed (if the instruction is a s
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java:358
↓ 143 callersMethodgetCode
Return the current Code attribute; assuming one is being visited @return current code attribute
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/PreorderVisitor.java:171
↓ 143 callersMethodprint
(String msg)
spotbugsTestCases/src/java/DontCatchUncheckedExceptionTest.java:19
↓ 141 callersMethodformat
Format the annotation as a String. The given key specifies additional information about how the annotation should be formatted. If the key is empty, t
spotbugs/src/main/java/edu/umd/cs/findbugs/BugAnnotation.java:60
↓ 141 callersMethodisEmpty
Return whether or not this lock set is empty, meaning that no locks have a positive lock count. @return true if no locks are held, false if at least
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/LockSet.java:257
↓ 139 callersMethodgetDottedClassName
Get the name of the class in dotted format. @return the name of the class in dotted format
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/ClassDescriptor.java:111
↓ 137 callersMethodpush
(Item i)
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:3313
↓ 136 callersMethodgetFactAtLocation
Get dataflow fact at (just before) given Location. Note "before" is meant in the logical sense, so for backward analyses, before means after the locat
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/DataflowAnalysis.java:73
↓ 130 callersMethodaddProperty
Add a warning property to the set. The warning implicitly has the boolean value "true" as its attribute. @param prop the WarningProperty @
spotbugs/src/main/java/edu/umd/cs/findbugs/props/WarningPropertySet.java:83
↓ 128 callersMethodaddClass
Add a class or interface, and its transitive supertypes, to the inheritance graph. @param xclass XClass to add to the inheritance graph
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ch/Subtypes2.java:264
↓ 127 callersMethodrequireNonNull
(T obj)
spotbugsTestCases/src/java/nullnessAnnotations/TestNonNull7.java:26
↓ 126 callersMethodcreateClassDescriptor
(JavaClass c)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/DescriptorFactory.java:255
↓ 126 callersMethodgetLocalString
(String key, String defaultString)
spotbugs/src/main/java/edu/umd/cs/findbugs/L10N.java:78
↓ 125 callersMethodgetHandle
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindUselessObjects.java:356
↓ 125 callersMethodgetValue
Get the value at the <i>n</i>th slot. @param n the slot to get the value of @return the value in the slot
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:516
↓ 121 callersMethodprintf
(String format, Object... args)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/Debug.java:36
↓ 119 callersMethodtrim
(String value)
spotbugsTestCases/src/java/sfBugs/Bug1948275.java:4
↓ 118 callersMethodclone
()
spotbugs/src/main/java/edu/umd/cs/findbugs/BugAnnotation.java:42
↓ 117 callersMethodgetMethod
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindNoSideEffectMethods.java:199
↓ 114 callersMethodwrite
(String file, String text)
spotbugsTestCases/src/java/sfBugs/Bug1563687.java:9
↓ 112 callersMethodequals
(Object o)
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:380
↓ 112 callersMethodinstance
Get the single instance of DetectorFactoryCollection, which knows each and every loaded plugin, independently of it's enablement
spotbugs/src/main/java/edu/umd/cs/findbugs/DetectorFactoryCollection.java:134
↓ 111 callersMethodreportMissingClass
Called to report a class lookup failure. @param ex a ClassNotFoundException resulting from the class lookup failure
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IErrorLogger.java:35
↓ 110 callersMethodaddAttribute
Add an attribute to a started tag. Must follow a call to startTag. @param name the attribute name. @param value the attribute v
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/XMLOutput.java:75
↓ 110 callersMethodgetClassAnalysis
Get an analysis of the given class. @param <E> the type of the analysis (e.g., FoobarAnalysis) @param analysisClass the analysi
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IAnalysisCache.java:76
↓ 109 callersMethodasList
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/Grouping.java:56
↓ 108 callersMethodaddMethodParameterAnnotation
Add a method parameter annotation to the database. @param cName dotted class name @param mName method name @param mSig
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/INullnessAnnotationDatabase.java:123
↓ 108 callersMethodput
(String key, String value)
spotbugsTestCases/src/java/UMAC.java:59
↓ 105 callersMethodaddMethod
Add a method annotation. If this is the first method annotation added, it becomes the primary method annotation. @param className name of
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:1329
↓ 104 callersMethodequals
(Eq q)
spotbugsTestCases/src/java/Eq.java:2
↓ 104 callersMethodparseInt
Returns Integer corresponding to s, or null if s is null. @throws NumberFormatException if s is nonnull and doesn't represent a valid int
spotbugsTestCases/src/java/tigerTraps/Parsing.java:10
↓ 103 callersMethodconsumeStack
Consume stack. This is a convenience method for instructions where the types of popped operands can be ignored.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/type/TypeFrameModelingVisitor.java:214
↓ 103 callersMethodgetLabel
Get the integer label.
spotbugs/src/main/java/edu/umd/cs/findbugs/graph/GraphEdge.java:41
↓ 103 callersMethodlogError
Log an error that occurs while performing analysis. @param message the error message
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IErrorLogger.java:67
↓ 102 callersMethodpop
()
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:3280
↓ 101 callersMethodfromVisitedInstruction
Factory method for creating a source line annotation describing the source line number for the instruction being visited by given visitor. @param vis
spotbugs/src/main/java/edu/umd/cs/findbugs/SourceLineAnnotation.java:371
↓ 100 callersMethodsetEnabled
(boolean enabled)
eclipsePlugin/src/de/tobject/findbugs/properties/IPathElement.java:31
↓ 98 callersMethodcontainsKey
(K k)
spotbugs/src/main/java/edu/umd/cs/findbugs/util/MergeMap.java:84
↓ 97 callersMethodread
()
spotbugsTestCases/src/java/sourceInfo/Test.java:27
↓ 96 callersMethodgetStackDepth
Get the depth of the Java operand stack.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:479
↓ 95 callersMethodgetPath
()
eclipsePlugin/src/de/tobject/findbugs/properties/IPathElement.java:27
next →1–100 of 19,706, ranked by callers