Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.962 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 547 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java |
2 | 5 | 565 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java |
| ||||
/** * Gets the packages which should be sealed. * The following entry will be added to the manifest file for each package: * Name: <name of the package> * Sealed: true * <p> * This should only be used if the JAR itself is not sealed. * </p> * * @return an array of <code>IPackageFragment</code> */ public IPackageFragment[] getPackagesToSeal() { if (fPackagesToSeal == null) return new IPackageFragment[0]; else return fPackagesToSeal; } |
| ||||
/** * Gets the packages which should explicitly be unsealed. * The following entry will be added to the manifest file for each package: * Name: <name of the package> * Sealed: false * <p> * This should only be used if the JAR itself is sealed. * </p> * * @return an array of <code>IPackageFragment</code> */ public IPackageFragment[] getPackagesToUnseal() { if (fPackagesToUnseal == null) return new IPackageFragment[0]; else return fPackagesToUnseal; } |
| |||
/** * Gets the packages which should be sealed. * The following entry will be added to the manifest file for each package: * Name: <name of the package> * Sealed: true * <p> * This should only be used if the JAR itself is not sealed. * </p> * * @return an array of <code>IPackageFragment</code> */ /** * Gets the packages which should explicitly be unsealed. * The following entry will be added to the manifest file for each package: * Name: <name of the package> * Sealed: false * <p> * This should only be used if the JAR itself is sealed. * </p> * * @return an array of <code>IPackageFragment</code> */ public IPackageFragment[] [[#variable9c67e580]]() { if ( [[#variable9c67e520]]== null) return new IPackageFragment[0]; else return [[#variable9c67e520]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c67e580]] | getPackagesToSeal |
1 | 2 | [[#9c67e580]] | getPackagesToUnseal |
2 | 1 | [[#9c67e520]] | fPackagesToSeal |
2 | 2 | [[#9c67e520]] | fPackagesToUnseal |