public final class MethodResolver
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.util.List<InjectableMethod> |
get(TypeReference<?> type)
Cached alternative method for
resolve(team.unnamed.inject.key.TypeReference<?>, java.lang.Class<? extends java.lang.annotation.Annotation>)
that always uses the Inject annotation to resolve the
methods. |
java.util.List<InjectableMethod> |
resolve(TypeReference<?> type,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation) |
public java.util.List<InjectableMethod> get(TypeReference<?> type)
resolve(team.unnamed.inject.key.TypeReference<?>, java.lang.Class<? extends java.lang.annotation.Annotation>)
that always uses the Inject annotation to resolve the
methods.type - The type to resolvepublic java.util.List<InjectableMethod> resolve(TypeReference<?> type, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
type - The type to resolveannotation - The annotation to resolvetype. The resolved methods
can also be used to get the module provider methods