interface _Each<'a> def each: { ('a) -> any } -> instance end module A : _Each def count: () -> Integer end module X def foo: () -> Integer end module Palette def self?.defacto_palette: -> Array> def self.nestopia_palette: -> Array> end