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() |
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()
AssignmentContext
Element
that has the type of this assignment context.getElementForType
in class AssignmentContext
public Tree getContextTree()
getContextTree
in class AssignmentContext