Class LanguageSpecificAnalysis

    • Constructor Detail

      • LanguageSpecificAnalysis

        public LanguageSpecificAnalysis()
    • Method Detail

      • getName

        public abstract java.lang.String getName()
      • getDescription

        public abstract java.lang.String getDescription()
      • getSupportedLanguages

        public abstract java.util.Set<java.lang.String> getSupportedLanguages()
      • getRegisteredAnalyses

        public static java.util.Set<LanguageSpecificAnalysis> getRegisteredAnalyses()
        Returns a copy of the currently registered analyses
        Returns:
      • getRegisteredAnalyses

        public static java.util.Set<LanguageSpecificAnalysis> getRegisteredAnalyses​(java.lang.String language)
        Returns a copy of the currently registered analyses that apply to the given language
        Parameters:
        language -
        Returns:
      • getRegisteredAnalyses

        public static java.util.Set<? extends LanguageSpecificAnalysis> getRegisteredAnalyses​(java.lang.Class<? extends LanguageSpecificAnalysis> analysisType)
        Returns a copy of the currently registered analyses that apply to the given analysis type
        Parameters:
        analysisType -
        Returns:
      • getRegisteredAnalyses

        public static java.util.Set<? extends LanguageSpecificAnalysis> getRegisteredAnalyses​(java.lang.String language,
                                                                                              java.lang.Class<? extends LanguageSpecificAnalysis> analysisType)
        Returns a copy of the currently registered analyses that apply to the given language and analysis type
        Parameters:
        language -
        analysisType -
        Returns:
      • loadAnalysisContributions

        public static void loadAnalysisContributions()
        Registers the contributed plugin analyses definitions
      • hashCode

        public int hashCode()
        LanguageSpecificAnalysis objects are equal if they share the same name and support the same languages
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        LanguageSpecificAnalysis objects are equal if they share the same name and support the same languages
        Overrides:
        equals in class java.lang.Object