@Override public void processAnnotationChange(ModuleMetaModel metaModel, AnnotationChange change) { ElementHandle<?> elt = change.getKey().getElement(); if (elt instanceof ElementHandle.Package) { ElementHandle.Package pkgElt = (ElementHandle.Package)elt; DiskFileSystem fs = metaModel.getProcessingContext().getSourcePath(pkgElt); if (fs != null) { metaModel.root = fs.getRoot(); } } super.processAnnotationChange(metaModel, change); }
@Override public void processAnnotationChange(ModuleMetaModel metaModel, AnnotationChange change) { ElementHandle<?> elt = change.getKey().getElement(); if (elt instanceof ElementHandle.Package) { ElementHandle.Package pkgElt = (ElementHandle.Package)elt; DiskFileSystem fs = metaModel.getProcessingContext().getSourcePath(pkgElt); if (fs != null) { metaModel.root = fs.getRoot(); } } super.processAnnotationChange(metaModel, change); }
ReadFileSystem<File> sourcePath = getSourcePath(context); if (sourcePath != null) { log.info("Attempt to resolve " + coordinates + " from source path");
ReadFileSystem<File> sourcePath = getSourcePath(context); if (sourcePath != null) { log.info("Attempt to resolve " + coordinates + " from source path");
userText) { List<Completion> completions = Collections.emptyList(); ReadFileSystem<File> sourcePath = metaModel.getProcessingContext().getSourcePath(metaModel.getHandle()); if (sourcePath != null) { try {
userText) { List<Completion> completions = Collections.emptyList(); ReadFileSystem<File> sourcePath = metaModel.getProcessingContext().getSourcePath(metaModel.getHandle()); if (sourcePath != null) { try {