64f9b00adb7e29f9247b95bd0706823de1472e6b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public classHasMethodSnippets(className String, expectedMethodSnippets List<String>) : void renamed to public classHasMethods(className String, expectedMethodSnippets List<String>) : void in class com.google.gwt.dev.jjs.impl.OptimizerTestBase.Result | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type instantiationExpressions : ArrayList<JExpression> to instantiationExpressions : List<JExpression> in method public JGwtCreate(info SourceInfo, sourceType String, resultTypes List<String>, type JType, instantiationExpressions List<JExpression>) in class com.google.gwt.dev.jjs.ast.JGwtCreate | From | To | |
Rename Variable | 6 | ||
Rename Variable mainType : JDeclaredType to clazz : JDeclaredType in method public findMethod(program JProgram, methodName String) : JMethod in class com.google.gwt.dev.jjs.impl.JJSTestBase | From | To | |
Rename Variable p : JParameter to param : JParameter in method private createEmptyMethodFromExample(inType JDeclaredType, exampleMethod JMethod, isAbstract boolean) : JMethod in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Rename Variable delegateCall : JMethodCall to forwardingCall : JMethodCall in method public createForwardingMethod(type JDeclaredType, methodToDelegateTo JMethod) : JMethod in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Rename Variable delegate : JMethod to forwardingMethod : JMethod in method public createForwardingMethod(type JDeclaredType, methodToDelegateTo JMethod) : JMethod in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Rename Variable delegate : JMethod to emptyMethod : JMethod in method private createEmptyMethodFromExample(inType JDeclaredType, exampleMethod JMethod, isAbstract boolean) : JMethod in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Rename Variable actualMethodSnippets : Set<String> to actualMethodSignatures : Set<String> in method public classHasMethods(className String, expectedMethodSnippets List<String>) : void in class com.google.gwt.dev.jjs.impl.OptimizerTestBase.Result | From | To | |
Change Return Type | 3 | ||
Change Return Type ArrayList<JExpression> to List<JExpression> in method public getInstantiationExpressions() : List<JExpression> in class com.google.gwt.dev.jjs.ast.JGwtCreate | From | To | |
Change Return Type List<JMethod> to Set<JMethod> in method public getOverriddenMethods() : Set<JMethod> in class com.google.gwt.dev.jjs.ast.JMethod | From | To | |
Change Return Type void to JMethod in method public createForwardingMethod(type JDeclaredType, methodToDelegateTo JMethod) : JMethod in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Change Variable Type | 2 | ||
Change Variable Type pending : List<JMethod> to pending : Iterable<JMethod> in method private flowInto(method JMethod) : void in class com.google.gwt.dev.jjs.impl.UnifyAst | From | To | |
Change Variable Type overrides : List<JMethod> to overrides : Set<JMethod> in method public endVisit(x JMethod, ctx Context) : void in class com.google.gwt.dev.jjs.impl.ImplicitUpcastAnalyzer | From | To | |
Inline Variable | 1 | ||
Inline Variable leafType : JType in method public endVisit(x JClassLiteral, ctx Context) : void from class com.google.gwt.dev.jjs.impl.UnifyAst.UnifyVisitor | From | To | |
Extract Method | 1 | ||
Extract Method private createEmptyMethodFromExample(inType JDeclaredType, exampleMethod JMethod, isAbstract boolean) : JMethod extracted from public createForwardingMethod(classToBeModified JDeclaredType, methodToDelegate JMethod) : void in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type overriddenMethods : List<JMethod> to overriddenMethods : Set<JMethod> in class com.google.gwt.dev.jjs.ast.JMethod | From | To | |
Change Attribute Type virtualMethodsPending : Map<String,List<JMethod>> to virtualMethodsPending : Multimap<String,JMethod> in class com.google.gwt.dev.jjs.impl.UnifyAst | From | To | |
Change Attribute Type instantiationExpressions : ArrayList<JExpression> to instantiationExpressions : List<JExpression> in class com.google.gwt.dev.jjs.ast.JGwtCreate | From | To | |
Rename Parameter | 3 | ||
Rename Parameter methodToDelegate : JMethod to methodToDelegateTo : JMethod in method public createForwardingMethod(type JDeclaredType, methodToDelegateTo JMethod) : JMethod in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Rename Parameter classToBeModified : JDeclaredType to type : JDeclaredType in method public createForwardingMethod(type JDeclaredType, methodToDelegateTo JMethod) : JMethod in class com.google.gwt.dev.jjs.impl.JjsUtils | From | To | |
Rename Parameter methodName : String to methodNameOrSignature : String in method public findMethod(type JDeclaredType, methodNameOrSignature String) : JMethod in class com.google.gwt.dev.jjs.impl.JJSTestBase | From | To |