values.sourceLocation(loc, 0, 0)));
}
ASTNode parentASTNode = node.getParent();
if (parentASTNode instanceof FieldDeclaration) {
FieldDeclaration parent = (FieldDeclaration)parentASTNode;
parent.getType().accept(this);
visitListOfModifiers(parent.modifiers());
if (parent.getJavadoc() != null) {
parent.getJavadoc().accept(this);
}
}
else if (parentASTNode instanceof VariableDeclarationExpression) {
VariableDeclarationExpression parent = (VariableDeclarationExpression)parentASTNode;
parent.getType().accept(this);
visitListOfModifiers(parent.modifiers());
}
else {
VariableDeclarationStatement parent = (VariableDeclarationStatement)parentASTNode;
parent.getType().accept(this);
visitListOfModifiers(parent.modifiers());
}
scopeManager.pop();
return true;
}