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:
- cushon@google.com (Liam Miller-Cushon)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA 'class' literal: ClassName.classstatic classA guarded by expression that could not be resolved.static classMakesGuardedByExpressions.static enumGuardedByExpressionkind.static classA local variable (or parameter), resolved as part of a lock access expression.static classThe member access expression for a field or method.static classA simple 'this literal.static classThe base expression for a static member select on a class literal (e.g. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GuardedByExpression.Kindkind()abstract com.sun.tools.javac.code.Symbolsym()toString()abstract com.sun.tools.javac.code.Typetype()
-
Constructor Details
-
GuardedByExpression
public GuardedByExpression()
-
-
Method Details
-
kind
-
sym
public abstract com.sun.tools.javac.code.Symbol sym() -
type
public abstract com.sun.tools.javac.code.Type type() -
toString
-
debugPrint
-