VirtualFile (Artifact artifact, String outputPath, PackagingElementResolvingContext context) { final List<VirtualFile> files = findSourceFilesByOutputPath(artifact.getRootElement(), outputPath, context, artifact.getArtifactType()); return files.isEmpty() ? null : files.get(0); }