CloneSet9081


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.962class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15547
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java
25565
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java
Clone Instance
1
Line Count
5
Source Line
547
Source File
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;
        }


Clone Instance
2
Line Count
5
Source Line
565
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java

        /**
         * 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;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c67e580]]
getPackagesToSeal 
12[[#9c67e580]]
getPackagesToUnseal 
21[[#9c67e520]]
fPackagesToSeal 
22[[#9c67e520]]
fPackagesToUnseal