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