066066d4c51354204dfd2bf0d07cca7eadea4ecd
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 3 | ||
Move And Inline Method package functionCallHasSideEffects(callNode Node, compiler AbstractCompiler) : boolean moved from class com.google.javascript.jscomp.NodeUtil to class com.google.javascript.jscomp.AstAnalyzer & inlined to package functionCallHasSideEffects(callNode Node) : boolean | From | To | |
Move And Inline Method public mayHaveSideEffects(n Node, compiler AbstractCompiler) : boolean moved from class com.google.javascript.jscomp.NodeUtil to class com.google.javascript.jscomp.AstAnalyzer & inlined to public mayHaveSideEffects(n Node) : boolean | From | To | |
Move And Inline Method package nodeTypeMayHaveSideEffects(n Node, compiler AbstractCompiler) : boolean moved from class com.google.javascript.jscomp.NodeUtil to class com.google.javascript.jscomp.AstAnalyzer & inlined to package nodeTypeMayHaveSideEffects(n Node) : boolean | From | To | |
Move Method | 2 | ||
Move Method private checkForStateChangeHelper(n Node, checkForNewObjects boolean, compiler AbstractCompiler) : boolean from class com.google.javascript.jscomp.NodeUtil to private checkForStateChangeHelper(n Node, checkForNewObjects boolean) : boolean from class com.google.javascript.jscomp.AstAnalyzer | From | To | |
Move Method private isTypedAsString(n Node, compiler AbstractCompiler) : boolean from class com.google.javascript.jscomp.NodeUtil to private isTypedAsString(n Node) : boolean from class com.google.javascript.jscomp.AstAnalyzer | From | To | |
Move Attribute | 4 | ||
Move Attribute private STRING_REGEXP_METHODS : ImmutableSet<String> from class com.google.javascript.jscomp.NodeUtil to private STRING_REGEXP_METHODS : ImmutableSet<String> from class com.google.javascript.jscomp.AstAnalyzer | From | To | |
Move Attribute private OBJECT_METHODS_WITHOUT_SIDEEFFECTS : ImmutableSet<String> from class com.google.javascript.jscomp.NodeUtil to private OBJECT_METHODS_WITHOUT_SIDEEFFECTS : ImmutableSet<String> from class com.google.javascript.jscomp.AstAnalyzer | From | To | |
Move Attribute private BUILTIN_FUNCTIONS_WITHOUT_SIDEEFFECTS : ImmutableSet<String> from class com.google.javascript.jscomp.NodeUtil to private BUILTIN_FUNCTIONS_WITHOUT_SIDEEFFECTS : ImmutableSet<String> from class com.google.javascript.jscomp.AstAnalyzer | From | To | |
Move Attribute private REGEXP_METHODS : ImmutableSet<String> from class com.google.javascript.jscomp.NodeUtil to private REGEXP_METHODS : ImmutableSet<String> from class com.google.javascript.jscomp.AstAnalyzer | From | To |