b4551ceca878b800f85956e29c697f4124e53941
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public testLetConstBlocks_withES6Modules() : void renamed to public testLetConstBlocks_inFunction_exportedFromEs6Module() : void in class com.google.javascript.jscomp.UnreachableCodeEliminationTest | From | To | |
Rename Method public testLetConstBlocks_withES6Modules2() : void renamed to public testLetConstBlocks_asEs6ModuleExport() : void in class com.google.javascript.jscomp.UnreachableCodeEliminationTest | From | To | |
Rename Method private isCallOrApply(callSite Node) : boolean renamed to private isInvocationViaCallOrApply(callSite Node) : boolean in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private updateSideEffectsFromExtern(externFunction Node, compiler AbstractCompiler) : void from class com.google.javascript.jscomp.PureFunctionIdentifier.AmbiguatedFunctionSummary to private updateSideEffectsForExternFunction(externFunction Node, summary AmbiguatedFunctionSummary) : void from class com.google.javascript.jscomp.PureFunctionIdentifier.ExternFunctionAnnotationAnalyzer | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type lhsNodes : Iterable<Node> to lhsNodes : List<Node> in method private visitLhsNodes(sideEffectInfo AmbiguatedFunctionSummary, scope Scope, enclosingFunction Node, lhsNodes List<Node>, hasLocalRhs Predicate<Node>) : void in class com.google.javascript.jscomp.PureFunctionIdentifier.FunctionBodyAnalyzer | From | To | |
Change Parameter Type compiler : AbstractCompiler to summary : AmbiguatedFunctionSummary in method private updateSideEffectsForExternFunction(externFunction Node, summary AmbiguatedFunctionSummary) : void in class com.google.javascript.jscomp.PureFunctionIdentifier.ExternFunctionAnnotationAnalyzer | From | To | |
Move Method | 1 | ||
Move Method private isLocalValueType(typei JSType, compiler AbstractCompiler) : boolean from class com.google.javascript.jscomp.PureFunctionIdentifier to private isLocalValueType(typei JSType, compiler AbstractCompiler) : boolean from class com.google.javascript.jscomp.PureFunctionIdentifier.ExternFunctionAnnotationAnalyzer | From | To | |
Rename Variable | 1 | ||
Rename Variable isCallOrApply : boolean to isInvocationViaCallOrApply : boolean in method package computePropagationType(callSite Node) : CallSitePropagationInfo in class com.google.javascript.jscomp.PureFunctionIdentifier.CallSitePropagationInfo | From | To | |
Change Return Type | 2 | ||
Change Return Type Iterable<Node> to ImmutableList<Node> in method private unwrapCallableExpression(exp Node) : ImmutableList<Node> in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Change Return Type Iterable<Node> to ImmutableList<Node> in method private getGoogCacheCallableExpression(cacheCall Cache) : ImmutableList<Node> in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Rename Class | 1 | ||
Rename Class com.google.javascript.jscomp.PureFunctionIdentifier.FunctionAnalyzer renamed to com.google.javascript.jscomp.PureFunctionIdentifier.FunctionBodyAnalyzer | From | To | |
Rename Attribute | 1 | ||
Rename Attribute summaryByName : Map<String,AmbiguatedFunctionSummary> to summariesByName : Map<String,AmbiguatedFunctionSummary> in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Change Variable Type | 3 | ||
Change Variable Type firstCallable : Iterable<Node> to firstCallable : ImmutableList<Node> in method private unwrapCallableExpression(exp Node) : ImmutableList<Node> in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Change Variable Type secondCallable : Iterable<Node> to secondCallable : ImmutableList<Node> in method private unwrapCallableExpression(exp Node) : ImmutableList<Node> in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Change Variable Type expanded : Iterable<Node> to expanded : ImmutableList<Node> in method private getSummariesForCallee(invocation Node) : List<AmbiguatedFunctionSummary> in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Rename Parameter | 1 | ||
Rename Parameter compiler : AbstractCompiler to summary : AmbiguatedFunctionSummary in method private updateSideEffectsForExternFunction(externFunction Node, summary AmbiguatedFunctionSummary) : void in class com.google.javascript.jscomp.PureFunctionIdentifier.ExternFunctionAnnotationAnalyzer | From | To |