CloneSet617


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12440.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112104
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassLoaderReferenceImpl.java
21270
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassObjectReferenceImpl.java
312514
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ObjectReferenceImpl.java
41273
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/StringReferenceImpl.java
Clone Instance
1
Line Count
12
Source Line
104
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassLoaderReferenceImpl.java

        /**
         * @return Reads JDWP representation and returns new instance.
         */
        public static ClassLoaderReferenceImpl read(MirrorImpl target, DataInputStream in) throws  IOException {
                VirtualMachineImpl vmImpl = target.virtualMachineImpl();
                JdwpClassLoaderID ID = new JdwpClassLoaderID(vmImpl);
                ID.read(in);
                if (target.fVerboseWriter != null)
                        target.fVerboseWriter.println("classLoaderReference", ID.value()); //$NON-NLS-1$

                if (ID.isNull())
                        return null;

                ClassLoaderReferenceImpl mirror = new ClassLoaderReferenceImpl(vmImpl, ID);
                return mirror;
        }


Clone Instance
2
Line Count
12
Source Line
70
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassObjectReferenceImpl.java

        /**
         * @return Reads JDWP representation and returns new instance.
         */
        public static ClassObjectReferenceImpl read(MirrorImpl target, DataInputStream in) throws  IOException {
                VirtualMachineImpl vmImpl = target.virtualMachineImpl();
                JdwpClassObjectID ID = new JdwpClassObjectID(vmImpl);
                ID.read(in);
                if (target.fVerboseWriter != null)
                        target.fVerboseWriter.println("classObjectReference", ID.value()); //$NON-NLS-1$

                if (ID.isNull())
                        return null;

                ClassObjectReferenceImpl mirror = new ClassObjectReferenceImpl(vmImpl, ID);
                return mirror;
        }


Clone Instance
3
Line Count
12
Source Line
514
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ObjectReferenceImpl.java

        /**
         * @return Reads JDWP representation and returns new instance.
         */
        public static ObjectReferenceImpl readObjectRefWithoutTag(MirrorImpl target, DataInputStream in) throws IOException {
                VirtualMachineImpl vmImpl = target.virtualMachineImpl();
                JdwpObjectID ID = new JdwpObjectID(vmImpl);
                ID.read(in);
                if (target.fVerboseWriter != null)
                        target.fVerboseWriter.println("objectReference", ID.value()); //$NON-NLS-1$

                if (ID.isNull())
                        return null;

                ObjectReferenceImpl mirror = new ObjectReferenceImpl(vmImpl, ID);
                return mirror;
        }


Clone Instance
4
Line Count
12
Source Line
73
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/StringReferenceImpl.java

        /**
         * @return Reads JDWP representation and returns new instance.
         */
        public static StringReferenceImpl read(MirrorImpl target, DataInputStream in) throws  IOException {
                VirtualMachineImpl vmImpl = target.virtualMachineImpl();
                JdwpStringID ID = new JdwpStringID(vmImpl);
                ID.read(in);
                if (target.fVerboseWriter != null)
                        target.fVerboseWriter.println("stringReference", ID.value()); //$NON-NLS-1$

                if (ID.isNull())
                        return null;

                StringReferenceImpl mirror = new StringReferenceImpl(vmImpl, ID);
                return mirror;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * @return Reads JDWP representation and returns new instance.
         */
public static [[#variable599fc6e0]]  [[#variable599fc620]](MirrorImpl target, DataInputStream in) throws IOException {
  VirtualMachineImpl vmImpl = target.virtualMachineImpl();
   [[#variable599fc5a0]] ID = new [[#variable599fc5a0]](vmImpl);
  ID.read(in);
  if (target.fVerboseWriter != null)
    target.fVerboseWriter.println( [[#variable599fc540]], ID.value()); //$NON-NLS-1$
  if (ID.isNull())
    return null;
   [[#variable599fc6e0]] mirror = new [[#variable599fc6e0]](vmImpl, ID);
  return mirror;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#599fc6e0]]
StringReferenceImpl 
12[[#599fc6e0]]
ObjectReferenceImpl 
13[[#599fc6e0]]
ClassObjectReferenceImpl 
14[[#599fc6e0]]
ClassLoaderReferenceImpl 
21[[#599fc620]]
read 
22[[#599fc620]]
readObjectRefWithoutTag 
23[[#599fc620]]
read 
24[[#599fc620]]
read 
31[[#599fc5a0]]
JdwpStringID 
32[[#599fc5a0]]
JdwpObjectID 
33[[#599fc5a0]]
JdwpClassObjectID 
34[[#599fc5a0]]
JdwpClassLoaderID 
41[[#599fc540]]
"stringReference" 
42[[#599fc540]]
"objectReference" 
43[[#599fc540]]
"classObjectReference" 
44[[#599fc540]]
"classLoaderReference"