VirtualFile (CompositePackagingElement<?> parent, String outputPath, PackagingElementResolvingContext context, ArtifactType artifactType) { final List<VirtualFile> files = findSourceFilesByOutputPath(parent, outputPath, context, artifactType); return files.isEmpty() ? null : files.get(0); }