Class DeclaredSameness
java.lang.Object
org.ek9lang.compiler.support.sameness.DeclaredSameness
- All Implemented Interfaces:
Function<IAggregateSymbol, Optional<MethodSymbol>>
public final class DeclaredSameness
extends Object
implements Function<IAggregateSymbol, Optional<MethodSymbol>>
THE sameness a type itself declares (B18) - its own non-abstract
<=> comparing it with itself, else its
== - hand-written or defaulted, never one GENERATED from it (IsGeneratedFromSameness). What it
inherits is InheritedSameness. Hold one and apply it.-
Constructor Details
-
DeclaredSameness
public DeclaredSameness()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<IAggregateSymbol, Optional<MethodSymbol>>
-