int offset, int length, int nameOffset, int nameLength,
String[] parameterNames, String doc) {
super(parent, name);
this.flags = flags;
this.sourceRange = new SourceRange(offset, length);
this.nameRange = new SourceRange(nameOffset, nameLength);
// MethodParameterInfo
this.parameters = new IParameter[0];
if (parameterNames != null) {
this.parameters = new IParameter[parameterNames.length];
for (int i = 0; i < parameterNames.length; i++) {