public static class AssignmentContext.MethodReturnContext extends AssignmentContext
AssignmentContext.AssignmentLhsContext, AssignmentContext.LambdaReturnContext, AssignmentContext.MethodParameterContext, AssignmentContext.MethodReturnContext| Modifier and Type | Field and Description |
|---|---|
protected ExecutableElement |
method |
protected Tree |
ret |
| Constructor and Description |
|---|
MethodReturnContext(MethodTree method) |
| Modifier and Type | Method and Description |
|---|---|
Tree |
getContextTree()
Returns the context tree.
|
Element |
getElementForType()
Returns an
Element that has the type of this assignment context. |
protected final ExecutableElement method
protected final Tree ret
public MethodReturnContext(MethodTree method)
public Element getElementForType()
AssignmentContextElement that has the type of this assignment context.getElementForType in class AssignmentContextpublic Tree getContextTree()
AssignmentContextgetContextTree in class AssignmentContext