Class NearestAbove

java.lang.Object
org.ek9lang.compiler.support.operators.NearestAbove
All Implemented Interfaces:
BiFunction<IAggregateSymbol, Function<IAggregateSymbol, Optional<MethodSymbol>>, Optional<MethodSymbol>>

public final class NearestAbove extends Object implements BiFunction<IAggregateSymbol, Function<IAggregateSymbol, Optional<MethodSymbol>>, Optional<MethodSymbol>>
THE nearest declaration above an aggregate that a level test finds - asked of each super class in turn, nearest first (SuperClassChain). A trait ends the walk: its operators are not inherited through the class chain. The general form of NearestOperatorAbove and NearestSelfComparisonAbove. Hold one and apply it.