Class DaggerRules

java.lang.Object
com.google.errorprone.bugpatterns.checkreturnvalue.DaggerRules

public final class DaggerRules extends Object
Rules for methods on Dagger Component.Builder and Subcomponent.Builder types.
  • Method Details

    • componentBuilders

      public static ResultUseRule<VisitorState,com.sun.tools.javac.code.Symbol> componentBuilders()
      Returns a rule that handles @dagger.Component.Builder types, making their fluent setter methods' results ignorable.
    • subcomponentBuilders

      public static ResultUseRule<VisitorState,com.sun.tools.javac.code.Symbol> 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.