Class SealedSameness
java.lang.Object
org.ek9lang.compiler.support.sameness.SealedSameness
- All Implemented Interfaces:
BiFunction<IAggregateSymbol, ISymbol, Optional<MethodSymbol>>
public final class SealedSameness
extends Object
implements BiFunction<IAggregateSymbol, ISymbol, Optional<MethodSymbol>>
THE SEALED sameness a type inherits (D24 rule 1) - one written by hand on an abstract base or a trait above it
(
IsHierarchyWideSameness) - if any. Such a type may not declare sameness of its own (E07182), and its
#? goes with the inherited one (E07184). Same walk as InheritedSameness. Hold one and apply it with
the Any type.-
Constructor Details
-
SealedSameness
public SealedSameness()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<IAggregateSymbol, ISymbol, Optional<MethodSymbol>>
-