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)
  • Constructor Details

    • GuardedByExpression

      public GuardedByExpression()
  • Method Details

    • kind

      public abstract GuardedByExpression.Kind kind()
    • sym

      public abstract com.sun.tools.javac.code.Symbol sym()
    • type

      public abstract com.sun.tools.javac.code.Type type()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • debugPrint

      public String debugPrint()