protected class Pipe.Binder.PrecomputedFinding extends Object implements MethodLookupEngine.Finding
Pipe.Binder
. By using this precomputed
result, method look-ups can be avoided.MethodLookupEngine.Finding.Default
Constructor and Description |
---|
PrecomputedFinding(TypeDescription typeDescription)
Creates a precomputed 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 PrecomputedFinding(TypeDescription typeDescription)
typeDescription
- The type which was looked up. This type should be the instrumented type itself
and therefore defines the constructor of the instrumented type.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.