@Check
public void checkPrefixCC(PrefixId def) {
IResourceDescriptions theIndex = index.getResourceDescriptions(def.eResource());
Iterable<IEObjectDescription> triples = theIndex.getExportedObjectsByType(XturtlePackage.Literals.TRIPLES);
QualifiedName myName = getService().getQualifiedName(def);
List<IProject> matchingProject=Lists.newArrayList();
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
for (IEObjectDescription triple : triples) {
if(myName.equals(triple.getQualifiedName()) && triple.getEObjectURI().isPlatformResource())
matchingProject.add(root.getProject(triple.getEObjectURI().segment(1)));
}
if(def.eResource().getURI().isPlatformResource()){
String project = def.eResource().getURI().segment(1);