public static class MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup.Enabled extends Object implements MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup
MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup.MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup.Disabled, MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup.Enabled| Modifier | Constructor and Description |
|---|---|
protected |
Enabled(Collection<? extends TypeDescription> declaredInterfaceTypes)
Creates a new mutable canonical implementation of a default method lookup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
begin(TypeDescription typeDescription)
Announces the begin of the analysis of a given type.
|
void |
complete(TypeDescription typeDescription)
Announces that a type was fully analyzed, including all of its super interfaces.
|
protected Map<TypeDescription,Set<MethodDescription>> |
materialize()
Returns a map of all default method interfaces that were extracted by this default method lookup.
|
void |
register(MethodDescription methodDescription)
Announces the begin of the analysis of a given type.
|
String |
toString() |
protected Enabled(Collection<? extends TypeDescription> declaredInterfaceTypes)
declaredInterfaceTypes - The interfaces that were declared by a type and that
should finally be extracted by this default method lookup.public void begin(TypeDescription typeDescription)
MethodLookupEngine.Default.MethodBucket.DefaultMethodLookupbegin in interface MethodLookupEngine.Default.MethodBucket.DefaultMethodLookuptypeDescription - The type to analyze.public void register(MethodDescription methodDescription)
MethodLookupEngine.Default.MethodBucket.DefaultMethodLookupregister in interface MethodLookupEngine.Default.MethodBucket.DefaultMethodLookupmethodDescription - Announces a new method to be discovered for the last announced type.public void complete(TypeDescription typeDescription)
MethodLookupEngine.Default.MethodBucket.DefaultMethodLookupcomplete in interface MethodLookupEngine.Default.MethodBucket.DefaultMethodLookuptypeDescription - The type which was fully processed.protected Map<TypeDescription,Set<MethodDescription>> materialize()
Copyright © 2014–2015. All rights reserved.