Class GuardedByUtils
java.lang.Object
com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils
- Author:
- cushon@google.com (Liam Miller-Cushon)
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable com.sun.tools.javac.code.Symbol
bindGuardedByString
(com.sun.source.tree.Tree tree, String guard, VisitorState visitorState, GuardedByFlags flags) static com.google.common.collect.ImmutableSet
<String> getGuardValues
(com.sun.tools.javac.code.Symbol sym) static com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils.GuardedByValidationResult
isGuardedByValid
(com.sun.source.tree.Tree tree, VisitorState state, GuardedByFlags flags)
-
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 @Nullable com.sun.tools.javac.code.Symbol bindGuardedByString(com.sun.source.tree.Tree tree, String guard, VisitorState visitorState, GuardedByFlags flags)
-