de36c96e070dc2f9ad69fb814925af34c4d6c91d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type jstype : JSType to typei : TypeI in method private isLocalValueType(typei TypeI, compiler AbstractCompiler) : boolean in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To | |
Rename Variable | 2 | ||
Rename Variable jstypeReturn : JSType to retType : TypeI in method private updateSideEffectsFromExtern(externFunction Node, compiler AbstractCompiler) : void in class com.google.javascript.jscomp.PureFunctionIdentifier.FunctionInformation | From | To | |
Rename Variable jstype : JSType to typei : TypeI in method private updateSideEffectsFromExtern(externFunction Node, compiler AbstractCompiler) : void in class com.google.javascript.jscomp.PureFunctionIdentifier.FunctionInformation | From | To | |
Change Variable Type | 2 | ||
Change Variable Type jstypeReturn : JSType to retType : TypeI in method private updateSideEffectsFromExtern(externFunction Node, compiler AbstractCompiler) : void in class com.google.javascript.jscomp.PureFunctionIdentifier.FunctionInformation | From | To | |
Change Variable Type jstype : JSType to typei : TypeI in method private updateSideEffectsFromExtern(externFunction Node, compiler AbstractCompiler) : void in class com.google.javascript.jscomp.PureFunctionIdentifier.FunctionInformation | From | To | |
Extract Method | 58 | ||
Extract Method package assertNoPureCalls(source String) : void extracted from public testConstructorAnnotationInExterns1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testConstructorThatModifiesGlobal2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testUnaryOperators2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testConstructorThatModifiesGlobal1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testOrOperator3() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAmbiguousDefinitionsDoubleDefinition6() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAmbiguousExternDefinitions() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testNamespaceAnnotationInExterns6() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAnonymousFunction4() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testOrOperator2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testNamespaceAnnotationInExterns5() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testOrOperator1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testInference6() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testMutatesArguments5() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testNamespaceAnnotationInExterns4() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertPureCallsMarked(source String, expected List<String>, warning DiagnosticType) : void extracted from public testApplyToUnknownDefinition() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAmbiguousDefinitionsDoubleDefinition2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testInference4() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testMutatesArgumentsArray3() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testMutatesArguments3() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAmbiguousDefinitionsCall() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testMutatesArgumentsArray2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testMutatesArguments2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testCallCache_withKeyFn_hasSideEffects() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testNamespaceAnnotationInExterns1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAndOperator3() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testCallRegExpWithSideEffects() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testInference2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAndOperator2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAnnotationInExterns2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAndOperator1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testApplyToUnknownDefinition() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAnnotationInExterns1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testLocalizedSideEffects5() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAnnotationInExterns_new2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAndOperators4() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testExternCalls() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testLocalizedSideEffects3() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testDeleteOperator1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testLocalizedSideEffects2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAmbiguousDefinitions() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testHookOperator3() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAmbiguousDefinitionsDoubleDefinition() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testConstructorAnnotationInExterns4() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAmbiguousDefinitionsMutatesGlobalArgument() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testCallCache_hasSideEffects() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testAnnotationInExternStubs3() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testIssue303() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testHookOperator2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testHookOperator1() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testUnaryOperators4() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testConstructorAnnotationInExterns2() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testOrOperators4() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testIssue303b() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Extract Method package assertNoPureCalls(source String) : void extracted from public testCallCache_anonymousFn_hasSideEffects() : void in class com.google.javascript.jscomp.PureFunctionIdentifierTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter jstype : JSType to typei : TypeI in method private isLocalValueType(typei TypeI, compiler AbstractCompiler) : boolean in class com.google.javascript.jscomp.PureFunctionIdentifier | From | To |