933be04fb862a2593cff0e3216f46d3bd2a7173f
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public existsDeclaration(id String) : Boolean moved from class org.drools.modelcompiler.builder.generator.RuleContext to class org.drools.modelcompiler.builder.generator.DrlxParseUtil & inlined to public toTypedExpression(context RuleContext, packageModel PackageModel, patternType Class<?>, drlxExpr Expression, usedDeclarations Set<String>, reactOnProperties Set<String>) : TypedExpression | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type pattern : PatternDescr to pattern : Optional<PatternDescr> in method public DeclarationSpec(bindingId String, declarationClass Class<?>, pattern Optional<PatternDescr>, declarationSource Optional<Expression>) in class org.drools.modelcompiler.builder.generator.DeclarationSpec | From | To | |
Change Parameter Type exprIdGenerator : DRLExprIdGenerator to exprIdGenerator : DRLIdGenerator in method public RuleContext(pkg InternalKnowledgePackage, exprIdGenerator DRLIdGenerator, ruleDescr Optional<RuleDescr>) in class org.drools.modelcompiler.builder.generator.RuleContext | From | To | |
Change Return Type | 2 | ||
Change Return Type DrlxParseResult to void in method public setExprBinding(exprBinding String) : void in class org.drools.modelcompiler.builder.generator.ModelGenerator.DrlxParseResult | From | To | |
Change Return Type DRLExprIdGenerator to DRLIdGenerator in method public getExprIdGenerator() : DRLIdGenerator in class org.drools.modelcompiler.builder.PackageModel | From | To | |
Rename Class | 1 | ||
Rename Class org.drools.modelcompiler.builder.generator.DRLExprIdGenerator renamed to org.drools.modelcompiler.builder.generator.DRLIdGenerator | From | To | |
Extract Variable | 2 | ||
Extract Variable newDeclaration : DeclarationSpec in method public visit(originalClass Class<?>, originalBind String, ooPathExpr OOPathExpr) : void from class org.drools.modelcompiler.builder.generator.OOPathExprVisitor | From | To | |
Extract Variable patternIdentifier : String in method public visit(context RuleContext, packageModel PackageModel, pattern PatternDescr) : void from class org.drools.modelcompiler.builder.generator.ModelGenerator | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type exprIdGenerator : DRLExprIdGenerator to exprIdGenerator : DRLIdGenerator in class org.drools.modelcompiler.builder.PackageModel | From | To | |
Change Attribute Type exprIdGenerator : DRLExprIdGenerator to exprIdGenerator : DRLIdGenerator in class org.drools.modelcompiler.builder.generator.RuleContext | From | To |