Class GuardedByUtils

java.lang.Object
com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils

public final class GuardedByUtils
extends Object
Author:
cushon@google.com (Liam Miller-Cushon)
  • Method Details

    • getGuardValues

      public static com.google.common.collect.ImmutableSet<String> getGuardValues​(com.sun.tools.javac.code.Symbol sym)
    • isGuardedByValid

      public static com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils.GuardedByValidationResult isGuardedByValid​(com.sun.source.tree.Tree tree, VisitorState state, GuardedByFlags flags)
    • bindGuardedByString

      public static com.sun.tools.javac.code.Symbol bindGuardedByString​(com.sun.source.tree.Tree tree, String guard, VisitorState visitorState, GuardedByFlags flags)