Class ElementPredicates

java.lang.Object
com.google.errorprone.bugpatterns.inject.ElementPredicates

public final class ElementPredicates extends Object
Predicates for Element objects related to dependency injection.
  • Method Details

    • isFinalField

      public static boolean isFinalField(Element element)
    • isFirstConstructorOfMultiInjectedClass

      public static boolean isFirstConstructorOfMultiInjectedClass(Element injectedMember)
    • doesNotHaveRuntimeRetention

      public static boolean doesNotHaveRuntimeRetention(Element element)
    • hasSourceRetention

      public static boolean hasSourceRetention(Element element)