Index
All Classes and Interfaces|All Packages
A
- advanced() - Method in interface org.openrewrite.analysis.InvocationMatcher
- AdvancedInvocationMatcher() - Constructor for class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
- anyMatch(Cursor, LocalFlowSpec<?, ?>) - Static method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
- ArgumentRange() - Constructor for class org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel.ArgumentRange
- asExpr() - Method in class org.openrewrite.analysis.dataflow.DataFlowNode
- asExpr(Class<E>) - Method in class org.openrewrite.analysis.dataflow.DataFlowNode
- asExprParent(Class<E>) - Method in class org.openrewrite.analysis.dataflow.DataFlowNode
B
- BarrierGuardPredicate - Interface in org.openrewrite.analysis.controlflow
- BasicJavaTypeMethodMatcher - Interface in org.openrewrite.analysis
C
- computeArgumentRange(String) - Static method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- computeExecutableCodePoints(BarrierGuardPredicate) - Method in class org.openrewrite.analysis.controlflow.ControlFlowSummary
- computeReachableBasicBlock(BarrierGuardPredicate) - Method in class org.openrewrite.analysis.controlflow.ControlFlowSummary
- computeReachableExpressions(BarrierGuardPredicate) - Method in class org.openrewrite.analysis.controlflow.ControlFlowSummary
- ControlFlow - Class in org.openrewrite.analysis.controlflow
- ControlFlow() - Constructor for class org.openrewrite.analysis.controlflow.ControlFlow
- ControlFlowNode - Class in org.openrewrite.analysis.controlflow
-
Represents a control flow graph.
- ControlFlowNode() - Constructor for class org.openrewrite.analysis.controlflow.ControlFlowNode
- ControlFlowSummary - Class in org.openrewrite.analysis.controlflow
-
To create an instance call
ControlFlow.findControlFlow(). - ControlFlowSummary() - Constructor for class org.openrewrite.analysis.controlflow.ControlFlowSummary
- ControlFlowVisualization - Class in org.openrewrite.analysis.controlflow
- ControlFlowVisualization() - Constructor for class org.openrewrite.analysis.controlflow.ControlFlowVisualization
- create(FlowGraph, LocalFlowSpec<Source, Sink>, Set<Expression>) - Static method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
- CsvLoader - Class in org.openrewrite.analysis.dataflow.internal.csv
- CsvLoader() - Constructor for class org.openrewrite.analysis.dataflow.internal.csv.CsvLoader
D
- Dataflow - Class in org.openrewrite.analysis.dataflow
- Dataflow() - Constructor for class org.openrewrite.analysis.dataflow.Dataflow
- DataFlowNode - Class in org.openrewrite.analysis.dataflow
- DataFlowNode() - Constructor for class org.openrewrite.analysis.dataflow.DataFlowNode
E
- ExternalSinkModels - Class in org.openrewrite.analysis.dataflow
- ExternalSinkModels() - Constructor for class org.openrewrite.analysis.dataflow.ExternalSinkModels
F
- find(J, String) - Static method in class org.openrewrite.analysis.search.FindMethods
- find(J, String, boolean) - Static method in class org.openrewrite.analysis.search.FindMethods
- findControlFlow() - Method in class org.openrewrite.analysis.controlflow.ControlFlow
-
A return value of
Optional.empty()indicates that control flow can not be computed for the given start point. - findDeclaration(J, String) - Static method in class org.openrewrite.analysis.search.FindMethods
- findDeclaration(J, String, boolean) - Static method in class org.openrewrite.analysis.search.FindMethods
- FindFlowBetweenMethods - Class in org.openrewrite.analysis.search
-
Finds either Taint or Data flow between specified start and end methods.
- FindFlowBetweenMethods() - Constructor for class org.openrewrite.analysis.search.FindFlowBetweenMethods
- FindJavaTypeMethodsVisitor - Class in org.openrewrite.analysis
-
This visitor is used to find method invocations that match a given method pattern as defined by
JavaTypeMethodMatcher. - FindJavaTypeMethodsVisitor() - Constructor for class org.openrewrite.analysis.FindJavaTypeMethodsVisitor
- FindLocalFlowPaths<P> - Class in org.openrewrite.analysis.dataflow
- FindLocalFlowPaths() - Constructor for class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
- FindMethods - Class in org.openrewrite.analysis.search
-
Finds matching method invocations.
- FindMethods() - Constructor for class org.openrewrite.analysis.search.FindMethods
- findSinks(FlowGraph, LocalFlowSpec<?, ?>) - Static method in class org.openrewrite.analysis.dataflow.analysis.ForwardFlow
- findSinks(LocalFlowSpec<Source, Sink>) - Method in class org.openrewrite.analysis.dataflow.Dataflow
- findSources(LocalFlowSpec<E, ?>) - Method in class org.openrewrite.analysis.dataflow.Dataflow
- FlowGraph - Class in org.openrewrite.analysis.dataflow.analysis
- FlowGraph() - Constructor for class org.openrewrite.analysis.dataflow.analysis.FlowGraph
- ForwardFlow - Class in org.openrewrite.analysis.dataflow.analysis
- ForwardFlow() - Constructor for class org.openrewrite.analysis.dataflow.analysis.ForwardFlow
- from(Collection<? extends InvocationMatcher>) - Static method in interface org.openrewrite.analysis.InvocationMatcher
- from(Cursor) - Static method in class org.openrewrite.analysis.controlflow.Guard
- fromMethodMatcher(MethodMatcher) - Static method in interface org.openrewrite.analysis.InvocationMatcher
- fromMethodMatcher(MethodMatcher) - Static method in interface org.openrewrite.analysis.JavaTypeMethodMatcher
- fromMethodMatchers(Collection<? extends MethodMatcher>) - Static method in interface org.openrewrite.analysis.InvocationMatcher
- fromMethodMatchers(MethodMatcher...) - Static method in interface org.openrewrite.analysis.InvocationMatcher
G
- GenericExternalModel - Interface in org.openrewrite.analysis.dataflow.internal.csv
- GenericExternalModel.ArgumentRange - Class in org.openrewrite.analysis.dataflow.internal.csv
- GenericExternalModel.MethodMatcherKey - Class in org.openrewrite.analysis.dataflow.internal.csv
- getArgumentRange() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- getArguments() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- getBasicBlocks() - Method in class org.openrewrite.analysis.controlflow.ControlFlowSummary
- getConditionNodes() - Method in class org.openrewrite.analysis.controlflow.ControlFlowSummary
- getDescription() - Method in class org.openrewrite.analysis.controlflow.ControlFlowVisualization
- getDescription() - Method in class org.openrewrite.analysis.search.FindFlowBetweenMethods
- getDescription() - Method in class org.openrewrite.analysis.search.FindMethods
- getDescription() - Method in class org.openrewrite.analysis.search.UriCreatedWithHttpScheme
- getDisplayName() - Method in class org.openrewrite.analysis.controlflow.ControlFlowVisualization
- getDisplayName() - Method in class org.openrewrite.analysis.search.FindFlowBetweenMethods
- getDisplayName() - Method in class org.openrewrite.analysis.search.FindMethods
- getDisplayName() - Method in class org.openrewrite.analysis.search.UriCreatedWithHttpScheme
- getFullyQualifiedName() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- getInstance() - Static method in class org.openrewrite.analysis.dataflow.ExternalSinkModels
-
Deprecated.
- getName() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- getNamespace() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- getSignature() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- getSinkType() - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
- getSource() - Method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
- getSources() - Method in class org.openrewrite.analysis.dataflow.analysis.SourceFlow
- getSourceType() - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
- getType() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- getVisitor() - Method in class org.openrewrite.analysis.controlflow.ControlFlowVisualization
- getVisitor() - Method in class org.openrewrite.analysis.search.FindFlowBetweenMethods
- getVisitor() - Method in class org.openrewrite.analysis.search.FindMethods
- getVisitor() - Method in class org.openrewrite.analysis.search.UriCreatedWithHttpScheme
- Guard - Class in org.openrewrite.analysis.controlflow
I
- instance() - Static method in class org.openrewrite.analysis.dataflow.ExternalSinkModels
- InvocationMatcher - Interface in org.openrewrite.analysis
-
Matcher for finding
J.NewClassandJ.MethodInvocationExpressions. - InvocationMatcher.AdvancedInvocationMatcher - Class in org.openrewrite.analysis
- isAdditionalFlowStep(DataFlowNode, DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
-
takes an existing flow-step in the graph and offers a potential next flow step.
- isAdditionalFlowStep(DataFlowNode, DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.LocalTaintFlowSpec
- isAdditionalTaintStep(DataFlowNode, DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.LocalTaintFlowSpec
- isAnyArgument(Cursor) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
- isBarrier(Expression, Cursor) - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
-
Holds if flow through `expression` is prohibited.
- isBarrier(Expression, Cursor) - Method in class org.openrewrite.analysis.dataflow.LocalTaintFlowSpec
- isBarrierGuard(Guard, boolean) - Method in interface org.openrewrite.analysis.controlflow.BarrierGuardPredicate
- isBarrierGuard(Guard, boolean) - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
- isBarrierGuard(Guard, boolean) - Method in class org.openrewrite.analysis.dataflow.LocalTaintFlowSpec
- isConstructor() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- isEmpty() - Method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
- isFirstParameter(Cursor) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
- isFlowStep(DataFlowNode, DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
- isMatchOverrides() - Method in interface org.openrewrite.analysis.BasicJavaTypeMethodMatcher
- isMatchOverrides() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- isNotEmpty() - Method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
- isParameter(Cursor, int) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
- isSanitizer(Expression, Cursor) - Method in class org.openrewrite.analysis.dataflow.LocalTaintFlowSpec
- isSanitizerGuard(Guard, boolean) - Method in class org.openrewrite.analysis.dataflow.LocalTaintFlowSpec
- isSelect(Cursor) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
- isSink(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
-
The following is always true:
sink == cursor.getValue(). - isSinkNode(DataFlowNode, String) - Method in class org.openrewrite.analysis.dataflow.ExternalSinkModels
-
True if the
expressioncursoris specified as a sink with the givenkindin the CSV flow model. - isSource(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.LocalFlowSpec
-
The following is always true:
source == cursor.getValue(). - isSubtypes() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
J
- JavaTypeMethodMatcher - Interface in org.openrewrite.analysis
-
The most basic version of a
MethodMatcherthat allows implementers to craft custom matching logic.
L
- loadFromFile(String, R, Function<Iterable<E>, R>, Function<String[], E>) - Static method in class org.openrewrite.analysis.dataflow.internal.csv.CsvLoader
- LocalFlowSpec<Source extends org.openrewrite.java.tree.Expression,
Sink extends org.openrewrite.java.tree.J> - Class in org.openrewrite.analysis.dataflow - LocalFlowSpec() - Constructor for class org.openrewrite.analysis.dataflow.LocalFlowSpec
- LocalTaintFlowSpec<Source extends org.openrewrite.java.tree.Expression,
Sink extends org.openrewrite.java.tree.J> - Class in org.openrewrite.analysis.dataflow - LocalTaintFlowSpec() - Constructor for class org.openrewrite.analysis.dataflow.LocalTaintFlowSpec
M
- map(Function<Expression, T>, Function<J.Case, T>) - Method in class org.openrewrite.analysis.controlflow.Guard
- matches(Expression) - Method in interface org.openrewrite.analysis.InvocationMatcher
- matches(Expression) - Method in interface org.openrewrite.analysis.JavaTypeMethodMatcher
-
Whether the method invocation or constructor matches the criteria of this matcher.
- matches(MethodCall) - Method in interface org.openrewrite.analysis.JavaTypeMethodMatcher
- matches(JavaType.Method) - Method in interface org.openrewrite.analysis.BasicJavaTypeMethodMatcher
- matches(JavaType.Method) - Method in interface org.openrewrite.analysis.JavaTypeMethodMatcher
-
Whether the method invocation or constructor matches the criteria of this matcher.
- matchesMethodName(String) - Method in interface org.openrewrite.analysis.BasicJavaTypeMethodMatcher
- matchesMethodName(String) - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- matchesParameterTypes(List<JavaType>) - Method in interface org.openrewrite.analysis.BasicJavaTypeMethodMatcher
- matchesParameterTypes(List<JavaType>) - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- matchesTargetType(JavaType.FullyQualified) - Method in interface org.openrewrite.analysis.BasicJavaTypeMethodMatcher
- matchesTargetTypeName(String) - Method in interface org.openrewrite.analysis.BasicJavaTypeMethodMatcher
- matchesTargetTypeName(String) - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
- merge(M) - Method in interface org.openrewrite.analysis.dataflow.internal.csv.Mergeable
- Mergeable<M extends Mergeable> - Interface in org.openrewrite.analysis.dataflow.internal.csv
- MethodMatcherKey() - Constructor for class org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel.MethodMatcherKey
N
- noneMatch(Cursor, LocalFlowSpec<?, ?>) - Static method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
O
- of(Cursor) - Static method in class org.openrewrite.analysis.dataflow.DataFlowNode
- org.openrewrite.analysis - package org.openrewrite.analysis
- org.openrewrite.analysis.controlflow - package org.openrewrite.analysis.controlflow
- org.openrewrite.analysis.dataflow - package org.openrewrite.analysis.dataflow
-
This package is used to analyze the dataflow through a program.
- org.openrewrite.analysis.dataflow.analysis - package org.openrewrite.analysis.dataflow.analysis
- org.openrewrite.analysis.dataflow.internal.csv - package org.openrewrite.analysis.dataflow.internal.csv
- org.openrewrite.analysis.search - package org.openrewrite.analysis.search
-
This package is used to analyze the dataflow through a program.
S
- SinkFlow<Source extends org.openrewrite.java.tree.Expression,
Sink extends org.openrewrite.java.tree.J> - Class in org.openrewrite.analysis.dataflow.analysis - SinkFlow(Cursor) - Constructor for class org.openrewrite.analysis.dataflow.analysis.SinkFlow
- SinkFlowSummary<Source extends org.openrewrite.java.tree.Expression,
Sink extends org.openrewrite.java.tree.J> - Class in org.openrewrite.analysis.dataflow.analysis - SinkFlowSummary() - Constructor for class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
- sinkType - Variable in class org.openrewrite.analysis.dataflow.LocalFlowSpec
- SourceFlow<Source extends org.openrewrite.java.tree.Expression> - Class in org.openrewrite.analysis.dataflow.analysis
- SourceFlow(Cursor) - Constructor for class org.openrewrite.analysis.dataflow.analysis.SourceFlow
- sourceType - Variable in class org.openrewrite.analysis.dataflow.LocalFlowSpec
- startingAt(Cursor) - Static method in class org.openrewrite.analysis.controlflow.ControlFlow
T
- toString() - Method in class org.openrewrite.analysis.dataflow.analysis.FlowGraph
U
- UriCreatedWithHttpScheme - Class in org.openrewrite.analysis.search
- UriCreatedWithHttpScheme() - Constructor for class org.openrewrite.analysis.search.UriCreatedWithHttpScheme
V
- visit(Tree, P) - Method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
- visitExpression(Expression, P) - Method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
- visitMemberReference(J.MemberReference, ExecutionContext) - Method in class org.openrewrite.analysis.FindJavaTypeMethodsVisitor
- visitMethodInvocation(J.MethodInvocation, ExecutionContext) - Method in class org.openrewrite.analysis.FindJavaTypeMethodsVisitor
- visitNewClass(J.NewClass, ExecutionContext) - Method in class org.openrewrite.analysis.FindJavaTypeMethodsVisitor
_
- _addSuccessorInternal(ControlFlowNode) - Method in class org.openrewrite.analysis.controlflow.ControlFlowNode
All Classes and Interfaces|All Packages
ExternalSinkModels.instance()instead.