| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 75 | 2 | 3 | 0.968 | compilation_unit |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 75 | 11 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/util/ILocalVariableTableEntry.java |
| 2 | 76 | 11 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/util/ILocalVariableTypeTableEntry.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.core.util;
/**
* Description of a local variable table entry as specified in the JVM specifications.
*
* This interface may be implemented by clients.
*
* @since 2.0
*/
public interface ILocalVariableTableEntry {
/**
* Answer back the start pc of this entry as specified in
* the JVM specifications.
*
* @return the start pc of this entry as specified in
* the JVM specifications
*/
int getStartPC();
/**
* Answer back the length of this entry as specified in
* the JVM specifications.
*
* @return the length of this entry as specified in
* the JVM specifications
*/
int getLength();
/**
* Answer back the name index in the constant pool of this entry as specified in
* the JVM specifications.
*
* @return the name index in the constant pool of this entry as specified in
* the JVM specifications
*/
int getNameIndex();
/**
* Answer back the descriptor index in the constant pool of this entry as specified in
* the JVM specifications.
*
* @return the descriptor index in the constant pool of this entry as specified in
* the JVM specifications
*/
int getDescriptorIndex();
/**
* Answer back the index of this entry as specified in
* the JVM specifications.
*
* @return the index of this entry as specified in
* the JVM specifications
*/
int getIndex();
/**
* Answer back the name of this entry as specified in
* the JVM specifications.
*
* @return the name of this entry as specified in
* the JVM specifications
*/
char[] getName();
/**
* Answer back the descriptor of this entry as specified in
* the JVM specifications.
*
* @return the descriptor of this entry as specified in
* the JVM specifications
*/
char[] getDescriptor();
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2004, 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.core.util;
/**
* Description of a local variable type table entry as specified in the JVM specifications
* (added in J2SE 1.5).
*
* This interface may be implemented by clients.
*
* @since 3.0
*/
public interface ILocalVariableTypeTableEntry {
/**
* Answer back the start pc of this entry as specified in
* the JVM specifications.
*
* @return the start pc of this entry as specified in
* the JVM specifications
*/
int getStartPC();
/**
* Answer back the length of this entry as specified in
* the JVM specifications.
*
* @return the length of this entry as specified in
* the JVM specifications
*/
int getLength();
/**
* Answer back the name index in the constant pool of this entry as specified in
* the JVM specifications.
*
* @return the name index in the constant pool of this entry as specified in
* the JVM specifications
*/
int getNameIndex();
/**
* Answer back the signature index in the constant pool of this entry as specified in
* the JVM specifications.
*
* @return the signature index in the constant pool of this entry as specified in
* the JVM specifications
*/
int getSignatureIndex();
/**
* Answer back the index of this entry as specified in
* the JVM specifications.
*
* @return the index of this entry as specified in
* the JVM specifications
*/
int getIndex();
/**
* Answer back the name of this entry as specified in
* the JVM specifications.
*
* @return the name of this entry as specified in
* the JVM specifications
*/
char[] getName();
/**
* Answer back the signature of this entry as specified in
* the JVM specifications.
*
* @return the signature of this entry as specified in
* the JVM specifications
*/
char[] getSignature();
}
|
| |||
/*******************************************************************************
* 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
*******************************************************************************/
/*******************************************************************************
* Copyright (c) 2004, 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.core.util;
/**
* Description of a local variable table entry as specified in the JVM specifications.
*
* This interface may be implemented by clients.
*
* @since 2.0
*/
/**
* Description of a local variable type table entry as specified in the JVM specifications
* (added in J2SE 1.5).
*
* This interface may be implemented by clients.
*
* @since 3.0
*/
public interface [[#variable5ab56fe0]]{
/**
* Answer back the start pc of this entry as specified in
* the JVM specifications.
*
* @return the start pc of this entry as specified in
* the JVM specifications
*/
int getStartPC();
/**
* Answer back the length of this entry as specified in
* the JVM specifications.
*
* @return the length of this entry as specified in
* the JVM specifications
*/
int getLength();
/**
* Answer back the name index in the constant pool of this entry as specified in
* the JVM specifications.
*
* @return the name index in the constant pool of this entry as specified in
* the JVM specifications
*/
int getNameIndex();
/**
* Answer back the descriptor index in the constant pool of this entry as specified in
* the JVM specifications.
*
* @return the descriptor index in the constant pool of this entry as specified in
* the JVM specifications
*/
/**
* Answer back the signature index in the constant pool of this entry as specified in
* the JVM specifications.
*
* @return the signature index in the constant pool of this entry as specified in
* the JVM specifications
*/
int [[#variable5ab56f80]]();
/**
* Answer back the index of this entry as specified in
* the JVM specifications.
*
* @return the index of this entry as specified in
* the JVM specifications
*/
int getIndex();
/**
* Answer back the name of this entry as specified in
* the JVM specifications.
*
* @return the name of this entry as specified in
* the JVM specifications
*/
char[] getName();
/**
* Answer back the descriptor of this entry as specified in
* the JVM specifications.
*
* @return the descriptor of this entry as specified in
* the JVM specifications
*/
/**
* Answer back the signature of this entry as specified in
* the JVM specifications.
*
* @return the signature of this entry as specified in
* the JVM specifications
*/
char[] [[#variable5ab56f00]]();
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5ab56fe0]] | ILocalVariableTableEntry |
| 1 | 2 | [[#5ab56fe0]] | ILocalVariableTypeTableEntry |
| 2 | 1 | [[#5ab56f80]] | getDescriptorIndex |
| 2 | 2 | [[#5ab56f80]] | getSignatureIndex |
| 3 | 1 | [[#5ab56f00]] | getDescriptor |
| 3 | 2 | [[#5ab56f00]] | getSignature |