public interface LexicalScope
CtElementwhich represents the current scope
<T> T forEachElementByName(String name, Function<? super CtNamedElement,T> fnc)
name- to be searched simple name
fnc- is called for each named element with same simple name, which is defined in this or parent
LexicalScope. Function `fnc` is called as long as there are some matching elements and `fnc` returns null. If `fnc` returns not null value then searching is stopped and that value is a returned
Copyright © 2007–2019 Inria. All rights reserved.