public abstract class AssignmentContext extends Object
The main use of AssignmentContext is to be able to get the declared type of the
 left-hand side of the assignment for proper type-refinement.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AssignmentContext.AssignmentLhsContext
An assignment context for an assignment 'lhs = rhs'. 
 | 
static class  | 
AssignmentContext.LambdaReturnContext
An assignment context for lambda return statements. 
 | 
static class  | 
AssignmentContext.MethodParameterContext
An assignment context for a method parameter. 
 | 
static class  | 
AssignmentContext.MethodReturnContext
An assignment context for method return statements. 
 | 
| Constructor and Description | 
|---|
AssignmentContext()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract @Nullable Tree | 
getContextTree()
Returns the context tree. 
 | 
abstract @Nullable Element | 
getElementForType()
Returns an  
Element that has the type of this assignment context. |