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
public abstract class GuardedByExpression extends Object
The lock expression of an
@GuardedBy
annotation.- Author:
- cushon@google.com (Liam Miller-Cushon)
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuardedByExpression.ClassLiteral
A 'class' literal: ClassName.classstatic class
GuardedByExpression.Erroneous
A guarded by expression that could not be resolved.static class
GuardedByExpression.Factory
MakesGuardedByExpression
s.static class
GuardedByExpression.Kind
GuardedByExpression
kind.static class
GuardedByExpression.LocalVariable
A local variable (or parameter), resolved as part of a lock access expression.static class
GuardedByExpression.Select
The member access expression for a field or method.static class
GuardedByExpression.ThisLiteral
A simple 'this literal.static class
GuardedByExpression.TypeLiteral
The base expression for a static member select on a class literal (e.g. -
Constructor Summary
Constructors Constructor Description GuardedByExpression()
-
Method Summary
Modifier and Type Method Description String
debugPrint()
abstract GuardedByExpression.Kind
kind()
abstract com.sun.tools.javac.code.Symbol
sym()
String
toString()
abstract com.sun.tools.javac.code.Type
type()