A B C D E F G I L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(E) - Method in interface org.sonarsource.analyzer.commons.collections.PSet
- add(String, String, String) - Method in class org.sonarsource.analyzer.commons.ProfileGenerator.RulesConfiguration
- addRulesByAnnotatedClass(RulesDefinition.NewRepository, List<Class<?>>) - Method in class org.sonarsource.analyzer.commons.RuleMetadataLoader
- addRulesByRuleKey(RulesDefinition.NewRepository, List<String>) - Method in class org.sonarsource.analyzer.commons.RuleMetadataLoader
- alternate(List<? extends T>, List<? extends T>) - Static method in class org.sonarsource.analyzer.commons.collections.ListUtils
- anyMatch(Predicate<E>) - Method in interface org.sonarsource.analyzer.commons.collections.PStack
-
Test given predicate on elements and return true if any of elements matches the predicate
B
- build() - Method in class org.sonarsource.analyzer.commons.collections.MapBuilder
- BuiltInQualityProfileJsonLoader - Class in org.sonarsource.analyzer.commons
-
Use to create
BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile
based on json file, for profiles implementingBuiltInQualityProfilesDefinition
Not designed for multi-threads
C
- cancel() - Method in class org.sonarsource.analyzer.commons.ProgressReport
- concat(Iterable<? extends T>...) - Static method in class org.sonarsource.analyzer.commons.collections.ListUtils
- concat(List<? extends T>...) - Static method in class org.sonarsource.analyzer.commons.collections.ListUtils
- concat(Set<T>...) - Static method in class org.sonarsource.analyzer.commons.collections.SetUtils
- contains(E) - Method in interface org.sonarsource.analyzer.commons.collections.PSet
- createExternalRuleRepository(RulesDefinition.Context) - Method in class org.sonarsource.analyzer.commons.ExternalRuleLoader
D
- DeprecatedRuleKey - Annotation Type in org.sonarsource.analyzer.commons.annotations
-
Annotate a rule class with this annotation in order to provide deprecated rule keys (see
RulesDefinition.NewRule.addDeprecatedRuleKey(String, String)
). - DeprecatedRuleKeys - Annotation Type in org.sonarsource.analyzer.commons.annotations
- difference(Set<T>, Set<T>) - Static method in class org.sonarsource.analyzer.commons.collections.SetUtils
E
- emptyMap() - Static method in class org.sonarsource.analyzer.commons.collections.PCollections
- emptySet() - Static method in class org.sonarsource.analyzer.commons.collections.PCollections
- emptyStack() - Static method in class org.sonarsource.analyzer.commons.collections.PCollections
- endLine() - Method in class org.sonarsource.analyzer.commons.TokenLocation
- endLineOffset() - Method in class org.sonarsource.analyzer.commons.TokenLocation
- entries() - Method in interface org.sonarsource.analyzer.commons.collections.PMap
- ExternalReportProvider - Class in org.sonarsource.analyzer.commons
- ExternalRuleLoader - Class in org.sonarsource.analyzer.commons
-
Creates external rule repository based on json file in the format
[ { "key": "...", "name": "..." }, ...
- ExternalRuleLoader(String, String, String, String) - Constructor for class org.sonarsource.analyzer.commons.ExternalRuleLoader
F
- FileProvider - Class in org.sonarsource.analyzer.commons
- FileProvider(File, String) - Constructor for class org.sonarsource.analyzer.commons.FileProvider
- forEach(BiConsumer<K, V>) - Method in interface org.sonarsource.analyzer.commons.collections.PMap
-
Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.
G
- generateProfile(String, String, String, ProfileGenerator.RulesConfiguration, Set<String>) - Static method in class org.sonarsource.analyzer.commons.ProfileGenerator
- get(K) - Method in interface org.sonarsource.analyzer.commons.collections.PMap
- getLast(List<T>) - Static method in class org.sonarsource.analyzer.commons.collections.ListUtils
- getMatchingFiles() - Method in class org.sonarsource.analyzer.commons.FileProvider
- getOnlyElement(List<T>) - Static method in class org.sonarsource.analyzer.commons.collections.ListUtils
- getOnlyElement(Set<T>) - Static method in class org.sonarsource.analyzer.commons.collections.SetUtils
- getReportFiles(SensorContext, String) - Static method in class org.sonarsource.analyzer.commons.ExternalReportProvider
I
- immutableSetOf(T...) - Static method in class org.sonarsource.analyzer.commons.collections.SetUtils
- isEmpty() - Method in interface org.sonarsource.analyzer.commons.collections.PMap
- isEmpty() - Method in interface org.sonarsource.analyzer.commons.collections.PSet
- isEmpty() - Method in interface org.sonarsource.analyzer.commons.collections.PStack
L
- ListUtils - Class in org.sonarsource.analyzer.commons.collections
- load(BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile, String, String) - Static method in class org.sonarsource.analyzer.commons.BuiltInQualityProfileJsonLoader
- loadActiveKeysFromJsonProfile(String) - Static method in class org.sonarsource.analyzer.commons.BuiltInQualityProfileJsonLoader
M
- MapBuilder<K,V> - Class in org.sonarsource.analyzer.commons.collections
-
This class is used for Java < 9 to simplify the creation of maps.
N
- newMap() - Static method in class org.sonarsource.analyzer.commons.collections.MapBuilder
- nextFile() - Method in class org.sonarsource.analyzer.commons.ProgressReport
O
- org.sonarsource.analyzer.commons - package org.sonarsource.analyzer.commons
- org.sonarsource.analyzer.commons.annotations - package org.sonarsource.analyzer.commons.annotations
- org.sonarsource.analyzer.commons.collections - package org.sonarsource.analyzer.commons.collections
P
- PCollections - Class in org.sonarsource.analyzer.commons.collections
- peek() - Method in interface org.sonarsource.analyzer.commons.collections.PStack
- peek(int) - Method in interface org.sonarsource.analyzer.commons.collections.PStack
- PMap<K,V> - Interface in org.sonarsource.analyzer.commons.collections
-
Persistent (functional) Map.
- pop() - Method in interface org.sonarsource.analyzer.commons.collections.PStack
- ProfileGenerator - Class in org.sonarsource.analyzer.commons
- ProfileGenerator.RulesConfiguration - Class in org.sonarsource.analyzer.commons
- ProgressReport - Class in org.sonarsource.analyzer.commons
- ProgressReport(String, long) - Constructor for class org.sonarsource.analyzer.commons.ProgressReport
- ProgressReport(String, long, String) - Constructor for class org.sonarsource.analyzer.commons.ProgressReport
- ProgressReport(String, long, Logger, String) - Constructor for class org.sonarsource.analyzer.commons.ProgressReport
- PSet<E> - Interface in org.sonarsource.analyzer.commons.collections
-
Persistent (functional) Set.
- PStack<E> - Interface in org.sonarsource.analyzer.commons.collections
-
Persistent (functional) Stack.
- push(E) - Method in interface org.sonarsource.analyzer.commons.collections.PStack
- put(K, V) - Method in class org.sonarsource.analyzer.commons.collections.MapBuilder
- put(K, V) - Method in interface org.sonarsource.analyzer.commons.collections.PMap
R
- remove(E) - Method in interface org.sonarsource.analyzer.commons.collections.PSet
- remove(K) - Method in interface org.sonarsource.analyzer.commons.collections.PMap
- repositoryKey() - Method in annotation type org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey
- reverse(List<T>) - Static method in class org.sonarsource.analyzer.commons.collections.ListUtils
- ruleConstantDebtMinutes(String) - Method in class org.sonarsource.analyzer.commons.ExternalRuleLoader
- ruleKey() - Method in annotation type org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey
- ruleKeys() - Method in class org.sonarsource.analyzer.commons.ExternalRuleLoader
- RuleMetadataLoader - Class in org.sonarsource.analyzer.commons
-
Not designed for multi-threads
- RuleMetadataLoader(String, String, SonarRuntime) - Constructor for class org.sonarsource.analyzer.commons.RuleMetadataLoader
- RuleMetadataLoader(String, SonarRuntime) - Constructor for class org.sonarsource.analyzer.commons.RuleMetadataLoader
- RulesConfiguration() - Constructor for class org.sonarsource.analyzer.commons.ProfileGenerator.RulesConfiguration
- ruleSeverity(String) - Method in class org.sonarsource.analyzer.commons.ExternalRuleLoader
- ruleType(String) - Method in class org.sonarsource.analyzer.commons.ExternalRuleLoader
- run() - Method in class org.sonarsource.analyzer.commons.ProgressReport
S
- SetUtils - Class in org.sonarsource.analyzer.commons.collections
-
This class is used for Java < 9 to simplify the creation of maps.
- size() - Method in interface org.sonarsource.analyzer.commons.collections.PStack
-
Naive implementation has O(n) time complexity, where n is number of elements.
- start(Iterable<String>) - Method in class org.sonarsource.analyzer.commons.ProgressReport
- startLine() - Method in class org.sonarsource.analyzer.commons.TokenLocation
- startLineOffset() - Method in class org.sonarsource.analyzer.commons.TokenLocation
- stop() - Method in class org.sonarsource.analyzer.commons.ProgressReport
T
- TokenLocation - Class in org.sonarsource.analyzer.commons
-
A utility class to compute the offsets which should be provided to SonarQube APIs (highlighting, CPD).
- TokenLocation(int, int, String) - Constructor for class org.sonarsource.analyzer.commons.TokenLocation
-
Constructor which computes end line and column based on the token content.
- toString() - Method in interface org.sonarsource.analyzer.commons.collections.PMap
-
The string representation consists of a list of key-value mappings in the ascending order of hash codes of keys.
- toString() - Method in interface org.sonarsource.analyzer.commons.collections.PSet
-
The string representation consists of a list of elements in the ascending order of hash codes.
- toString() - Method in interface org.sonarsource.analyzer.commons.collections.PStack
V
- value() - Method in annotation type org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKeys
All Classes All Packages