Index

A B C D E F G I L M N O R S T U V _ 
All Classes and Interfaces|All Packages

A

accumulator(DataFlowSpec) - Static method in class org.openrewrite.analysis.dataflow.global.GlobalDataFlow
 
addEdge(FlowGraph) - Method in class org.openrewrite.analysis.dataflow.analysis.FlowGraph
 
addEdge(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.analysis.FlowGraph
Add an edge to the graph returning the newly added FlowGraph leaf.
advanced() - Method in interface org.openrewrite.analysis.InvocationMatcher
 
AdvancedInvocationMatcher() - Constructor for class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
 
anyMatch(Cursor, DataFlowSpec) - 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
 
asParameter() - Method in class org.openrewrite.analysis.dataflow.DataFlowNode
 

B

BarrierGuardPredicate - Interface in org.openrewrite.analysis.controlflow
 
BasicInvocationMatcher - Interface in org.openrewrite.analysis
Allows for the creation of an InvocationMatcher by implementing four simple predicates.

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
 
ConstantFold - Class in org.openrewrite.analysis.constantfold
 
ConstantFold() - Constructor for class org.openrewrite.analysis.constantfold.ConstantFold
 
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, DataFlowSpec, Set<Expression>) - Static method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
 
create(DataFlowNode) - Method in interface org.openrewrite.analysis.dataflow.analysis.FlowGraph.Factory
 
CsvLoader - Class in org.openrewrite.analysis.dataflow.internal.csv
 
CsvLoader() - Constructor for class org.openrewrite.analysis.dataflow.internal.csv.CsvLoader
 
CursorUtil - Class in org.openrewrite.analysis.util
 
CursorUtil() - Constructor for class org.openrewrite.analysis.util.CursorUtil
 

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
 
DataFlowSpec - Class in org.openrewrite.analysis.dataflow
 
DataFlowSpec() - Constructor for class org.openrewrite.analysis.dataflow.DataFlowSpec
 
defaultFactory() - Static method in interface org.openrewrite.analysis.dataflow.analysis.FlowGraph.Factory
 

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
 
findAllFlows(FlowGraph, DataFlowSpec) - Static method in class org.openrewrite.analysis.dataflow.analysis.ForwardFlow
 
findAllFlows(DataFlowNode, DataFlowSpec, FlowGraph.Factory) - Static method in class org.openrewrite.analysis.dataflow.analysis.ForwardFlow
 
findCallableBlockCursor(Cursor) - Static method in class org.openrewrite.analysis.util.CursorUtil
 
findConstantExpr(DataFlowNode) - Static method in class org.openrewrite.analysis.constantfold.ConstantFold
Find the constant expression that is being assigned to a variable, if any.
findConstantExpr(Cursor) - Static method in class org.openrewrite.analysis.constantfold.ConstantFold
Find the constant expression that is being assigned to a variable, if any.
findConstantJ(Cursor) - Static method in class org.openrewrite.analysis.constantfold.ConstantFold
Find the constant value that is being assigned to a variable, if any.
findConstantLiteral(DataFlowNode) - Static method in class org.openrewrite.analysis.constantfold.ConstantFold
 
findConstantLiteral(Cursor) - Static method in class org.openrewrite.analysis.constantfold.ConstantFold
 
findConstantLiteralValue(DataFlowNode, Class<T>) - Static method in class org.openrewrite.analysis.constantfold.ConstantFold
 
findConstantLiteralValue(Cursor, Class<T>) - Static method in class org.openrewrite.analysis.constantfold.ConstantFold
 
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.
findCursorForTree(Cursor, Tree) - Static method in class org.openrewrite.analysis.util.CursorUtil
Find's a Cursor with a correctly constructed parent relationship for a given tree.
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
 
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(DataFlowSpec) - Method in class org.openrewrite.analysis.dataflow.Dataflow
 
FlagUtil - Class in org.openrewrite.analysis.util
 
FlagUtil() - Constructor for class org.openrewrite.analysis.util.FlagUtil
 
FlowGraph - Class in org.openrewrite.analysis.dataflow.analysis
 
FlowGraph() - Constructor for class org.openrewrite.analysis.dataflow.analysis.FlowGraph
 
FlowGraph.Factory - Interface in org.openrewrite.analysis.dataflow.analysis
 
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(String) - Static method in interface org.openrewrite.analysis.InvocationMatcher
This method functions in the same way as fromMethodMatcher(new MethodMatcher(methodName)).
fromMethodMatcher(String, Boolean) - Static method in interface org.openrewrite.analysis.InvocationMatcher
This method functions in the same way as fromMethodMatcher(new MethodMatcher(methodName, matchOverrides)).
fromMethodMatcher(MethodMatcher) - Static method in interface org.openrewrite.analysis.InvocationMatcher
 
fromMethodMatchers(Collection<? extends MethodMatcher>) - Static method in interface org.openrewrite.analysis.InvocationMatcher
 
