CloneSet2508


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24220.987compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12411
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionDefaultProposal.java
22311
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashProposal.java
Clone Instance
1
Line Count
24
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionDefaultProposal.java

/*******************************************************************************
 * Copyright (c) 2000, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.text.correction;

import org.eclipse.swt.graphics.Image;

import org.eclipse.jdt.internal.corext.fix.IFix;

import org.eclipse.jdt.ui.text.java.IInvocationContext;

import org.eclipse.jdt.internal.ui.fix.ICleanUp;

public final class SerialVersionDefaultProposal extends FixCorrectionProposal {

        public SerialVersionDefaultProposal(IFix fix, ICleanUp up, int relevance, Image image, IInvocationContext context) {
                super(fix, up, relevance, image, context);
        }

        /**
         * {@inheritDoc}
         */
        public String getAdditionalProposalInfo() {
                return CorrectionMessages.SerialVersionDefaultProposal_message_default_info;
        }
}




Clone Instance
2
Line Count
23
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashProposal.java

/*******************************************************************************
 * Copyright (c) 2000, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.text.correction;

import org.eclipse.swt.graphics.Image;

import org.eclipse.jdt.internal.corext.fix.IFix;

import org.eclipse.jdt.ui.text.java.IInvocationContext;

import org.eclipse.jdt.internal.ui.fix.ICleanUp;

public final class SerialVersionHashProposal extends FixCorrectionProposal {
        public SerialVersionHashProposal(IFix fix, ICleanUp up, int relevance, Image image, IInvocationContext context) {
                super(fix, up, relevance, image, context);
        }

        /**
         * {@inheritDoc}
         */
        public String getAdditionalProposalInfo() {
                return CorrectionMessages.SerialVersionHashProposal_message_generated_info;
        }
}




Clone AbstractionParameter Count: 2Parameter Bindings

/*******************************************************************************
 * Copyright (c) 2000, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.text.correction;

import org.eclipse.swt.graphics.Image;
import org.eclipse.jdt.internal.corext.fix.IFix;
import org.eclipse.jdt.ui.text.java.IInvocationContext;
import org.eclipse.jdt.internal.ui.fix.ICleanUp;

public final class [[#variable97527520]]extends FixCorrectionProposal {
  public [[#variable97527520]](IFix fix, ICleanUp up, int relevance, Image image, IInvocationContext context) {
    super(fix, up, relevance, image, context);
  }

  /**
           * {@inheritDoc}
           */
  public String getAdditionalProposalInfo() {
    return CorrectionMessages. [[#variable97527660]];
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97527520]]
SerialVersionDefaultProposal 
12[[#97527520]]
SerialVersionHashProposal 
21[[#97527660]]
SerialVersionDefaultProposal_message_default_info 
22[[#97527660]]
SerialVersionHashProposal_message_generated_info