public interface InheritanceCompletable
| Modifier and Type | Method and Description |
|---|---|
default void |
complete(InheritanceProvider provider)
Attempts to complete this class using the provided
InheritanceProvider. |
void |
complete(InheritanceProvider provider,
InheritanceProvider.ClassInfo info)
Attempts to complete this class using the provided
InheritanceProvider. |
default void |
complete(InheritanceProvider provider,
Object context)
Attempts to complete this class using the provided
InheritanceProvider. |
boolean |
isComplete()
Returns whether this class was already completed using inheritance.
|
Optional<InheritanceProvider.ClassInfo> |
provideInheritance(InheritanceProvider provider,
Object context)
Provide the appropriate
InheritanceProvider.ClassInfo
for this class. |
Optional<InheritanceProvider.ClassInfo> provideInheritance(InheritanceProvider provider, Object context)
InheritanceProvider.ClassInfo
for this class.provider - The provider to use for looking up the classcontext - Optional context for the inheritance providerOptionalboolean isComplete()
default void complete(InheritanceProvider provider)
InheritanceProvider.provider - The provider to use for looking up the classdefault void complete(InheritanceProvider provider, Object context)
InheritanceProvider.provider - The provider to use for looking up the classcontext - Optional context for the inheritance providervoid complete(InheritanceProvider provider, InheritanceProvider.ClassInfo info)
InheritanceProvider.provider - The provider to use for looking up parent classesinfo - The resolve inheritance class info for this class