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.DefaultMethodLookup
begin
in interface MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup
typeDescription
- The type to analyze.public void register(MethodDescription methodDescription)
MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup
register
in interface MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup
methodDescription
- Announces a new method to be discovered for the last announced type.public void complete(TypeDescription typeDescription)
MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup
complete
in interface MethodLookupEngine.Default.MethodBucket.DefaultMethodLookup
typeDescription
- The type which was fully processed.protected Map<TypeDescription,Set<MethodDescription>> materialize()
Copyright © 2014–2015. All rights reserved.