3fadfc6b17240337c37fd783114c4fffa80ae273
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method package immutableInstantiation(immutableTyParams ImmutableSet<String>, annotation AnnotationInfo, type Type) : Violation from class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis to public threadSafeInstantiation(threadSafeTypeParams ImmutableSet<String>, annotation AnnotationInfo, type Type) : Violation from class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety | From | To | |
Move Method | 4 | ||
Move Method private mutableEnclosingInstance(tree Optional<ClassTree>, type ClassType) : Type from class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis to public mutableEnclosingInstance(tree Optional<ClassTree>, type ClassType) : Type from class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety | From | To | |
Move Method package getInheritedAnnotation(sym Symbol, state VisitorState) : AnnotationInfo from class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis to public getInheritedAnnotation(sym Symbol, state VisitorState) : AnnotationInfo from class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety | From | To | |
Move Method private containerOf(state VisitorState, attr Compound) : ImmutableList<String> from class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis to private containerOf(state VisitorState, attr Compound) : ImmutableList<String> from class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety | From | To | |
Move Method private getPrettyName(sym Symbol) : String from class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis to public getPrettyName(sym Symbol) : String from class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety | From | To | |
Extract Class | 1 | ||
Extract Class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety from class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis.ImmutableTypeVisitor moved and renamed to com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.ThreadSafeTypeVisitor | From | To | |
Move Class | 1 | ||
Move Class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis.Violation moved to com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Violation | From | To | |
Rename Attribute | 1 | ||
Rename Attribute immutableTyParams : ImmutableSet<String> to threadSafeTypeParams : ImmutableSet<String> in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.ThreadSafeTypeVisitor | From | To | |
Extract Interface | 1 | ||
Extract Interface com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.KnownTypes from classes [com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability] | From | To | |
Rename Parameter | 2 | ||
Rename Parameter immutableTyParams : ImmutableSet<String> to threadSafeTypeParams : ImmutableSet<String> in method public threadSafeInstantiation(threadSafeTypeParams ImmutableSet<String>, annotation AnnotationInfo, type Type) : Violation in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety | From | To | |
Rename Parameter immutableTyParams : ImmutableSet<String> to threadSafeTypeParams : ImmutableSet<String> in method private ThreadSafeTypeVisitor(threadSafeTypeParams ImmutableSet<String>) in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.ThreadSafeTypeVisitor | From | To |