Class DaggerRules
java.lang.Object
com.google.errorprone.bugpatterns.checkreturnvalue.DaggerRules
Rules for methods on Dagger
Component.Builder
and Subcomponent.Builder
types.-
Method Summary
Modifier and TypeMethodDescriptionstatic ResultUseRule
<VisitorState, com.sun.tools.javac.code.Symbol> Returns a rule that handles@dagger.Component.Builder
types, making their fluent setter methods' results ignorable.static ResultUseRule
<VisitorState, com.sun.tools.javac.code.Symbol> Returns a rule that handles@dagger.producers.ProductionComponent.Builder
types, making their fluent setter methods' results ignorable.static ResultUseRule
<VisitorState, com.sun.tools.javac.code.Symbol> Returns a rule that handles@dagger.producers.ProductionSubcomponent.Builder
types, making their fluent setter methods' results ignorable.static ResultUseRule
<VisitorState, com.sun.tools.javac.code.Symbol> Returns a rule that handles@dagger.Subcomponent.Builder
types, making their fluent setter methods' results ignorable.
-
Method Details
-
componentBuilders
Returns a rule that handles@dagger.Component.Builder
types, making their fluent setter methods' results ignorable. -
subcomponentBuilders
Returns a rule that handles@dagger.Subcomponent.Builder
types, making their fluent setter methods' results ignorable. -
productionComponentBuilders
public static ResultUseRule<VisitorState,com.sun.tools.javac.code.Symbol> productionComponentBuilders()Returns a rule that handles@dagger.producers.ProductionComponent.Builder
types, making their fluent setter methods' results ignorable. -
productionSubcomponentBuilders
public static ResultUseRule<VisitorState,com.sun.tools.javac.code.Symbol> productionSubcomponentBuilders()Returns a rule that handles@dagger.producers.ProductionSubcomponent.Builder
types, making their fluent setter methods' results ignorable.
-