Closed
Description
Mark Fisher opened INT-936 and commented
We need to avoid ambiguities that may arise when more than one method has the same name.
For example, in the following code to be used for transformation, only the annotated method should be available for evaluation:
@Transformer
public int process(int i);
public String process(String s);
Likewise, if a processor has a 'requiresReply' value of TRUE, then void-returning methods should be avoided (in this code, we now assume that there are no annotated methods, so any public method would be a potential candidate):
// available
public int process(int i);
// not available
public void process(String s);
Affects: 2.0 M1
This issue is a sub-task of #4836
Issue Links:
- Allow use of @Transformer on void-returning methods [INT-635] #4646 Allow use of
@Transformer
on void-returning methods
("is depended on by")