Interface GuardedByBinder.Resolver
- All Known Implementing Classes:
GuardedBySymbolResolver
- Enclosing class:
GuardedByBinder
public static interface GuardedByBinder.Resolver
A context containing the information necessary to resolve a
Symbol
from an AST node.
Guard expressions can be bound from the string value of an @GuardedBy
annotation, or
from an actual java expression. In the first case, the string is parsed into an AST which will
not have any semantic information attached.
- Author:
- cushon@google.com (Liam Miller-Cushon)
-
Method Summary
Modifier and TypeMethodDescriptioncom.sun.tools.javac.code.Symbol
resolveEnclosingClass
(com.sun.source.tree.ExpressionTree expression) com.sun.tools.javac.code.Symbol
resolveIdentifier
(com.sun.source.tree.IdentifierTree node) com.sun.tools.javac.code.Symbol
resolveMemberReference
(GuardedByExpression base, com.sun.source.tree.MemberReferenceTree node) com.sun.tools.javac.code.Symbol.MethodSymbol
resolveMethod
(com.sun.source.tree.MethodInvocationTree node, GuardedByExpression base, Name identifier) com.sun.tools.javac.code.Symbol.MethodSymbol
resolveMethod
(com.sun.source.tree.MethodInvocationTree node, Name name) com.sun.tools.javac.code.Symbol
resolveSelect
(GuardedByExpression base, com.sun.source.tree.MemberSelectTree node) com.sun.tools.javac.code.Symbol
resolveTypeLiteral
(com.sun.source.tree.ExpressionTree expression)
-
Method Details
-
resolveIdentifier
com.sun.tools.javac.code.Symbol resolveIdentifier(com.sun.source.tree.IdentifierTree node) -
resolveMethod
com.sun.tools.javac.code.Symbol.MethodSymbol resolveMethod(com.sun.source.tree.MethodInvocationTree node, Name name) -
resolveMethod
com.sun.tools.javac.code.Symbol.MethodSymbol resolveMethod(com.sun.source.tree.MethodInvocationTree node, GuardedByExpression base, Name identifier) -
resolveSelect
com.sun.tools.javac.code.Symbol resolveSelect(GuardedByExpression base, com.sun.source.tree.MemberSelectTree node) -
resolveMemberReference
com.sun.tools.javac.code.Symbol resolveMemberReference(GuardedByExpression base, com.sun.source.tree.MemberReferenceTree node) -
resolveTypeLiteral
com.sun.tools.javac.code.Symbol resolveTypeLiteral(com.sun.source.tree.ExpressionTree expression) -
resolveEnclosingClass
com.sun.tools.javac.code.Symbol resolveEnclosingClass(com.sun.source.tree.ExpressionTree expression)
-