Class CloseOperatorOf

java.lang.Object
org.ek9lang.compiler.common.CloseOperatorOf
All Implemented Interfaces:
Function<IAggregateSymbol, Optional<MethodSymbol>>

public final class CloseOperatorOf extends Object implements Function<IAggregateSymbol, Optional<MethodSymbol>>
THE close operator of an aggregate: the one operator close a call to close resolves to (its own, or inherited), or empty when it has none. HasCloseOperator and the call graph's try-resource edge read it here rather than repeating the search (front-end rationalisation D-7: 'what is closeable' was decided twice, by the same search). Hold an instance.