Consider the following:
contribute(enclosingCall(name('withConfig') & hasArgument('configuration')) & inClosure() & isScript() & isThisType()) {
method(name:'ast', type:void, params:[xform:'java.lang.Class<? extends Annotation>'], optionalParams:[attributes:Map])
}
and the script:
withConfig(configuration) {
a|
}
Completion at | is showing proposal ast(Class attributes) in the list of proposals.
It should be showing either ast(Class xform) or ast(Map attributes, Class xform).
Consider the following:
and the script:
withConfig(configuration) { a| }Completion at
|is showing proposalast(Class attributes)in the list of proposals.It should be showing either
ast(Class xform)orast(Map attributes, Class xform).