CloneSet5185


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17220.978class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11738
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/AptUIPlugin.java
21940
plugins/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/core/manipulation/JavaManipulationPlugin.java
Clone Instance
1
Line Count
17
Source Line
38
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/AptUIPlugin.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;
        }


Clone Instance
2
Line Count
19
Source Line
40
Source File
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);
                fgDefault = null;
        }

        /**
         * Returns the shared instance.
         *
         * @return the shared instance.
         */
        public static JavaManipulationPlugin getDefault() {
                return fgDefault;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a55ec80]]
plugin 
12[[#5a55ec80]]
fgDefault 
21[[#57aa0540]]
AptUIPlugin 
22[[#57aa0540]]
JavaManipulationPlugin