Uses of Enum
com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Purpose
-
Uses of ThreadSafety.Purpose in com.google.errorprone.bugpatterns.threadsafety
Modifier and TypeClassDescriptionstatic enum
TheThreadSafety
utility class can be used by either the bug checker that enforces immutability or by the bug checker that enforces thread-safety.Modifier and TypeMethodDescriptionstatic ThreadSafety.Purpose
Returns the enum constant of this type with the specified name.static ThreadSafety.Purpose[]
ThreadSafety.Purpose.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionThreadSafety.Builder.setPurpose
(ThreadSafety.Purpose purpose) SeeThreadSafety.Purpose
.