public static class AssignmentContext.MethodParameterContext extends AssignmentContext
AssignmentContext.AssignmentLhsContext, AssignmentContext.LambdaReturnContext, AssignmentContext.MethodParameterContext, AssignmentContext.MethodReturnContext
Modifier and Type | Field and Description |
---|---|
protected ExecutableElement |
method |
protected int |
paramNum |
Constructor and Description |
---|
MethodParameterContext(ExecutableElement method,
int paramNum) |
Modifier and Type | Method and Description |
---|---|
@Nullable 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 int paramNum
public MethodParameterContext(ExecutableElement method, int paramNum)
public Element getElementForType()
AssignmentContext
Element
that has the type of this assignment context.getElementForType
in class AssignmentContext
public @Nullable Tree getContextTree()
AssignmentContext
getContextTree
in class AssignmentContext