Package com.google.errorprone.bugpatterns.threadsafety
package com.google.errorprone.bugpatterns.threadsafety
-
ClassDescriptionSpecifies information about a type which may be a container specified by generic type arguments, e.g.Helper for establishing whether expressions correspond to a constant expression.Represents a constant expression.Represents a binary equals call on two constant expressions.Represents a constant literal.Represents both a constant method call or a constant field/local access, depending on the actual type of
symbol.Visitor for scanning over the components of a constant expression.Represents sets of things known to be true and false if a boolean statement evaluated true.ABugChecker; see the associatedBugPatternannotation for details.A binder from@GuardedByannotations toGuardedByExpressions.A context containing the information necessary to resolve aSymbolfrom an AST node.ABugChecker; see the associatedBugPatternannotation for details.The lock expression of an@GuardedByannotation.A 'class' literal: ClassName.classA guarded by expression that could not be resolved.MakesGuardedByExpressions.GuardedByExpressionkind.A local variable (or parameter), resolved as part of a lock access expression.The member access expression for a field or method.A simple 'this literal.The base expression for a static member select on a class literal (e.g.A symbol resolver used while binding guardedby expressions from string literals.A method body analyzer.Utility for discovering the lock expressions that needs to be held when accessing specific guarded members.Listener interface for accesses to guarded members.An error that occurred during the parsing or binding of a GuardedBy expression.Analyzes types for deep immutability.Factory forImmutableAnalysis.Acceptsviolationsthat are found during the analysis.ABugChecker; see the associatedBugPatternannotation for details.ABugChecker; see the associatedBugPatternannotation for details.ABugChecker; see the associatedBugPatternannotation for details.ABugChecker; see the associatedBugPatternannotation for details.ABugChecker; see the associatedBugPatternannotation for details.ABugChecker; see the associatedBugPatternannotation for details.Bug checker to detect usage ofThread.stop(),Thread.yield(), and changing thread priorities.Analyzes types for deep thread safety.Factory forThreadSafeAnalysis.ABugChecker; see the associatedBugPatternannotation for details.A class which gives information about the annotation of types; if a type isn't annotated,ThreadSafety.Violationgives information as to why it is not.Builder forThreadSafety.TheThreadSafetyutility class can be used by either the bug checker that enforces immutability or by the bug checker that enforces thread-safety.A human-friendly explanation of a thread safety violations.Information about known types and whether they're known to be safe or unsafe.Helper for building maps of classes toAnnotationInfo.A collection of types with known mutability.A collection of types with known thread safety.