Uses of Interface
org.sonar.iac.common.api.tree.Tree
-
-
Uses of Tree in org.sonar.iac.common.api.checks
Methods in org.sonar.iac.common.api.checks with type parameters of type Tree Modifier and Type Method Description <T extends Tree>
voidInitContext. register(Class<T> cls, BiConsumer<CheckContext,T> visitor) -
Uses of Tree in org.sonar.iac.common.api.tree
Subinterfaces of Tree in org.sonar.iac.common.api.tree Modifier and Type Interface Description interfaceIacTokeninterfaceTextTreeMethods in org.sonar.iac.common.api.tree that return Tree Modifier and Type Method Description TreePropertyTree. key()TreePropertyTree. value()Methods in org.sonar.iac.common.api.tree that return types with arguments of type Tree Modifier and Type Method Description List<Tree>Tree. children() -
Uses of Tree in org.sonar.iac.common.checks
Methods in org.sonar.iac.common.checks with type parameters of type Tree Modifier and Type Method Description static <T extends Tree>
Optional<T>PropertyUtils. get(Tree tree, String key, Class<T> clazz)static <T extends Tree>
List<T>PropertyUtils. getAll(Tree tree, Class<T> clazz)static <T extends Tree>
List<T>PropertyUtils. getAll(Tree tree, String key, Class<T> clazz)static <T extends Tree>
Optional<T>PropertyUtils. value(Tree tree, String key, Class<T> clazz)static <T extends Tree>
TPropertyUtils. valueOrNull(Tree tree, String key, Class<T> clazz)Methods in org.sonar.iac.common.checks that return Tree Modifier and Type Method Description static TreePropertyUtils. valueOrNull(Tree tree, String key)Methods in org.sonar.iac.common.checks that return types with arguments of type Tree Modifier and Type Method Description static Optional<Tree>PropertyUtils. key(Tree tree, String key)static Optional<Tree>PropertyUtils. value(Tree tree, String key)static Optional<Tree>PropertyUtils. value(Tree tree, Predicate<String> keyMatcher)Methods in org.sonar.iac.common.checks with parameters of type Tree Modifier and Type Method Description static Optional<PropertyTree>PropertyUtils. get(Tree tree, String key)static <T extends Tree>
Optional<T>PropertyUtils. get(Tree tree, String key, Class<T> clazz)static <T extends Tree>
List<T>PropertyUtils. getAll(Tree tree, Class<T> clazz)static List<PropertyTree>PropertyUtils. getAll(Tree tree, String key)static <T extends Tree>
List<T>PropertyUtils. getAll(Tree tree, String key, Class<T> clazz)static Optional<Integer>TextUtils. getIntValue(Tree tree)static Optional<String>TextUtils. getValue(Tree tree)static TrileanPropertyUtils. has(Tree tree, String key)static booleanPropertyUtils. isMissing(Tree tree, String key)static booleanResourceAccessPolicyVector. isResourceAccessPolicy(Tree action)static TrileanTextUtils. isValue(Tree tree, String expectedValue)static booleanTextUtils. isValueFalse(Tree tree)static booleanTextUtils. isValueTrue(Tree tree)static Optional<Tree>PropertyUtils. key(Tree tree, String key)static TrileanTextUtils. matchesValue(Tree tree, Predicate<String> matcher)static Optional<Tree>PropertyUtils. value(Tree tree, String key)static <T extends Tree>
Optional<T>PropertyUtils. value(Tree tree, String key, Class<T> clazz)static Optional<Tree>PropertyUtils. value(Tree tree, Predicate<String> keyMatcher)static booleanPropertyUtils. valueIs(Tree tree, String key, Predicate<Tree> predicate)static TreePropertyUtils. valueOrNull(Tree tree, String key)static <T extends Tree>
TPropertyUtils. valueOrNull(Tree tree, String key, Class<T> clazz)Method parameters in org.sonar.iac.common.checks with type arguments of type Tree Modifier and Type Method Description static booleanPropertyUtils. valueIs(Tree tree, String key, Predicate<Tree> predicate) -
Uses of Tree in org.sonar.iac.common.checks.policy
Fields in org.sonar.iac.common.checks.policy declared as Tree Modifier and Type Field Description TreePolicyValidator.InsecureStatement. actionTreePolicyValidator.InsecureStatement. effectTreePolicyValidator.InsecureStatement. resourceMethods in org.sonar.iac.common.checks.policy that return types with arguments of type Tree Modifier and Type Method Description Optional<Tree>Policy.Statement. action()Optional<Tree>Policy.Statement. condition()Optional<Tree>Policy.Statement. effect()Optional<Tree>Policy. id()Optional<Tree>Policy.Statement. notAction()Optional<Tree>Policy.Statement. notPrincipal()Optional<Tree>Policy.Statement. notResource()Optional<Tree>Policy.Statement. principal()Optional<Tree>Policy.Statement. resource()Optional<Tree>Policy.Statement. sid()Optional<Tree>Policy. version()Constructors in org.sonar.iac.common.checks.policy with parameters of type Tree Constructor Description InsecureStatement(Tree resource, Tree effect, Tree action) -
Uses of Tree in org.sonar.iac.common.extension
Classes in org.sonar.iac.common.extension with type parameters of type Tree Modifier and Type Interface Description interfaceTreeParser<N extends Tree>Methods in org.sonar.iac.common.extension that return types with arguments of type Tree Modifier and Type Method Description protected abstract TreeParser<Tree>IacSensor. treeParser() -
Uses of Tree in org.sonar.iac.common.extension.visitors
Methods in org.sonar.iac.common.extension.visitors with type parameters of type Tree Modifier and Type Method Description <T extends Tree>
voidChecksVisitor.ContextAdapter. register(Class<T> cls, BiConsumer<CheckContext,T> visitor)<T extends Tree>
TreeVisitor<C>TreeVisitor. register(Class<T> cls, BiConsumer<C,T> visitor)Methods in org.sonar.iac.common.extension.visitors that return types with arguments of type Tree Modifier and Type Method Description Deque<Tree>TreeContext. ancestors()Methods in org.sonar.iac.common.extension.visitors with parameters of type Tree Modifier and Type Method Description protected voidMetricsVisitor. after(InputFileContext ctx, Tree root)protected voidSyntaxHighlightingVisitor. after(InputFileContext ctx, Tree root)protected voidTreeVisitor. after(C ctx, Tree root)protected voidMetricsVisitor. before(InputFileContext ctx, Tree root)protected voidSyntaxHighlightingVisitor. before(InputFileContext ctx, Tree root)protected voidTreeVisitor. before(C ctx, Tree root)voidTreeContext. enter(Tree node)voidTreeVisitor. scan(C ctx, Tree root) -
Uses of Tree in org.sonar.iac.common.testing
Fields in org.sonar.iac.common.testing with type parameters of type Tree Modifier and Type Field Description protected TreeParser<Tree>AbstractMetricsTest. parserMethods in org.sonar.iac.common.testing with type parameters of type Tree Modifier and Type Method Description <T extends Tree>
voidVerifier.TestContext. register(Class<T> cls, BiConsumer<CheckContext,T> consumer)Methods in org.sonar.iac.common.testing that return types with arguments of type Tree Modifier and Type Method Description protected abstract TreeParser<Tree>AbstractMetricsTest. treeParser()Methods in org.sonar.iac.common.testing with parameters of type Tree Modifier and Type Method Description voidVerifier.TestContext. scan(Tree root)Method parameters in org.sonar.iac.common.testing with type arguments of type Tree Modifier and Type Method Description static voidVerifier. verify(TreeParser<Tree> parser, Path path, IacCheck check)static voidVerifier. verify(TreeParser<Tree> parser, Path path, IacCheck check, Function<org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier,Verifier.TestContext> contextSupplier)static voidVerifier. verify(TreeParser<Tree> parser, Path path, IacCheck check, Verifier.Issue... expectedIssues)This method should only be used if "Noncompliant" comments in the code cannot be used to verify the issues.static voidVerifier. verifyNoIssue(TreeParser<Tree> parser, Path path, IacCheck check)static voidVerifier. verifyNoIssue(TreeParser<Tree> parser, Path path, IacCheck check, Function<org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier,Verifier.TestContext> contextSupplier)Constructor parameters in org.sonar.iac.common.testing with type arguments of type Tree Constructor Description AbstractHighlightingTest(SyntaxHighlightingVisitor highlightingVisitor, TreeParser<Tree> parser) -
Uses of Tree in org.sonar.iac.common.yaml
Methods in org.sonar.iac.common.yaml that return types with arguments of type Tree Modifier and Type Method Description protected TreeParser<Tree>YamlSensor. treeParser()Methods in org.sonar.iac.common.yaml with parameters of type Tree Modifier and Type Method Description static List<String>YamlTreeUtils. getListValueElements(Tree tree) -
Uses of Tree in org.sonar.iac.common.yaml.tree
Subinterfaces of Tree in org.sonar.iac.common.yaml.tree Modifier and Type Interface Description interfaceFileTreeinterfaceMappingTreeinterfaceScalarTreeinterfaceSequenceTreeinterfaceTupleTreeinterfaceYamlTreeClasses in org.sonar.iac.common.yaml.tree that implement Tree Modifier and Type Class Description classFileTreeImplclassMappingTreeImplclassScalarTreeImplclassSequenceTreeImplclassTupleTreeImplclassYamlTreeImplMethods in org.sonar.iac.common.yaml.tree that return types with arguments of type Tree Modifier and Type Method Description List<Tree>FileTreeImpl. children()List<Tree>MappingTreeImpl. children()List<Tree>ScalarTreeImpl. children()List<Tree>SequenceTreeImpl. children()List<Tree>TupleTreeImpl. children()
-