Class LanguageSpecificAnalysis
- java.lang.Object
-
- com.ensoftcorp.open.commons.language.LanguageSpecificAnalysis
-
- Direct Known Subclasses:
CallSiteAnalysis.LanguageSpecificCallSiteAnalysis
public abstract class LanguageSpecificAnalysis extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LanguageSpecificAnalysis()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
LanguageSpecificAnalysis objects are equal if they share the same name and support the same languagesabstract java.lang.String
getDescription()
abstract java.lang.String
getName()
static java.util.Set<LanguageSpecificAnalysis>
getRegisteredAnalyses()
Returns a copy of the currently registered analysesstatic 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 typestatic java.util.Set<LanguageSpecificAnalysis>
getRegisteredAnalyses(java.lang.String language)
Returns a copy of the currently registered analyses that apply to the given languagestatic 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 typeabstract java.util.Set<java.lang.String>
getSupportedLanguages()
int
hashCode()
LanguageSpecificAnalysis objects are equal if they share the same name and support the same languagesstatic void
loadAnalysisContributions()
Registers the contributed plugin analyses definitions
-
-
-
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 classjava.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 classjava.lang.Object
-
-