3928fb2e10c63fdc92e07245a3d081448b0ef0e1
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 41
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public addModifier(modifier AbstractModifier) : void renamed to public addTransformer(transformer MatchableClassFileTransformer) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Rename Method private transformUsingTransformer(classLoader ClassLoader, jvmClassName String, classBeingRedefined Class<?>, protectionDomain ProtectionDomain, classFileBuffer byte[], transformer ClassFileTransformer) : byte[] renamed to private transform0(classLoader ClassLoader, jvmClassName String, classBeingRedefined Class<?>, protectionDomain ProtectionDomain, classFileBuffer byte[], transformer ClassFileTransformer) : byte[] in class com.navercorp.pinpoint.profiler.ClassFileTransformerDispatcher | From | To | |
Rename Method private addModifier0(modifier AbstractModifier, className String) : void renamed to private addTransformer0(transformer MatchableClassFileTransformer, className String) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Rename Method public getClassFileTransformer() : ClassFileTransformer renamed to public getClassFileTransformerDispatcher() : ClassFileTransformerDispatcher in class com.navercorp.pinpoint.profiler.DefaultAgent | From | To | |
Change Parameter Type | 11 | ||
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public check(context ProfilerPluginInstrumentContext, classLoader ClassLoader, target InstrumentClass) : boolean in class com.navercorp.pinpoint.bootstrap.plugin.transformer.ClassCondition | From | To | |
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public check(context ProfilerPluginInstrumentContext, classLoader ClassLoader, target InstrumentClass) : boolean in class com.navercorp.pinpoint.bootstrap.plugin.transformer.ClassConditions.HasDeclaredMethod | From | To | |
Change Parameter Type classFileTransformer : ClassFileTransformer to defaultTransformer : ClassFileTransformerDispatcher in method public InstrumentTranslator(loader ClassLoader, defaultTransformer ClassFileTransformerDispatcher) in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public check(context ProfilerPluginInstrumentContext, classLoader ClassLoader, target InstrumentClass) : boolean in class com.navercorp.pinpoint.bootstrap.plugin.transformer.ClassConditions.HasField | From | To | |
Change Parameter Type modifier : AbstractModifier to transformer : MatchableClassFileTransformer in method private addTransformer0(transformer MatchableClassFileTransformer, className String) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public ConditionalClassRecipe(context ProfilerPluginInstrumentContext, condition ClassCondition, delegate ClassRecipe) in class com.navercorp.pinpoint.profiler.plugin.transformer.ConditionalClassRecipe | From | To | |
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public check(context ProfilerPluginInstrumentContext, classLoader ClassLoader, target InstrumentClass) : boolean in class com.navercorp.pinpoint.bootstrap.plugin.transformer.ClassConditions.HasMethod | From | To | |
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public ConditionalMethodTransformer(context ProfilerPluginInstrumentContext, condition ClassCondition, delegate MethodTransformer) in class com.navercorp.pinpoint.profiler.plugin.transformer.ConditionalMethodTransformer | From | To | |
Change Parameter Type modifier : AbstractModifier to transformer : MatchableClassFileTransformer in method public addTransformer(transformer MatchableClassFileTransformer) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public check(context ProfilerPluginInstrumentContext, classLoader ClassLoader, target InstrumentClass) : boolean in class com.navercorp.pinpoint.bootstrap.plugin.transformer.ClassConditions.HasConstructor | From | To | |
Change Parameter Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in method public check(context ProfilerPluginInstrumentContext, classLoader ClassLoader, target InstrumentClass) : boolean in class com.navercorp.pinpoint.bootstrap.plugin.transformer.ClassConditions.HasNotDeclaredMethod | From | To | |
Rename Variable | 2 | ||
Rename Variable modifier : AbstractModifier to transformer : MatchableClassFileTransformer in method private onLoadTestModifier(pool ClassPool, jvmClassName String) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Rename Variable testClassObject : String to targetClassName : String in method public testAddGetter() : void in class com.navercorp.pinpoint.profiler.interceptor.bci.JavaAssistClassTest | From | To | |
Change Return Type | 2 | ||
Change Return Type ClassFileTransformer to ClassFileTransformerDispatcher in method public getClassFileTransformerDispatcher() : ClassFileTransformerDispatcher in class com.navercorp.pinpoint.profiler.DefaultAgent | From | To | |
Change Return Type InstrumentClassPool to JavassistClassPool in method public getClassPool() : JavassistClassPool in class com.navercorp.pinpoint.profiler.DefaultAgent | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class com.navercorp.pinpoint.profiler.modifier.connector.httpclient4.DefaultHttpRequestRetryHandlerModifierTest moved and renamed to com.navercorp.pinpoint.plugin.httpclient4.DefaultHttpRequestRetryHandlerModifierIT | From | To | |
Move Class | 1 | ||
Move Class com.navercorp.pinpoint.bootstrap.instrument.AttachmentFactory moved to com.navercorp.pinpoint.bootstrap.interceptor.group.AttachmentFactory | From | To | |
Rename Attribute | 4 | ||
Rename Attribute modifierRegistry : ModifierRegistry to transformerRegistry : TransformerRegistry in class com.navercorp.pinpoint.profiler.ClassFileTransformerDispatcher | From | To | |
Rename Attribute classFileTransformer : ClassFileTransformer to dispatcher : ClassFileTransformerDispatcher in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Rename Attribute skipFilter : ClassFileFilter to unmodifiableFilter : ClassFileFilter in class com.navercorp.pinpoint.profiler.ClassFileTransformerDispatcher | From | To | |
Rename Attribute byteCodeInstrumentor : ByteCodeInstrumentor to debugTargetFilter : Filter<String> in class com.navercorp.pinpoint.profiler.ClassFileTransformerDispatcher | From | To | |
Change Variable Type | 3 | ||
Change Variable Type pool : InstrumentClassPool to pool : JavassistClassPool in method public test() : void in class com.navercorp.pinpoint.profiler.plugin.DefaultClassEditorBuilderTest | From | To | |
Change Variable Type modifier : AbstractModifier to transformer : MatchableClassFileTransformer in method private onLoadTestModifier(pool ClassPool, jvmClassName String) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Change Variable Type old : AbstractModifier to old : MatchableClassFileTransformer in method private addTransformer0(transformer MatchableClassFileTransformer, className String) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Change Attribute Type | 5 | ||
Change Attribute Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in class com.navercorp.pinpoint.profiler.plugin.transformer.ConditionalClassRecipe | From | To | |
Change Attribute Type byteCodeInstrumentor : ByteCodeInstrumentor to debugTargetFilter : Filter<String> in class com.navercorp.pinpoint.profiler.ClassFileTransformerDispatcher | From | To | |
Change Attribute Type context : ProfilerPluginSetupContext to context : ProfilerPluginInstrumentContext in class com.navercorp.pinpoint.profiler.plugin.transformer.ConditionalMethodTransformer | From | To | |
Change Attribute Type modifierRegistry : ModifierRegistry to transformerRegistry : TransformerRegistry in class com.navercorp.pinpoint.profiler.ClassFileTransformerDispatcher | From | To | |
Change Attribute Type classFileTransformer : ClassFileTransformer to dispatcher : ClassFileTransformerDispatcher in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public addTransformer(targetClassName String, transformer PinpointClassFileTransformer) : void extracted from public testAddAfterInterceptor() : void in class com.navercorp.pinpoint.profiler.interceptor.bci.JavaAssistClassTest & moved to class com.navercorp.pinpoint.test.TestClassLoader | From | To | |
Extract And Move Method public addTransformer(targetClassName String, transformer PinpointClassFileTransformer) : void extracted from public testAddGetter() : void in class com.navercorp.pinpoint.profiler.interceptor.bci.JavaAssistClassTest & moved to class com.navercorp.pinpoint.test.TestClassLoader | From | To | |
Rename Parameter | 3 | ||
Rename Parameter modifier : AbstractModifier to transformer : MatchableClassFileTransformer in method private addTransformer0(transformer MatchableClassFileTransformer, className String) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Rename Parameter modifier : AbstractModifier to transformer : MatchableClassFileTransformer in method public addTransformer(transformer MatchableClassFileTransformer) : void in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To | |
Rename Parameter classFileTransformer : ClassFileTransformer to defaultTransformer : ClassFileTransformerDispatcher in method public InstrumentTranslator(loader ClassLoader, defaultTransformer ClassFileTransformerDispatcher) in class com.navercorp.pinpoint.test.InstrumentTranslator | From | To |