Class GuardedByExpression
java.lang.Object
com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression
- Direct Known Subclasses:
GuardedByExpression.ClassLiteral
,GuardedByExpression.Erroneous
,GuardedByExpression.LocalVariable
,GuardedByExpression.Select
,GuardedByExpression.ThisLiteral
,GuardedByExpression.TypeLiteral
The lock expression of an
@GuardedBy
annotation.- Author:
- [email protected] (Liam Miller-Cushon)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A 'class' literal: ClassName.classstatic class
A guarded by expression that could not be resolved.static class
MakesGuardedByExpression
s.static enum
GuardedByExpression
kind.static class
A local variable (or parameter), resolved as part of a lock access expression.static class
The member access expression for a field or method.static class
A simple 'this literal.static class
The base expression for a static member select on a class literal (e.g. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract GuardedByExpression.Kind
kind()
abstract com.sun.tools.javac.code.Symbol
sym()
toString()
abstract com.sun.tools.javac.code.Type
type()