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 interfaceTextTreeMethods 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 Optional<Tree>Policy.Statement. action()Optional<Tree>Policy.Statement. condition()Optional<Tree>Policy.Statement. effect()Optional<Tree>Policy. id()static Optional<Tree>PropertyUtils. key(Tree tree, String key)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()static Optional<Tree>PropertyUtils. value(Tree tree, String key)static Optional<Tree>PropertyUtils. value(Tree tree, Predicate<String> keyMatcher)Optional<Tree>Policy. version()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 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 TreePropertyUtils. valueOrNull(Tree tree, String key)static <T extends Tree>
TPropertyUtils. valueOrNull(Tree tree, String key, Class<T> clazz) -
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 that return types with arguments of type Tree Modifier and Type Method Description protected abstract TreeParser<Tree>AbstractMetricsTest. treeParser()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, 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)Constructor parameters in org.sonar.iac.common.testing with type arguments of type Tree Constructor Description AbstractHighlightingTest(SyntaxHighlightingVisitor highlightingVisitor, TreeParser<Tree> parser)
-