Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.978 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 38 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/AptUIPlugin.java |
2 | 19 | 40 | plugins/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java |
| ||||
/** * This method is called upon plug-in activation */ public void start(BundleContext context) throws Exception { super.start(context); } /** * This method is called when the plug-in is stopped */ public void stop(BundleContext context) throws Exception { super.stop(context); plugin = null; } /** * Returns the shared instance. */ public static AptUIPlugin getDefault() { return plugin; } |
| ||||
/** * This method is called upon plug-in activation */ public void start(BundleContext context) throws Exception { super.start(context); } /** * This method is called when the plug-in is stopped */ public void stop(BundleContext context) throws Exception { super.stop(context); fgDefault = null; } /** * Returns the shared instance. * * @return the shared instance. */ public static JavaManipulationPlugin getDefault() { return fgDefault; } |
| |||
/** * This method is called upon plug-in activation */ public void start(BundleContext context) throws Exception { super.start(context); } /** * This method is called when the plug-in is stopped */ public void stop(BundleContext context) throws Exception { super.stop(context); [[#variable5a55ec80]]= null; } /** * Returns the shared instance. */ /** * Returns the shared instance. * * @return the shared instance. */ public static [[#variable57aa0540]] getDefault() { return [[#variable5a55ec80]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a55ec80]] | plugin |
1 | 2 | [[#5a55ec80]] | fgDefault |
2 | 1 | [[#57aa0540]] | AptUIPlugin |
2 | 2 | [[#57aa0540]] | JavaManipulationPlugin |