public ValidationResult validateConfiguration(@Nonnull AnalysisContext analysisContext) {
        ValidationResult validation = ValidationResult.success();

        // even though we're not using the extensions much during validation and we actually don't run any analysis
        // at all, let's just use the same method for instantiating the extensions as during the analysis even though we
        // actually don't need the extensions classified by their type.
        AnalysisResult.Extensions exts = prepareAnalysis(analysisContext);
        validation = validate(analysisContext, validation, exts);

        return validation;
    }
public ValidationResult validateConfiguration ( @ Nonnull AnalysisContext analysisContext ) { ValidationResult validation = ValidationResult . success ( ) ; AnalysisResult . Extensions exts = prepareAnalysis ( analysisContext ) ; validation = validate ( analysisContext , validation , exts ) ; return validation ; }
Validates the configuration of the analysis context.

@param analysisContext the analysis context
@return the validation result