public class MethodFinder extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ImmutableSet<ExecutableElement> |
methodsOn(TypeElement type,
Elements elements)
Returns all methods, declared and inherited, on
type, except those specified by
Object. |
public static com.google.common.collect.ImmutableSet<ExecutableElement> methodsOn(TypeElement type, Elements elements) throws Analyser.CannotGenerateCodeException
type, except those specified by
Object.
If method B overrides method A, only method B will be included in the return set. Additionally, if methods A and B have the same signature, but are on unrelated interfaces, one will be arbitrarily picked to be returned.
Copyright © 2015 Google, Inc.. All rights reserved.