/** * Resolves annotations based on inheritance for the given node and element. * * @param node manifest node * @param element the element annotations are being resolved for * @return annotations */ @Override protected IApiAnnotations resolveAnnotations(ManifestNode node, IElementDescriptor element) { IApiAnnotations ann = super.resolveAnnotations(node, element); if (node instanceof TypeNode) { return new TypeAnnotations(ann, ((TypeNode) node).fBuildStamp); } return ann; } }
if (annotations instanceof TypeAnnotations) { TypeAnnotations ta = (TypeAnnotations) annotations; if (ta.getBuildStamp() == BuildStamps.getBuildStamp(resource.getProject())) {