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 Optional<PrivilegeEscalationVector>PrivilegeEscalationVector. getStatementEscalationVector(Policy.Statement statement, List<Tree> actionTrees)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
Classes in org.sonar.iac.common.extension.visitors with type parameters of type Tree Modifier and Type Class Description protected static classTreeVisitor.ConsumerFilter<C extends TreeContext,T extends Tree>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 voidTreeVisitor.ConsumerFilter. accept(C ctx, Tree node)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)protected voidTreeVisitor. visit(C ctx, Tree node) -
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()
-