A G H I J M O R T U V 
All Classes All Packages

A

addMissingMethod(J.ClassDeclaration, String, JavaTemplate) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Add a J.MethodDeclaration to the given J.ClassDeclaration if the latter does not contain the searchedMethod, otherwise it does nothing

G

getDescription() - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLCodeRecipe
 
getDisplayName() - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLCodeRecipe
 
getRemovedListTupla(J.NewClass) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return Optional<RemovedListTupla> if the given J.NewClass constructor has not the List anymore Optional.empty() otherwise
getVisitor() - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLCodeRecipe
 

H

hasFieldNameImport(J.CompilationUnit) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return true if the given J.CompilationUnit contains an {@see #FIELD_NAME_FQDN} import, false otherwise
hasFieldNameParameter(J.MethodInvocation) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return true if the given J.MethodInvocation is FieldName.create(...), false otherwise

I

isFieldNameCreate(J.MethodInvocation) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return true if the given J.MethodInvocation is FieldName.create(...), false otherwise
isFieldNameGetNameToGetFieldMapped(J.MethodInvocation) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return true if the given J.MethodInvocation is #FieldName(_any_).getName(...), and the modified method is String(_any_).getField(...) false otherwise.
isFieldNameImport(J.Import) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return true if the given J.Import is {@see #FIELD_NAME_FQDN}, false otherwise

J

JPMMLCodeRecipe - Class in org.kie.openrewrite.recipe.jpmml
 
JPMMLCodeRecipe(String, String) - Constructor for class org.kie.openrewrite.recipe.jpmml.JPMMLCodeRecipe
 
JPMMLVisitor - Class in org.kie.openrewrite.recipe.jpmml
 
JPMMLVisitor(String, String) - Constructor for class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 

M

methodExists(J.ClassDeclaration, String) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return true if the given J.ClassDeclaration contains the searchedMethod, false otherwise

O

org.kie.openrewrite.recipe.jpmml - package org.kie.openrewrite.recipe.jpmml
 

R

removeFieldNameImport(J.CompilationUnit) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Remove the {@see #FIELD_NAME_FQDN} import from the given J.CompilationUnit, if present
replaceInstantiation(J.NewClass) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
replaceInstantiationListRemoved(J.NewClass) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Returns a new J.NewClass with the originalInstantiatedType replaced by targetInstantiatedType, if present.
replaceOriginalToTargetInstantiation(J.NewClass) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Returns a new J.NewClass with the originalInstantiatedType replaced by targetInstantiatedType, if present.

T

toMigrate(List<J.Import>) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 

U

updateMethodToTargetInstantiatedType(JavaType.Method) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
updateTypeTreeToTargetInstantiatedType(J.NewClass) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
useFieldNameGetValue(J.MethodInvocation) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
Return true if the given J.MethodInvocation invokes (_field_).getValue(), false otherwise

V

visitBinary(J.Binary, ExecutionContext) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
visitClassDeclaration(J.ClassDeclaration, ExecutionContext) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
visitCompilationUnit(J.CompilationUnit, ExecutionContext) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
visitMethodInvocation(J.MethodInvocation, ExecutionContext) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
visitNewClass(J.NewClass, ExecutionContext) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
visitVariable(J.VariableDeclarations.NamedVariable, ExecutionContext) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
visitVariableDeclarations(J.VariableDeclarations, ExecutionContext) - Method in class org.kie.openrewrite.recipe.jpmml.JPMMLVisitor
 
A G H I J M O R T U V 
All Classes All Packages