CloneSet2156


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8320.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18597
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugTarget.java
28630
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugTarget.java
38645
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugTarget.java
Clone Instance
1
Line Count
8
Source Line
597
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugTarget.java

        /**
         * @see IJavaDebugTarget#supportsInstanceBreakpoints()
         */
        public boolean supportsInstanceBreakpoints() {
                if (isAvailable() && JDIDebugPlugin.isJdiVersionGreaterThanOrEqual(new int[] {
                                                                                              1,4
                                                                                             } ))    {
                        VirtualMachine vm = getVM();
                        if (vm != null) {
                                return vm.canUseInstanceFilters();
                        }
                }
                return false;
        }


Clone Instance
2
Line Count
8
Source Line
630
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugTarget.java

        /**
         * Returns whether this debug target supports hot code replace for JDK VMs.
         * 
         * @return whether this debug target supports JDK hot code replace
         */
        public boolean supportsJDKHotCodeReplace() {
                if (isAvailable() && JDIDebugPlugin.isJdiVersionGreaterThanOrEqual(new int[] {
                                                                                              1,4
                                                                                             } ))    {
                        VirtualMachine vm = getVM();
                        if (vm != null) {
                                return vm.canRedefineClasses();
                        }
                }
                return false;
        }


Clone Instance
3
Line Count
8
Source Line
645
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugTarget.java

        /**
         * Returns whether this debug target supports popping stack frames.
         * 
         * @return whether this debug target supports popping stack frames.
         */
        public boolean canPopFrames() {
                if (isAvailable() && JDIDebugPlugin.isJdiVersionGreaterThanOrEqual(new int[] {
                                                                                              1,4
                                                                                             } ))    {
                        VirtualMachine vm = getVM();
                        if (vm != null) {
                                return vm.canPopFrames();
                        }
                }
                return false;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * @see IJavaDebugTarget#supportsInstanceBreakpoints()
         */
/**
         * Returns whether this debug target supports hot code replace for JDK VMs.
         * 
         * @return whether this debug target supports JDK hot code replace
         */
/**
         * Returns whether this debug target supports popping stack frames.
         * 
         * @return whether this debug target supports popping stack frames.
         */
public boolean  [[#variable942352c0]]() {
  if (isAvailable() && JDIDebugPlugin.isJdiVersionGreaterThanOrEqual(new int[] {
                                                                                 1,
                                                                                 4
                                                                               } )) {
    VirtualMachine vm = getVM();
    if (vm != null) {
      return vm. [[#variable94235240]]();
    }
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#942352c0]]
supportsInstanceBreakpoints 
12[[#942352c0]]
supportsJDKHotCodeReplace 
13[[#942352c0]]
canPopFrames 
21[[#94235240]]
canUseInstanceFilters 
22[[#94235240]]
canRedefineClasses 
23[[#94235240]]
canPopFrames