public class MethodInheritanceTree extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodInheritanceTree.Builder |
| Modifier and Type | Method and Description |
|---|---|
Set<ExecutableElement> |
getAllMethods()
Returns a set containing all the methods of the hierarchy.
|
Set<ExecutableElement> |
getOverriddenMethods()
Returns a set containing all the overridden methods.
|
Set<ExecutableElement> |
getTopLevelMethods()
Returns a set containing all the top level overridden methods.
|
boolean |
hasOverriddenMethods()
Checks if there are any overridden methods in the hierarchy.
|
boolean |
hasParallelDefinitions()
Checks if there are any parallel definitions of the method in the hierarchy.
|
String |
toString() |
public boolean hasOverriddenMethods()
true if there are any overridden methods found, false otherwisepublic Set<ExecutableElement> getAllMethods()
public Set<ExecutableElement> getOverriddenMethods()
public boolean hasParallelDefinitions()
true if there are any parallel definitions of the method in the hierarchy, false otherwisepublic Set<ExecutableElement> getTopLevelMethods()
Copyright © 2007-2020 Red Hat, Inc. All Rights Reserved