CloneSet8007


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11240.956class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111910
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VirtualMachineImpl.java
211926
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VirtualMachineImpl.java
Clone Instance
1
Line Count
11
Source Line
910
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VirtualMachineImpl.java

        /**
         * @return Returns Whether VM can deal with the 'Classes have Changed' command.
         */
        public boolean canReloadClasses() {
                getHCRCapabilities();
                return fHcrCapabilities[HCR_CAN_RELOAD_CLASSES];
        }

        /**
         * @return Returns Whether VM can get the version of a given class file.
         */
        public boolean canGetClassFileVersion() {
                getHCRCapabilities();
                return fHcrCapabilities[HCR_CAN_GET_CLASS_VERSION];
        }


Clone Instance
2
Line Count
11
Source Line
926
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VirtualMachineImpl.java

        /**
         * @return Returns Whether VM can do a return in the middle of executing a method.
         */
        public boolean canDoReturn() {
                getHCRCapabilities();
                return fHcrCapabilities[HCR_CAN_DO_RETURN];
        }

        /**
         * @return Returns Whether VM can reenter a method on exit.
         */
        public boolean canReenterOnExit() {
                getHCRCapabilities();
                return fHcrCapabilities[HCR_CAN_REENTER_ON_EXIT];
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * @return Returns Whether VM can deal with the 'Classes have Changed' command.
         */
/**
         * @return Returns Whether VM can do a return in the middle of executing a method.
         */
public boolean  [[#variable5008b2e0]]() {
  getHCRCapabilities();
  return fHcrCapabilities[ [[#variable5008b260]]];
}

/**
         * @return Returns Whether VM can get the version of a given class file.
         */
/**
         * @return Returns Whether VM can reenter a method on exit.
         */
public boolean  [[#variable5008b200]]() {
  getHCRCapabilities();
  return fHcrCapabilities[ [[#variable5008b140]]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5008b2e0]]
canReloadClasses 
12[[#5008b2e0]]
canDoReturn 
21[[#5008b260]]
HCR_CAN_RELOAD_CLASSES 
22[[#5008b260]]
HCR_CAN_DO_RETURN 
31[[#5008b200]]
canGetClassFileVersion 
32[[#5008b200]]
canReenterOnExit 
41[[#5008b140]]
HCR_CAN_GET_CLASS_VERSION 
42[[#5008b140]]
HCR_CAN_REENTER_ON_EXIT