Package com.google.errorprone.bugpatterns.checkreturnvalue
package com.google.errorprone.bugpatterns.checkreturnvalue
-
ClassDescriptionRepresents a Java method or constructor.Utility method to produce
Apiobjects from javacSymbol.MethodSymbol.Rules for@AutoValue,@AutoValue.Builder, and@AutoBuildertypes.Discourages builder instance methods that do not return 'this'.Checker that recommends annotating a method with@CanIgnoreReturnValueif the method returnsthis, returns an effectively final input param, or if it looks like a builder method (that is likely to returnthis).Rules for methods on DaggerComponent.BuilderandSubcomponent.Buildertypes.Error messages used byCheckReturnValue.External source of information about @CanIgnoreReturnValue-equivalent API's.Checker that "pushes" the@CanIgnoreReturnValueannotation down from classes to methods.A rule that enables checking for methods belonging to a set of packages or any of their subpackages.Rules for methods on proto messages and builders.Policy for use of a method or constructor's result.An object that can report on the behavior of a CRV-related check for analysis purposes.ResultUsePolicyEvaluator<C, S, M extends S>Evaluates methods and their enclosing classes and packages to determine aResultUsePolicyfor the methods.ResultUsePolicyEvaluator.Builder<C, S, M extends S>Builder forResultUsePolicyEvaluator.ResultUsePolicyEvaluator.MethodInfo<C, S, M extends S>Delegate to return information about a method symbol.What kind a method symbol is, and what scopes apply to it.ResultUseRule<C,S> A rule for determiningResultUsePolicyfor methods and/or constructors.An evaluation that a rule makes.A global rule that is evaluated when none of the more specific rules determine aResultUsePolicyfor a method.ResultUseRule.MethodRule<C, S, M extends S>A rule that evaluates methods and constructors to determine aResultUsePolicyfor them.Scope to which a rule may apply.A rule that evaluates symbols of any kind to determine aResultUsePolicyto associate with them.Factories for common kinds ofResultUseRules.Checker that warns when capturing the result of an ignorable API into anunusedvariable.Checker that recommends using ErrorProne's version of@CheckReturnValueover the version in JSR305 (which is defunct).