public static class MethodLookupEngine.Finding.Default extends Object implements MethodLookupEngine.Finding
MethodLookupEngine.Finding
.MethodLookupEngine.Finding.Default
Constructor and Description |
---|
Default(TypeDescription lookedUpType,
MethodList invokableMethods,
Map<TypeDescription,Set<MethodDescription>> invokableDefaultMethods)
Creates a default of a
MethodLookupEngine.Finding . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<TypeDescription,Set<MethodDescription>> |
getInvokableDefaultMethods()
Returns a map of interfaces that are eligible for default method invocation on the type this finding
was created for.
|
MethodList |
getInvokableMethods()
Returns a list of methods that can be invoked on the analyzed type.
|
TypeDescription |
getTypeDescription()
Returns the type description for which the finding was created.
|
int |
hashCode() |
String |
toString() |
public Default(TypeDescription lookedUpType, MethodList invokableMethods, Map<TypeDescription,Set<MethodDescription>> invokableDefaultMethods)
MethodLookupEngine.Finding
.lookedUpType
- The type that was analyzed for creating this finding.invokableMethods
- A list of methods that are invokable on this type.invokableDefaultMethods
- A map of interfaces that are eligible for default method invocation on
the type this finding was created for.public TypeDescription getTypeDescription()
MethodLookupEngine.Finding
getTypeDescription
in interface MethodLookupEngine.Finding
public MethodList getInvokableMethods()
MethodLookupEngine.Finding
getInvokableMethods
in interface MethodLookupEngine.Finding
public Map<TypeDescription,Set<MethodDescription>> getInvokableDefaultMethods()
MethodLookupEngine.Finding
getInvokableDefaultMethods
in interface MethodLookupEngine.Finding
Copyright © 2014–2015. All rights reserved.