fromMethodMatchers(MethodMatcher...) - Static method in interface org.openrewrite.analysis.InvocationMatcher
 
fromModifiers(Collection<J.Modifier>) - Static method in class org.openrewrite.analysis.util.FlagUtil
 
fromModifierType(J.Modifier.Type) - Static method in class org.openrewrite.analysis.util.FlagUtil
 

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
 
getEdges() - Method in class org.openrewrite.analysis.dataflow.analysis.FlowGraph
 
getFullyQualifiedName() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
 
getInitialValue(ExecutionContext) - Method in class org.openrewrite.analysis.search.FindFlowBetweenMethods
 
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
 
getScanner(GlobalDataFlow.Accumulator) - Method in class org.openrewrite.analysis.search.FindFlowBetweenMethods
 
getSignature() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
 
getSource() - Method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
 
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.FindMethods
 
getVisitor() - Method in class org.openrewrite.analysis.search.UriCreatedWithHttpScheme
 
getVisitor(GlobalDataFlow.Accumulator) - Method in class org.openrewrite.analysis.search.FindFlowBetweenMethods
 
GlobalDataFlow - Class in org.openrewrite.analysis.dataflow.global
Plan:
GlobalDataFlow() - Constructor for class org.openrewrite.analysis.dataflow.global.GlobalDataFlow
 
GlobalDataFlow.Accumulator - Interface in org.openrewrite.analysis.dataflow.global
 
GlobalDataFlow.Summary - Interface in org.openrewrite.analysis.dataflow.global
 
Guard - Class in org.openrewrite.analysis.controlflow
 

I

instance() - Static method in class org.openrewrite.analysis.dataflow.ExternalSinkModels
 
InvocationMatcher - Interface in org.openrewrite.analysis
The most basic version of a MethodMatcher that allows implementers to craft custom matching logic.
InvocationMatcher.AdvancedInvocationMatcher - Class in org.openrewrite.analysis
 
