Element element = getNameScope().lookup(identifier, getDefiningLibrary());
if (element != null && element.getLibrary().isDartCore()
&& element instanceof PropertyAccessorElement) {
// This is the @proxy from dart.core
ClassDeclaration classDeclaration = (ClassDeclaration) node.getParent();
ElementAnnotationImpl elementAnnotation = new ElementAnnotationImpl(element);
node.setElementAnnotation(elementAnnotation);
((ClassElementImpl) classDeclaration.getElement()).setMetadata(new ElementAnnotationImpl[] {elementAnnotation});
}
}
return null;