locator.match((FieldDeclaration) node, getNodeSet());
} else if (node instanceof ConstantDeclaration) {
ConstantDeclaration constDecl = (ConstantDeclaration) node;
ConstantReference constantName = constDecl.getConstantName();
FieldDeclaration decl = new FieldDeclarationLocation(constantName
.getName(), constantName.sourceStart(), constantName
.sourceEnd(), constDecl.sourceStart(), constDecl
.sourceEnd());
decl.setModifiers(Modifiers.AccConstant);
locator.match(decl, getNodeSet());
} else if (node instanceof FieldAccess) {