isAdditionalFlowStep(DataFlowNode, DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.DataFlowSpec
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.TaintFlowSpec
 
isAdditionalTaintStep(DataFlowNode, DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.TaintFlowSpec
 
isAnyArgument(Cursor) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
 
isArgument(Cursor, int) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
IMPORTANT NOTE: An argument is a value passed during function invocation.
isBarrier(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.DataFlowSpec
Holds if flow through `expression` is prohibited.
isBarrier(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.TaintFlowSpec
 
isBarrierGuard(Guard, boolean) - Method in interface org.openrewrite.analysis.controlflow.BarrierGuardPredicate
 
isBarrierGuard(Guard, boolean) - Method in class org.openrewrite.analysis.dataflow.DataFlowSpec
 
isBarrierGuard(Guard, boolean) - Method in class org.openrewrite.analysis.dataflow.TaintFlowSpec
 
isConstructor() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
 
isEmpty() - Method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
 
isExpr() - Method in class org.openrewrite.analysis.dataflow.DataFlowNode
 
isFirstArgument(Cursor) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
IMPORTANT NOTE: An argument is a value passed during function invocation.
isFirstParameter(Cursor) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
IMPORTANT NOTE: A parameter is a variable in a function definition.
isFlowParticipant() - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Summary
 
isFlowParticipant(Cursor) - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Accumulator
 
isFlowStep(DataFlowNode, DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.DataFlowSpec
 
isMatchOverrides() - Method in interface org.openrewrite.analysis.BasicInvocationMatcher
 
isMatchOverrides() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
 
isNotEmpty() - Method in class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
 
isParameter() - Method in class org.openrewrite.analysis.dataflow.DataFlowNode
 
isParameter(Cursor, int) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
IMPORTANT NOTE: A parameter is a variable in a function definition.
isSanitizer(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.TaintFlowSpec
 
isSanitizerGuard(Guard, boolean) - Method in class org.openrewrite.analysis.dataflow.TaintFlowSpec
 
isSelect(Cursor) - Method in class org.openrewrite.analysis.InvocationMatcher.AdvancedInvocationMatcher
 
isSink() - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Summary
 
isSink(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.DataFlowSpec
The following is always true: sink == cursor.getValue().
isSink(Cursor) - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Accumulator
 
isSinkNode(DataFlowNode, String) - Method in class org.openrewrite.analysis.dataflow.ExternalSinkModels
True if the expression cursor is specified as a sink with the given kind in the CSV flow model.
isSource() - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Summary
 
isSource(DataFlowNode) - Method in class org.openrewrite.analysis.dataflow.DataFlowSpec
The following is always true: source == cursor.getValue().
isSource(Cursor) - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Accumulator
 
isSubtypes() - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
 

L

loadFromFile(String, R, Function<Iterable<E>, R>, Function<String[], E>) - Static method in class org.openrewrite.analysis.dataflow.internal.csv.CsvLoader
 

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
Whether the method invocation or constructor matches the criteria of this matcher.
matches(MethodCall) - Method in interface org.openrewrite.analysis.InvocationMatcher
 
matches(JavaType.Method) - Method in interface org.openrewrite.analysis.BasicInvocationMatcher
 
matches(JavaType.Method) - Method in interface org.openrewrite.analysis.InvocationMatcher
Whether the method invocation or constructor matches the criteria of this matcher.
matchesMethodName(String) - Method in interface org.openrewrite.analysis.BasicInvocationMatcher
 
matchesMethodName(String) - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
 
matchesParameterTypes(List<JavaType>) - Method in interface org.openrewrite.analysis.BasicInvocationMatcher
 
matchesParameterTypes(List<JavaType>) - Method in interface org.openrewrite.analysis.dataflow.internal.csv.GenericExternalModel
 
matchesTargetType(JavaType.FullyQualified) - Method in interface org.openrewrite.analysis.BasicInvocationMatcher
 
matchesTargetTypeName(String) - Method in interface org.openrewrite.analysis.BasicInvocationMatcher
 
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, DataFlowSpec) - Static method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
 

O

of(Cursor) - Static method in class org.openrewrite.analysis.dataflow.DataFlowNode
 
ofOrThrow(Cursor, String) - Static method in class org.openrewrite.analysis.dataflow.DataFlowNode
 
org.openrewrite.analysis - package org.openrewrite.analysis
 
org.openrewrite.analysis.constantfold - package org.openrewrite.analysis.constantfold
 
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.global - package org.openrewrite.analysis.dataflow.global
 
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.
org.openrewrite.analysis.util - package org.openrewrite.analysis.util
 

R

removeEdge(FlowGraph) - Method in class org.openrewrite.analysis.dataflow.analysis.FlowGraph
 
renderer() - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Accumulator
 
RenderGlobalFlowPaths<P> - Class in org.openrewrite.analysis.dataflow.global
 
RenderGlobalFlowPaths() - Constructor for class org.openrewrite.analysis.dataflow.global.RenderGlobalFlowPaths
 

S

scanner() - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Accumulator
 
SinkFlowSummary - Class in org.openrewrite.analysis.dataflow.analysis
 
SinkFlowSummary() - Constructor for class org.openrewrite.analysis.dataflow.analysis.SinkFlowSummary
 
startingAt(DataFlowNode) - Static method in class org.openrewrite.analysis.dataflow.Dataflow
 
startingAt(Cursor) - Static method in class org.openrewrite.analysis.controlflow.ControlFlow
 
startingAt(Cursor) - Static method in class org.openrewrite.analysis.dataflow.Dataflow
 
summary(Cursor) - Method in interface org.openrewrite.analysis.dataflow.global.GlobalDataFlow.Accumulator
 

T

TaintFlowSpec - Class in org.openrewrite.analysis.dataflow
 
TaintFlowSpec() - Constructor for class org.openrewrite.analysis.dataflow.TaintFlowSpec
 
throwing() - Static method in interface org.openrewrite.analysis.dataflow.analysis.FlowGraph.Factory
 
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
 
UsesAllInvocations<P> - Class in org.openrewrite.analysis.search
Marks a JavaSourceFile as matching if all the passed methods are found.
UsesAllInvocations(InvocationMatcher...) - Constructor for class org.openrewrite.analysis.search.UsesAllInvocations
 
UsesInvocation<P> - Class in org.openrewrite.analysis.search
Equivalent to UsesMethod but for any InvocationMatcher.
UsesInvocation(InvocationMatcher) - Constructor for class org.openrewrite.analysis.search.UsesInvocation
 

V

visit(Tree, P) - Method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
 
visit(Tree, P) - Method in class org.openrewrite.analysis.search.UsesAllInvocations
 
visit(Tree, P) - Method in class org.openrewrite.analysis.search.UsesInvocation
 
visitExpression(Expression, P) - Method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
 
visitExpression(Expression, P) - Method in class org.openrewrite.analysis.dataflow.global.RenderGlobalFlowPaths
 
visitMemberReference(J.MemberReference, P) - Method in class org.openrewrite.analysis.search.UsesInvocation
 
visitMethodInvocation(J.MethodInvocation, P) - Method in class org.openrewrite.analysis.search.UsesInvocation
 
visitNewClass(J.NewClass, P) - Method in class org.openrewrite.analysis.search.UsesInvocation
 
visitVariable(J.VariableDeclarations.NamedVariable, P) - Method in class org.openrewrite.analysis.dataflow.FindLocalFlowPaths
 
visitVariable(J.VariableDeclarations.NamedVariable, P) - Method in class org.openrewrite.analysis.dataflow.global.RenderGlobalFlowPaths
 

_

_addSuccessorInternal(ControlFlowNode) - Method in class org.openrewrite.analysis.controlflow.ControlFlowNode
 
A B C D E F G I L M N O R S T U V _ 
All Classes and Interfaces|All Packages