}
String name = removeParenthesis(split);
int offset = docTag.sourceStart();
int length = docTag.sourceStart() + 9;
modifyDeclaration(null, new DeclarationInfo(
IModelElement.FIELD, Modifiers.AccPublic,
offset, length, offset, length, name, null,
null, fCurrentQualifier, fCurrentParent));
} else if (tagKind == PHPDocTag.METHOD) {
// http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.method.pkg.html
final String[] split = WHITESPACE_SEPERATOR
.split(docTag.getValue().trim());
if (split.length < 2) {
break;
}
String name = removeParenthesis(split);
int index = name.indexOf('(');
if (index > 0) {
name = name.substring(0, index);
}
int offset = docTag.sourceStart();
int length = docTag.sourceStart() + 6;
modifyDeclaration(null, new DeclarationInfo(
IModelElement.METHOD, Modifiers.AccPublic,
offset, length, offset, length, name, null,
null, fCurrentQualifier, fCurrentParent));
}
}