3e4d8eb8723ef042ded0cbb37809c65661093071
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private compileDecision(model DMNModelImpl, decisionNode DecisionNode) : DecisionNode.DecisionEvaluator renamed to private compileExpression(model DMNModelImpl, node DMNBaseNode, expression Expression) : DMNExpressionEvaluator in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Pull Up Method | 3 | ||
Pull Up Method public addDependency(name String, dependency DMNNode) : void from class org.kie.dmn.core.ast.DecisionNode to public addDependency(name String, dependency DMNNode) : void from class org.kie.dmn.core.ast.DMNBaseNode | From | To | |
Pull Up Method public setDependencies(dependencies Map<String,DMNNode>) : void from class org.kie.dmn.core.ast.DecisionNode to public setDependencies(dependencies Map<String,DMNNode>) : void from class org.kie.dmn.core.ast.DMNBaseNode | From | To | |
Pull Up Method public getDependencies() : Map<String,DMNNode> from class org.kie.dmn.core.ast.DecisionNode to public getDependencies() : Map<String,DMNNode> from class org.kie.dmn.core.ast.DMNBaseNode | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type evaluator : DecisionEvaluator to evaluator : DMNExpressionEvaluator in method public setEvaluator(evaluator DMNExpressionEvaluator) : void in class org.kie.dmn.core.ast.DecisionNode | From | To | |
Change Parameter Type decision : Decision to node : DMNNode in method public DMNDTExpressionEvaluator(node DMNNode, dt DTInvokerFunction) in class org.kie.dmn.core.ast.DMNDTExpressionEvaluator | From | To | |
Inline Method | 2 | ||
Inline Method private collectInputsForDecision(decision DecisionNode, inputs Set<InputDataNode>) : void inlined to public getRequiredInputsForDecisionId(decisionId String) : Set<InputDataNode> in class org.kie.dmn.core.impl.DMNModelImpl | From | To | |
Inline Method private collectInputsForDecision(decision DecisionNode, inputs Set<InputDataNode>) : void inlined to public getRequiredInputsForDecisionName(decisionName String) : Set<InputDataNode> in class org.kie.dmn.core.impl.DMNModelImpl | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private dependencies : Map<String,DMNNode> from class org.kie.dmn.core.ast.DecisionNode to private dependencies : Map<String,DMNNode> from class org.kie.dmn.core.ast.DMNBaseNode | From | To | |
Change Return Type | 2 | ||
Change Return Type DecisionNode.DecisionEvaluator to DMNExpressionEvaluator in method private compileExpression(model DMNModelImpl, node DMNBaseNode, expression Expression) : DMNExpressionEvaluator in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Return Type DecisionEvaluator to DMNExpressionEvaluator in method public getEvaluator() : DMNExpressionEvaluator in class org.kie.dmn.core.ast.DecisionNode | From | To | |
Move And Rename Class | 3 | ||
Move And Rename Class org.kie.dmn.core.ast.DecisionNode.DTExpressionEvaluator moved and renamed to org.kie.dmn.core.ast.DMNDTExpressionEvaluator | From | To | |
Move And Rename Class org.kie.dmn.core.ast.DecisionNode.LiteralExpressionFEELEvaluator moved and renamed to org.kie.dmn.core.ast.DMNLiteralExpressionEvaluator | From | To | |
Move And Rename Class org.kie.dmn.core.ast.DecisionNode.DecisionEvaluator moved and renamed to org.kie.dmn.core.ast.DMNExpressionEvaluator | From | To | |
Rename Attribute | 1 | ||
Rename Attribute decision : Decision to node : DMNNode in class org.kie.dmn.core.ast.DMNDTExpressionEvaluator | From | To | |
Change Variable Type | 3 | ||
Change Variable Type evaluator : DecisionNode.LiteralExpressionFEELEvaluator to evaluator : DMNLiteralExpressionEvaluator in method private compileExpression(model DMNModelImpl, node DMNBaseNode, expression Expression) : DMNExpressionEvaluator in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Variable Type dtee : DecisionNode.DTExpressionEvaluator to dtee : DMNDTExpressionEvaluator in method private compileExpression(model DMNModelImpl, node DMNBaseNode, expression Expression) : DMNExpressionEvaluator in class org.kie.dmn.core.compiler.DMNCompilerImpl | From | To | |
Change Variable Type er : DecisionNode.DecisionEvaluator.EvaluatorResult to er : DMNExpressionEvaluator.EvaluatorResult in method private evaluateDecision(context DMNContext, result DMNResultImpl, decision DecisionNode) : boolean in class org.kie.dmn.core.impl.DMNRuntimeImpl | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type evaluator : DecisionEvaluator to evaluator : DMNExpressionEvaluator in class org.kie.dmn.core.ast.DecisionNode | From | To | |
Change Attribute Type decision : Decision to node : DMNNode in class org.kie.dmn.core.ast.DMNDTExpressionEvaluator | From | To | |
Rename Parameter | 2 | ||
Rename Parameter decisionName : String to decisionId : String in method public getRequiredInputsForDecisionId(decisionId String) : Set<InputDataNode> in class org.kie.dmn.core.api.DMNModel | From | To | |
Rename Parameter decision : Decision to node : DMNNode in method public DMNDTExpressionEvaluator(node DMNNode, dt DTInvokerFunction) in class org.kie.dmn.core.ast.DMNDTExpressionEvaluator | From | To |