public String getFileAnnotationAnnotationRef(int fileAnnotationIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getFileAnnotationAnnotationRef(fileAnnotationIndex, annotationRefIndex); if (result != null) return result; } } return null; }
public String getFileAnnotationAnnotationRef(int fileAnnotationIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getFileAnnotationAnnotationRef(fileAnnotationIndex, annotationRefIndex); if (result != null) return result; } } return null; }
for (int a=0; a<annotationRefCount; a++) { try { String id = src.getFileAnnotationAnnotationRef(i, a); dest.setFileAnnotationAnnotationRef(id, i, a);