public interface MethodLookupEngine
TypeDescription
. This includes the resolution of overridden methods
in order to avoid an enlistment of duplicate methods of identical signature.Modifier and Type | Interface and Description |
---|---|
static class |
MethodLookupEngine.ConflictingInterfaceMethod
This
MethodDescription represents methods that are defined
ambiguously on several interfaces of a common type. |
static class |
MethodLookupEngine.Default
A default implementation of a method lookup engine.
|
static interface |
MethodLookupEngine.Factory
A factory for creating a
MethodLookupEngine . |
static interface |
MethodLookupEngine.Finding
A finding contains a class's extracted invokable methods which were computed by a
MethodLookupEngine . |
static class |
MethodLookupEngine.OverriddenClassMethod
This method description represents a method that is defined in a non-interface type and overrides a method
in another class it directly or indirectly extends.
|
Modifier and Type | Method and Description |
---|---|
MethodLookupEngine.Finding |
process(TypeDescription typeDescription)
Retrieves all methods that can be called on a given type.
|
MethodLookupEngine.Finding process(TypeDescription typeDescription)
Class.getMethods()
, methods of identical
signature of incompatible interfaces must only be returned once. These methods should be represented by some
sort of virtual method description which is fully aware of its state. All virtually invokable methods must be
contained in this lookup. Static methods, constructors and private methods must however only be contained
for the actual class's type.
The
typeDescription
- The type for which all invokable methods should be looked up.Copyright © 2014–2015. All rights reserved.