public class MethodFinder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ImmutableSet<javax.lang.model.element.ExecutableElement> |
methodsOn(javax.lang.model.element.TypeElement type,
javax.lang.model.util.Elements elements)
Returns all methods, declared and inherited, on
type, except those specified by
Object. |
public static com.google.common.collect.ImmutableSet<javax.lang.model.element.ExecutableElement> methodsOn(javax.lang.model.element.TypeElement type,
javax.lang.model.util.Elements elements)
throws org.inferred.freebuilder.processor.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.
org.inferred.freebuilder.processor.Analyser.CannotGenerateCodeException