private void configureReferenceDescriptors() throws MetaDataException { // ReferenceDescriptors need to find a ClassDescriptor for their referenced class for (ReferenceDescriptor rfd : refDescriptors) { try { rfd.findReferencedDescriptor(); } catch (NonFatalMetaDataException e) { model.addProblem(e.getMessage()); } } // CollectionDescriptors need to find a ClassDescriptor for their referenced class for (CollectionDescriptor cod : colDescriptors) { try { cod.findReferencedDescriptor(); } catch (NonFatalMetaDataException e) { model.addProblem(e.getMessage()); } } }
private void configureReferenceDescriptors() throws MetaDataException { // ReferenceDescriptors need to find a ClassDescriptor for their referenced class for (ReferenceDescriptor rfd : refDescriptors) { try { rfd.findReferencedDescriptor(); } catch (NonFatalMetaDataException e) { model.addProblem(e.getMessage()); } } // CollectionDescriptors need to find a ClassDescriptor for their referenced class for (CollectionDescriptor cod : colDescriptors) { try { cod.findReferencedDescriptor(); } catch (NonFatalMetaDataException e) { model.addProblem(e.getMessage()); } } }