for (int i = 2; i < length; i++) {
TypeBinding typeBinding = binding.parameters[i];
StringBuilder builder = new StringBuilder("arg");//$NON-NLS-1$
builder.append(i - 2);
VariableElement param = new VariableElementImpl(_env,
new AptBinaryLocalVariableBinding(
String.valueOf(builder).toCharArray(),
typeBinding,
0,
null,
binding));
params.add(param);
}
} else {
int i = 0;
for (TypeBinding typeBinding : binding.parameters) {
StringBuilder builder = new StringBuilder("arg");//$NON-NLS-1$
builder.append(i);
VariableElement param = new VariableElementImpl(_env,
new AptBinaryLocalVariableBinding(
String.valueOf(builder).toCharArray(),
typeBinding,
0,
parameterAnnotationBindings != null ? parameterAnnotationBindings[i] : null,
binding));