MCPcopy Create free account

hub / github.com/spotbugs/spotbugs / functions

Functions19,706 in github.com/spotbugs/spotbugs

↓ 95 callersMethodmatches
Determine whether given type matches this predicate. @param t a Type @return true if the Type matches, false otherwise
spotbugs/src/main/java/edu/umd/cs/findbugs/util/TypeMatcher.java:37
↓ 94 callersMethodgetTarget
Get the target vertex.
spotbugs/src/main/java/edu/umd/cs/findbugs/graph/GraphEdge.java:36
↓ 93 callersMethodisPublic
Is the entity public?
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AccessibleEntity.java:50
↓ 92 callersMethodentrySet
()
spotbugs/src/main/java/edu/umd/cs/findbugs/util/Bag.java:67
↓ 91 callersMethodaddArg
Add an argument to the JVM used to execute FindBugs. @param arg the argument
spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/AbstractFindBugsTask.java:383
↓ 91 callersMethodgetCFG
Get the CFG built by this object. Assumes that the build() method has already been called. @return the CFG
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/CFGBuilder.java:41
↓ 91 callersMethoditerator
Return an Iterator over all the BugInstance objects in the BugCollection.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugCollection.java:311
↓ 90 callersMethodlastIndexOf
(Object o)
spotbugsTestCases/src/java/gcUnrelatedTypes/AllListsCouldBeEqual.java:82
↓ 89 callersMethodassertBugInMethod
Asserts that there is a bug instance with the given bug type in the given class in the given method. The match is checked according to {@link BugInsta
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:279
↓ 88 callersMethodisEmpty
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindUselessObjects.java:261
↓ 87 callersMethodcreateXMethod
Create an XMethod object from a BCEL Method. @param className the class to which the Method belongs @param method the Method @r
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XFactory.java:240
↓ 87 callersMethodgetMethodDescriptor
@return the MethodDescriptor identifying this object
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XMethod.java:56
↓ 87 callersMethodgetOpcode
()
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java:508
↓ 87 callersMethodlogException
Log an exception. @param e the exception @param message message describing how/why the exception occurred
eclipsePlugin/src/de/tobject/findbugs/FindbugsPlugin.java:542
↓ 87 callersMethodsize
(Map<String, Integer> map)
spotbugsTestCases/src/java/ghIssues/Issue1219.java:35
↓ 86 callersMethodinstanceOf
(@DottedClassName String dottedSubtype, @DottedClassName String dottedSupertype)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ch/Subtypes2.java:184
↓ 86 callersMethodpushValue
Work around some weirdness in BCEL (inherited from JVM Spec 1): BCEL considers long and double types to consume two slots on the stack. This method en
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/type/TypeFrameModelingVisitor.java:240
↓ 85 callersMethodaddOption
Add an option requiring an argument. @param option the option, must start with "-" @param argumentDesc brief (one or two word)
spotbugs/src/main/java/edu/umd/cs/findbugs/config/CommandLine.java:141
↓ 84 callersMethodgetHandle
Get the instruction handle.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Location.java:90
↓ 83 callersMethodgetBytes
(String s)
spotbugs/src/main/java/edu/umd/cs/findbugs/charsets/UTF8.java:106
↓ 83 callersMethodhashCode
()
spotbugsTestCases/src/java/bugIdeas/Ideas_2009_07_26.java:26
↓ 81 callersMethodgetInstance
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/MainFrame.java:166
↓ 81 callersMethodisFinal
Is the entity final?
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AccessibleEntity.java:45
↓ 79 callersMethoditerator
Get an iterator over the resources in the this code base. @return ICodeBaseIterator over the resources in the code base
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IScannableCodeBase.java:38
↓ 79 callersMethodreplace
(int stackOffset, Item value)
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:3288
↓ 78 callersMethodreportMissingClass
file a ClassNotFoundException with the lookupFailureCallback @see #getLookupFailureCallback()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:298
↓ 78 callersMethodsize
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugSet.java:413
↓ 77 callersMethodgetThisClass
Get the JavaClass object for the current or most recently visited class
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/PreorderVisitor.java:531
↓ 74 callersMethodaddCalledMethod
(MethodDescriptor m)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XFactory.java:130
↓ 74 callersMethodequals
(Object o)
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/BugLeafNode.java:72
↓ 74 callersMethodgetNext
Get the next PatternElement.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/bcp/PatternElement.java:53
↓ 73 callersMethodisEmpty
(String s)
eclipsePlugin/src/edu/umd/cs/findbugs/plugin/eclipse/quickfix/QuickFixesExtensionHelper.java:133
↓ 73 callersMethodtoArray
()
spotbugsTestCases/src/java/gcUnrelatedTypes/AllListsCouldBeEqual.java:142
↓ 73 callersMethodtoDottedClassName
Convert class name to dotted format. If the class name is already in dotted format, it is returned unmodified. @param className a class na
spotbugs/src/main/java/edu/umd/cs/findbugs/util/ClassName.java:130
↓ 72 callersMethodaccept
Accept a BugAnnotationVisitor. @param visitor the visitor to accept
spotbugs/src/main/java/edu/umd/cs/findbugs/BugAnnotation.java:49
↓ 72 callersMethodgetRegisterNumber
()
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:835
↓ 72 callersMethodgetType
Get the type of edge.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Edge.java:86
↓ 71 callersMethodgetTopValue
Get the value on the top of the Java operand stack. @throws DataflowAnalysisException if the Java operand stack is empty
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:207
↓ 70 callersMethodaddString
Add a String annotation. @param value the String value @return this object
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:1580
↓ 70 callersMethoddebug
(BasicBlock bb, String msg)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Dataflow.java:461
↓ 70 callersMethodput
(T1 key, T2 value)
spotbugsTestCases/src/java/sfBugs/Bug1923609.java:103
↓ 68 callersMethodlog
(String msg, Exception e)
spotbugsTestCases/src/java/findbugsDiscuss/Bug20070301.java:69
↓ 67 callersMethodadd
(@Nonnull BugAnnotation annotation)
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:2129
↓ 67 callersMethodequals
(Object obj)
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/analysis/EnumValue.java:51
↓ 67 callersMethodsplit
(String signature, boolean skipInitialAngleBracket)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/generic/GenericUtilities.java:449
↓ 66 callersMethodaddClass
Add a class annotation. If this is the first class annotation added, it becomes the primary class annotation. @param className the name of
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:957
↓ 66 callersMethodisPrivate
Is the entity private?
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AccessibleEntity.java:60
↓ 66 callersMethodreportAccumulatedBugs
Reports accumulated bug instances to the {@link BugReporter} and clears itself.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugPcMap.java:65
↓ 65 callersMethodaddAttribute
Add a single attribute name and value. @param name the attribute name @param value the attribute value @return this object (so
spotbugs/src/main/java/edu/umd/cs/findbugs/xml/XMLAttributeList.java:75
↓ 65 callersMethodentrySet
()
spotbugsTestCases/src/java/bugIdeas/Ideas_2010_06_01.java:26
↓ 65 callersMethodgetFrame
Get the frame. @return the Frame object
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java:117
↓ 65 callersMethodshowMessageDialog
(String message)
spotbugs/src/main/java/edu/umd/cs/findbugs/IGuiCallback.java:37
↓ 63 callersMethodgetMessage
Format a string describing this bug instance. @return the description
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:1892
↓ 63 callersMethodgetSource
@return the Source attribute
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XClass.java:78
↓ 63 callersMethodput
Put an array of {@link ValueNumber} for an {@link AvailableLoad} and update the reverse map
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.java:738
↓ 62 callersMethodaddSwitch
Add a command line switch. This method is for adding options that do not require an argument. @param option the option, must start with "-
spotbugs/src/main/java/edu/umd/cs/findbugs/config/CommandLine.java:99
↓ 62 callersMethodequals
(Object obj)
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindNoSideEffectMethods.java:212
↓ 62 callersMethodgetBugPattern
Get the BugPattern.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugInstance.java:315
↓ 62 callersMethodgetPC
()
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:342
↓ 62 callersMethodgetProperty
@param name property name @return string value (or null if the property does not exist)
spotbugs/src/main/java/edu/umd/cs/findbugs/SystemProperties.java:194
↓ 62 callersMethodinstance
Get the singleton instance of the DescriptorFactory. @return the singleton instance of the DescriptorFactory
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/DescriptorFactory.java:77
↓ 61 callersMethodisValid
Is the frame valid (meaning it is not TOP or BOTTOM)?
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:164
↓ 60 callersMethodgetXMethod
()
spotbugs/src/main/java/edu/umd/cs/findbugs/visitclass/PreorderVisitor.java:467
↓ 60 callersMethodlookupClass
Look up a class from the classpath. @param className name of class to look up @return the JavaClass object for the class @throws ClassNotF
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/URLClassPath.java:413
↓ 59 callersMethodhashCode
()
spotbugsTestCases/src/java/sfBugsNew/Bug1244.java:13
↓ 59 callersMethodput
(ClassAnnotation c, EqualsKindSummary.KindOfEquals k)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/EqualsKindSummary.java:44
↓ 59 callersMethodreadLine
(BufferedReader reader)
spotbugsTestCases/src/java/suppression/Issue641.java:34
↓ 59 callersMethodsize
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugGroup.java:117
↓ 58 callersMethodgetSpecialKind
@return Returns the specialKind.
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:877
↓ 58 callersMethodgetValue
Given a ClassDescriptor/value pair, return the interned TypeQualifierValue representing that pair. @param desc a ClassDescriptor denoting
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/jsr305/TypeQualifierValue.java:270
↓ 58 callersMethodtoSlashedClassName
Convert class name to slashed format. If the class name is already in slashed format, it is returned unmodified. @param className a class
spotbugs/src/main/java/edu/umd/cs/findbugs/util/ClassName.java:113
↓ 57 callersMethodassertNoBugInMethod
Asserts that there are exactly zero bug instances with the given bug type in the given class in the given method. The match is checked according to {@
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/AbstractIntegrationTest.java:243
↓ 57 callersMethodgetClassContext
Get the ClassContext for a class. @param javaClass the class @return the ClassContext for that class
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:855
↓ 57 callersMethodgetMethodAnalysis
Get an analysis of the given method. @param <E> the type of the analysis (e.g., FoobarAnalysis) @param analysisClass the analys
spotbugs/src/main/java/edu/umd/cs/findbugs/classfile/IAnalysisCache.java:106
↓ 57 callersMethodgetType
()
eclipsePlugin/src/de/tobject/findbugs/view/explorer/BugGroup.java:216
↓ 57 callersMethodsetSpecialKind
@param specialKind The specialKind to set.
spotbugs/src/main/java/edu/umd/cs/findbugs/OpcodeStack.java:864
↓ 56 callersMethodaddField
(XField field)
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/heap/FieldSet.java:71
↓ 56 callersMethodgetMethodSig
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/CFG.java:198
↓ 56 callersMethodgetSubtypes2
Get the Subtypes2 inheritance hierarchy database.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AnalysisContext.java:1025
↓ 56 callersMethodisEmpty
()
spotbugsTestCases/src/java/sfBugs/RFE3364649.java:6
↓ 55 callersMethodmatch
Determine whether or not the given BugInstance has the feature this Matcher tests for. @param bugInstance the BugInstance @return true if
spotbugs/src/main/java/edu/umd/cs/findbugs/filter/Matcher.java:41
↓ 54 callersMethodlocationIterator
Get an Iterator over the Locations in the control flow graph.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/CFG.java:317
↓ 53 callersMethodcheckToken
(JAIFScanner scanner, String lexeme, JAIFTokenKind kind)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/jaif/JAIFScannerTest.java:34
↓ 53 callersMethodgetNumber
()
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/vna/ValueNumber.java:106
↓ 53 callersMethodremove
()
spotbugs/src/main/java/edu/umd/cs/findbugs/SelfCalls.java:142
↓ 53 callersMethodstart
Return true if a new scanner should be created starting at this instruction, false otherwise.
spotbugs/src/main/java/edu/umd/cs/findbugs/InstructionScannerGenerator.java:35
↓ 52 callersMethodcheckNotNull
(String string)
spotbugsTestCases/src/java/com/google/errorprone/bugpatterns/PreconditionsCheckNotNullNegativeCase1.java:25
↓ 52 callersMethodgetNumSlots
Get the number of slots (locals plus stack values).
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/Frame.java:493
↓ 52 callersMethodgetXClass
Get the XClass object providing information about the class named by the given ClassDescriptor. @param classDescriptor a ClassDescriptor @
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/XFactory.java:661
↓ 52 callersMethodgetXField
()
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindRefComparison.java:266
↓ 52 callersMethodkeySet
()
spotbugsTestCases/src/java/sfBugs/Bug1830576.java:10
↓ 52 callersMethodvalues
()
spotbugs/src/main/java/edu/umd/cs/findbugs/filter/RelationalOp.java:50
↓ 51 callersMethodaddCheckedCall
(@DottedClassName String className, String methodName, String sig, int argumentParameterIndex, int
spotbugs/src/main/java/edu/umd/cs/findbugs/detect/FindUnrelatedTypesInGenericContainer.java:142
↓ 51 callersMethodassertBugExactly
(String bugType, String clazz, String method, String view)
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/detect/FindImproperSynchronizationWithAccessibleBackingCollectionsTest.java:293
↓ 51 callersMethodforEach
Consume each reporter one by one, and throw an exception if some of them. @param consumer Operation to handle each reporter.
spotbugs/src/main/java/edu/umd/cs/findbugs/BugReportDispatcher.java:126
↓ 51 callersMethodgetLogger
()
spotbugsTestCases/src/java/npe/LoggerFalsePositive.java:11
↓ 51 callersMethodgetPackageName
Get the (dotted) name of the package in which the entity is defined.
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassMember.java:46
↓ 50 callersMethodequals
(Object obj)
spotbugsTestCases/src/java/sfBugsNew/Bug1244.java:18
↓ 50 callersMethodgetConstantPoolGen
Get the ConstantPoolGen used to create the MethodGens for this class. @return the ConstantPoolGen
spotbugs/src/main/java/edu/umd/cs/findbugs/ba/ClassContext.java:312
↓ 50 callersMethodgetInstance
()
spotbugs/src/gui/main/edu/umd/cs/findbugs/gui2/GUISaveState.java:150
← previousnext →101–200 of 19,706, ranked by callers