class AbstractMavenPluginDependenciesValidator implements MavenPluginDependenciesValidator {

    protected final PluginValidationManager pluginValidationManager;

    protected AbstractMavenPluginDependenciesValidator(PluginValidationManager pluginValidationManager) {
        this.pluginValidationManager = requireNonNull(pluginValidationManager);
    }

    @Override
    public void validate(
            RepositorySystemSession session,
            Artifact pluginArtifact,
            ArtifactDescriptorResult artifactDescriptorResult) {<FILL_FUNCTION_BODY>}

    protected abstract void doValidate(
            RepositorySystemSession session,
            Artifact pluginArtifact,
            ArtifactDescriptorResult artifactDescriptorResult);
}

        if (artifactDescriptorResult.getDependencies() != null) {
            doValidate(session, pluginArtifact, artifactDescriptorResult);
        }
    
<no_super_class>