private static class AbstractSuperCheck.MethodNode extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
callingSuper
True if the overriding method calls the super method.
|
private DetailAST |
method
Method definition.
|
| Constructor and Description |
|---|
MethodNode(DetailAST ast)
Constructs a stack node for a method definition.
|
| Modifier and Type | Method and Description |
|---|---|
DetailAST |
getMethod()
Returns the overriding method definition AST.
|
boolean |
isCallingSuper()
Determines whether the overriding method has a call to the super
method.
|
void |
setCallingSuper()
Records that the overriding method has a call to the super method.
|
private boolean callingSuper
MethodNode(DetailAST ast)
ast - AST for the method definition.public void setCallingSuper()
public boolean isCallingSuper()
Copyright © 2001-2022. All Rights Reserved.