diff options
author | Darin Wright | 2008-09-25 19:33:35 +0000 |
---|---|---|
committer | Darin Wright | 2008-09-25 19:33:35 +0000 |
commit | ce52f510bb667349d8bfe9c37f4d3d8a1ec2a57b (patch) | |
tree | 1cbba6343e62c000d6c3f441070b26cdd38ba8ba /apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline | |
parent | 2e25d886ccb690c6b0763d6466618006d716e7c9 (diff) | |
download | eclipse.pde.ui-ce52f510bb667349d8bfe9c37f4d3d8a1ec2a57b.tar.gz eclipse.pde.ui-ce52f510bb667349d8bfe9c37f4d3d8a1ec2a57b.tar.xz eclipse.pde.ui-ce52f510bb667349d8bfe9c37f4d3d8a1ec2a57b.zip |
backport performance tests to 34xperf_34x
Diffstat (limited to 'apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline')
270 files changed, 5433 insertions, 0 deletions
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.classpath b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.classpath new file mode 100644 index 0000000000..64c5e31b7a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.project b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.project new file mode 100644 index 0000000000..043b360d52 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.project @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>bundle.a</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> + </natures> +</projectDescription> diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.settings/org.eclipse.jdt.core.prefs b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..e126488a9b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +#Wed Aug 13 13:59:24 CDT 2008 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/META-INF/MANIFEST.MF b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..cd9a2f3dad --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/META-INF/MANIFEST.MF @@ -0,0 +1,26 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: API Tools Tests Plug-in A +Bundle-SymbolicName: bundle.a +Bundle-Version: 1.0.0 +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Export-Package: a.annotations, + a.bundles, + a.classes.constructors, + a.classes.fields, + a.classes.hierarchy, + a.classes.membertypes, + a.classes.methods, + a.classes.modifiers, + a.classes.restrictions, + a.classes.typeparameters, + a.constructors, + a.enums, + a.fields.modifiers, + a.interfaces.members, + a.interfaces.restrictions, + a.interfaces.typeparameters, + a.methods.modifiers, + a.methods.typeparameters, + a.since, + a.version diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/build.properties b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/build.properties new file mode 100644 index 0000000000..34d2e4d2da --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/AddMethodwDef.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/AddMethodwDef.java new file mode 100644 index 0000000000..1a1b6b5555 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/AddMethodwDef.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface AddMethodwDef { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/AddMethodwoDef.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/AddMethodwoDef.java new file mode 100644 index 0000000000..b079218944 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/AddMethodwoDef.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface AddMethodwoDef { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveDefValue.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveDefValue.java new file mode 100644 index 0000000000..6efa6566e9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveDefValue.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface RemoveDefValue { + + public int method() default 42; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveField.java new file mode 100644 index 0000000000..78a4d573e8 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveField.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface RemoveField { + + String FIELD = "FIELD"; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveMemberType.java new file mode 100644 index 0000000000..e4149e7513 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveMemberType.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface RemoveMemberType { + + interface MemberType { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveMethod.java new file mode 100644 index 0000000000..3cba7d1169 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/RemoveMethod.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface RemoveMethod { + + public int method(); +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToClass.java new file mode 100644 index 0000000000..c0adba1edc --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToClass.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface ToClass { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToEnum.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToEnum.java new file mode 100644 index 0000000000..761c042074 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToEnum.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface ToEnum { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToInterface.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToInterface.java new file mode 100644 index 0000000000..716161e8f9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/annotations/ToInterface.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.annotations; + +/** + * + */ +public @interface ToInterface { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/DeleteAndReplace.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/DeleteAndReplace.java new file mode 100644 index 0000000000..e11df8ffa3 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/DeleteAndReplace.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.bundles; + +/** + * + */ +public class DeleteAndReplace { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/PublicToPackageVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/PublicToPackageVisibility.java new file mode 100644 index 0000000000..93efdb19be --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/PublicToPackageVisibility.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.bundles; + +/** + * + */ +public class PublicToPackageVisibility { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/RemovePublicClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/RemovePublicClass.java new file mode 100644 index 0000000000..f321ef086a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/RemovePublicClass.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.bundles; + +/** + * + */ +public class RemovePublicClass { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/internal/RemovePrivateClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/internal/RemovePrivateClass.java new file mode 100644 index 0000000000..9e0e30d5f4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/bundles/internal/RemovePrivateClass.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.bundles.internal; + +/** + * + */ +public class RemovePrivateClass { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddPrivateConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddPrivateConstructor.java new file mode 100644 index 0000000000..1e50a1d7f8 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddPrivateConstructor.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests add a private constructor. + */ +public class AddPrivateConstructor { + + public AddPrivateConstructor(String foo) { + + } + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddProtectedConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddProtectedConstructor.java new file mode 100644 index 0000000000..cfd18aa149 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddProtectedConstructor.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests add a protected constructor. + */ +public class AddProtectedConstructor { + + protected AddProtectedConstructor(String foo) { + + } + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddPublicConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddPublicConstructor.java new file mode 100644 index 0000000000..d952ee0acd --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddPublicConstructor.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests add a public constructor. + */ +public class AddPublicConstructor { + + public AddPublicConstructor(String foo) { + + } + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSinglePrivateConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSinglePrivateConstructor.java new file mode 100644 index 0000000000..26712b00e7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSinglePrivateConstructor.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests add a private constructor. + */ +public class AddSinglePrivateConstructor { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSingleProtectedConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSingleProtectedConstructor.java new file mode 100644 index 0000000000..181344fcb4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSingleProtectedConstructor.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests add a protected constructor. + */ +public class AddSingleProtectedConstructor { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSinglePublicConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSinglePublicConstructor.java new file mode 100644 index 0000000000..881433329f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/AddSinglePublicConstructor.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests add a public constructor. + */ +public class AddSinglePublicConstructor { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePackageConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePackageConstructor.java new file mode 100644 index 0000000000..3db2f8d15f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePackageConstructor.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests removing package protected constructor. + */ +public class RemovePackageConstructor { + + RemovePackageConstructor(int i) { + } + + RemovePackageConstructor(String foo) { + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePrivateConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePrivateConstructor.java new file mode 100644 index 0000000000..3d67385d69 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePrivateConstructor.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests removing private constructor. + */ +public class RemovePrivateConstructor { + + private RemovePrivateConstructor(int i) { + } + + private RemovePrivateConstructor(String foo) { + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructor.java new file mode 100644 index 0000000000..18ccc69ffc --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructor.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests removing a protected API constructor. + */ +public class RemoveProtectedConstructor { + + protected RemoveProtectedConstructor(int i) { + } + + protected RemoveProtectedConstructor(String foo) { + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoExtend.java new file mode 100644 index 0000000000..daf4355fa2 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoExtend.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class RemoveProtectedConstructorNoExtend { + + protected RemoveProtectedConstructorNoExtend(int i) { + } + + protected RemoveProtectedConstructorNoExtend(String foo) { + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoExtendNoInstantiate.java new file mode 100644 index 0000000000..e1de4bbba7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoExtendNoInstantiate.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemoveProtectedConstructorNoExtendNoInstantiate { + + protected RemoveProtectedConstructorNoExtendNoInstantiate(int i) { + } + + protected RemoveProtectedConstructorNoExtendNoInstantiate(String foo) { + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoInstantiate.java new file mode 100644 index 0000000000..36bb6caf8f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoInstantiate.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemoveProtectedConstructorNoInstantiate { + + protected RemoveProtectedConstructorNoInstantiate(int i) { + + } + + protected RemoveProtectedConstructorNoInstantiate(String foo) { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoOverride.java new file mode 100644 index 0000000000..f385639549 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoOverride.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * + */ +public class RemoveProtectedConstructorNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + protected RemoveProtectedConstructorNoOverride(int i) { + + } + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + protected RemoveProtectedConstructorNoOverride(String foo) { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoReference.java new file mode 100644 index 0000000000..9bf676d99b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveProtectedConstructorNoReference.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * + */ +public class RemoveProtectedConstructorNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + protected RemoveProtectedConstructorNoReference(int i) { + + } + + /** + * @noreference This method is not intended to be referenced by clients. + */ + protected RemoveProtectedConstructorNoReference(String foo) { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructor.java new file mode 100644 index 0000000000..e8924bcb42 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructor.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests removing an API constructor. + */ +public class RemovePublicConstructor { + + public RemovePublicConstructor(int i) { + + } + + public RemovePublicConstructor(String foo) { + + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoExtend.java new file mode 100644 index 0000000000..797190e8f1 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoExtend.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class RemovePublicConstructorNoExtend { + + public RemovePublicConstructorNoExtend(int i) { + } + + public RemovePublicConstructorNoExtend(String foo) { + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoExtendNoInstantiate.java new file mode 100644 index 0000000000..b4f79a9e2e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoExtendNoInstantiate.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemovePublicConstructorNoExtendNoInstantiate { + + public RemovePublicConstructorNoExtendNoInstantiate(int i) { + } + + public RemovePublicConstructorNoExtendNoInstantiate(String foo) { + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoInstantiate.java new file mode 100644 index 0000000000..8ae6120401 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoInstantiate.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemovePublicConstructorNoInstantiate { + + public RemovePublicConstructorNoInstantiate(int i) { + } + + public RemovePublicConstructorNoInstantiate(String foo) { + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoOverride.java new file mode 100644 index 0000000000..943886fb75 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoOverride.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * + */ +public class RemovePublicConstructorNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + public RemovePublicConstructorNoOverride(int i) { + } + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + public RemovePublicConstructorNoOverride(String foo) { + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoReference.java new file mode 100644 index 0000000000..bda50f4fd1 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemovePublicConstructorNoReference.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * + */ +public class RemovePublicConstructorNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + public RemovePublicConstructorNoReference(int i) { + } + + /** + * @noreference This method is not intended to be referenced by clients. + */ + public RemovePublicConstructorNoReference(String foo) { + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveTwoPublicConstructors.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveTwoPublicConstructors.java new file mode 100644 index 0000000000..6f4c470364 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/constructors/RemoveTwoPublicConstructors.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.constructors; + +/** + * Tests removing constructors. + */ +public class RemoveTwoPublicConstructors { + + public RemoveTwoPublicConstructors(int i) { + } + public RemoveTwoPublicConstructors(String foo) { + } +} + diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddPrivateField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddPrivateField.java new file mode 100644 index 0000000000..6b5e1d6d43 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddPrivateField.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests adding private field. + */ +public class AddPrivateField { + + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddProtectedField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddProtectedField.java new file mode 100644 index 0000000000..f2afd4ca48 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddProtectedField.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests adding protected field. + */ +public class AddProtectedField { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddPublicField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddPublicField.java new file mode 100644 index 0000000000..9fddac1502 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/AddPublicField.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests adding public field. + */ +public class AddPublicField { + + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePackageField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePackageField.java new file mode 100644 index 0000000000..e3a83bba7f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePackageField.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests removing package protected field. + */ +public class RemovePackageField { + + String PACKAGE_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePrivateField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePrivateField.java new file mode 100644 index 0000000000..0e7ae9523b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePrivateField.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests removing private field. + */ +public class RemovePrivateField { + + private String PRIVATE_FIELD = "FOO"; + + public String get() { + return PRIVATE_FIELD; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedField.java new file mode 100644 index 0000000000..069bd5548a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedField.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests removing protected field. + */ +public class RemoveProtectedField { + + protected String PROTECTED_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoExtend.java new file mode 100644 index 0000000000..352f29cfbd --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoExtend.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class RemoveProtectedFieldNoExtend { + + protected String PROTECTED_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoExtendNoInstantiate.java new file mode 100644 index 0000000000..366f03dea8 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoExtendNoInstantiate.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemoveProtectedFieldNoExtendNoInstantiate { + + protected String PROTECTED_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoInstantiate.java new file mode 100644 index 0000000000..71f5a11927 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoInstantiate.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemoveProtectedFieldNoInstantiate { + + protected String PROTECTED_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoReference.java new file mode 100644 index 0000000000..ffd1235f56 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveProtectedFieldNoReference.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests removing protected field. + */ +public class RemoveProtectedFieldNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + protected String PROTECTED_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicField.java new file mode 100644 index 0000000000..1ef691e872 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicField.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests removing public field. + */ +public class RemovePublicField { + + public String PUBLIC_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoExtend.java new file mode 100644 index 0000000000..36ffc704f2 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoExtend.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class RemovePublicFieldNoExtend { + + public String PUBLIC_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoExtendNoInstantiate.java new file mode 100644 index 0000000000..ed4d5456f4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoExtendNoInstantiate.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemovePublicFieldNoExtendNoInstantiate { + + public String PUBLIC_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoInstantiate.java new file mode 100644 index 0000000000..898764a13e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoInstantiate.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemovePublicFieldNoInstantiate { + + public String PUBLIC_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoReference.java new file mode 100644 index 0000000000..c1936fbd90 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemovePublicFieldNoReference.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests removing public field. + */ +public class RemovePublicFieldNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public String PUBLIC_FIELD = "FOO"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveTwoPublicFields.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveTwoPublicFields.java new file mode 100644 index 0000000000..bc7c087af4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/fields/RemoveTwoPublicFields.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.fields; + +/** + * Tests removing public field. + */ +public class RemoveTwoPublicFields { + + public String PUBLIC_FIELD1 = "FOO1"; + + public String PUBLIC_FIELD2 = "FOO2"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/AddInterfaceA.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/AddInterfaceA.java new file mode 100644 index 0000000000..56e06173ad --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/AddInterfaceA.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class AddInterfaceA { + + /* (non-Javadoc) + * @see a.classes.hierarchy.InterfaceA#methodA() + */ + public int methodA() { + return 0; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ChangeInterfaceFromAtoB.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ChangeInterfaceFromAtoB.java new file mode 100644 index 0000000000..16700be5de --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ChangeInterfaceFromAtoB.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class ChangeInterfaceFromAtoB implements InterfaceA { + + /* (non-Javadoc) + * @see a.classes.hierarchy.InterfaceA#methodA() + */ + public int methodA() { + return 0; + } + + /* (non-Javadoc) + * @see a.classes.hierarchy.InterfaceB#methodB() + */ + public String methodB() { + return null; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ChangedFromAtoD.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ChangedFromAtoD.java new file mode 100644 index 0000000000..0f71fe5e18 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ChangedFromAtoD.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class ChangedFromAtoD extends ClassA { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassA.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassA.java new file mode 100644 index 0000000000..ee46d496bd --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassA.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * A base class + */ +public class ClassA { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassB.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassB.java new file mode 100644 index 0000000000..dea736e74f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassB.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * A subclass of A + */ +public class ClassB extends ClassA { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassC.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassC.java new file mode 100644 index 0000000000..873bb34203 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassC.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * A subclass of A and B + */ +public class ClassC extends ClassB { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassD.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassD.java new file mode 100644 index 0000000000..844dedba06 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ClassD.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class ClassD { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/InterfaceA.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/InterfaceA.java new file mode 100644 index 0000000000..a99dcd2e7a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/InterfaceA.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public interface InterfaceA { + + public int methodA(); + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/InterfaceB.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/InterfaceB.java new file mode 100644 index 0000000000..1c83a8a843 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/InterfaceB.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public interface InterfaceB { + + public String methodB(); +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoA.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoA.java new file mode 100644 index 0000000000..d59da5f4b4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoA.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * Reduce superclass from C to A + */ +public class ReduceFromCtoA extends ClassC { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoB.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoB.java new file mode 100644 index 0000000000..cfbb03fc74 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoB.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * Reduce superclass from C to B + */ +public class ReduceFromCtoB extends ClassC { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoObject.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoObject.java new file mode 100644 index 0000000000..41e812ec9c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceFromCtoObject.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * Reduce super class from C to Object + */ +public class ReduceFromCtoObject extends ClassC { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceInterfaceFromABtoA.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceInterfaceFromABtoA.java new file mode 100644 index 0000000000..495721747f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceInterfaceFromABtoA.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class ReduceInterfaceFromABtoA implements InterfaceA, InterfaceB { + + /* (non-Javadoc) + * @see a.classes.hierarchy.InterfaceA#methodA() + */ + public int methodA() { + return 0; + } + + /* (non-Javadoc) + * @see a.classes.hierarchy.InterfaceB#methodB() + */ + public String methodB() { + return null; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceInterfaceFromABtoEmpty.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceInterfaceFromABtoEmpty.java new file mode 100644 index 0000000000..2244c5e562 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/ReduceInterfaceFromABtoEmpty.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class ReduceInterfaceFromABtoEmpty implements InterfaceA, InterfaceB { + + /* (non-Javadoc) + * @see a.classes.hierarchy.InterfaceA#methodA() + */ + public int methodA() { + return 0; + } + + /* (non-Javadoc) + * @see a.classes.hierarchy.InterfaceB#methodB() + */ + public String methodB() { + return null; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/RemoveIntSuperClassWithMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/RemoveIntSuperClassWithMethod.java new file mode 100644 index 0000000000..25735671b2 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/RemoveIntSuperClassWithMethod.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +import a.classes.internal.InternalClassWithMethod; + +/** + * + */ +public class RemoveIntSuperClassWithMethod extends InternalClassWithMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/RemoveInternalSuperClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/RemoveInternalSuperClass.java new file mode 100644 index 0000000000..ada3a58061 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/RemoveInternalSuperClass.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +import a.classes.internal.InternalClass; + +/** + * + */ +public class RemoveInternalSuperClass extends InternalClass { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SubClazz.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SubClazz.java new file mode 100644 index 0000000000..ceaaea540b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SubClazz.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class SubClazz extends SuperClazz { + + public void pushUp() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SubclassInternalClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SubclassInternalClass.java new file mode 100644 index 0000000000..977f4a4acc --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SubclassInternalClass.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +import a.classes.internal.RemoveInternalMethod; + +/** + * + */ +public class SubclassInternalClass extends RemoveInternalMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SuperClazz.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SuperClazz.java new file mode 100644 index 0000000000..3a53c79ebc --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/hierarchy/SuperClazz.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.hierarchy; + +/** + * + */ +public class SuperClazz { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/InternalClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/InternalClass.java new file mode 100644 index 0000000000..41651891da --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/InternalClass.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.internal; + +/** + * + */ +public class InternalClass { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/InternalClassWithMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/InternalClassWithMethod.java new file mode 100644 index 0000000000..0a390becec --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/InternalClassWithMethod.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.internal; + +/** + * + */ +public class InternalClassWithMethod { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/RemoveInternalConstructor.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/RemoveInternalConstructor.java new file mode 100644 index 0000000000..841951986e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/RemoveInternalConstructor.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.internal; + +/** + * + */ +public class RemoveInternalConstructor { + + public RemoveInternalConstructor() {} + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/RemoveInternalMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/RemoveInternalMethod.java new file mode 100644 index 0000000000..207ecf0af7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/internal/RemoveInternalMethod.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.internal; + +/** + * + */ +public class RemoveInternalMethod { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PackageToPrivateVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PackageToPrivateVisibility.java new file mode 100644 index 0000000000..4ffed9fc91 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PackageToPrivateVisibility.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class PackageToPrivateVisibility { + + class PackageToPrivate { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPackageVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPackageVisibility.java new file mode 100644 index 0000000000..8508694a7a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPackageVisibility.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class ProtectedToPackageVisibility { + + protected class ProtectedToPackage { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPackageVisibilityNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPackageVisibilityNoExtend.java new file mode 100644 index 0000000000..2151210595 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPackageVisibilityNoExtend.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class ProtectedToPackageVisibilityNoExtend { + + protected class ProtectedToPackage { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPrivateVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPrivateVisibility.java new file mode 100644 index 0000000000..0fb65077f8 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPrivateVisibility.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class ProtectedToPrivateVisibility { + + protected class ProtectedToPrivate { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPrivateVisibilityNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPrivateVisibilityNoExtend.java new file mode 100644 index 0000000000..0c95536531 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/ProtectedToPrivateVisibilityNoExtend.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class ProtectedToPrivateVisibilityNoExtend { + + protected class ProtectedToPrivate { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToPackageVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToPackageVisibility.java new file mode 100644 index 0000000000..7e9c1a971c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToPackageVisibility.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class PublicToPackageVisibility { + + public class PublicToPackage { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToPrivateVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToPrivateVisibility.java new file mode 100644 index 0000000000..789dec18e5 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToPrivateVisibility.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class PublicToPrivateVisibility { + + public class PublicToPrivate { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToProtectedVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToProtectedVisibility.java new file mode 100644 index 0000000000..fc4a16f418 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/PublicToProtectedVisibility.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class PublicToProtectedVisibility { + + public class PublicToProtected { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePackageMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePackageMemberType.java new file mode 100644 index 0000000000..aa8c7bd9c7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePackageMemberType.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class RemovePackageMemberType { + + class PacakgeType { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePrivateMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePrivateMemberType.java new file mode 100644 index 0000000000..827524ef3d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePrivateMemberType.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class RemovePrivateMemberType { + + private class PrivateType { + + } + + void foo() { + new PrivateType().toString(); + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemoveProtectedMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemoveProtectedMemberType.java new file mode 100644 index 0000000000..fe869c97e8 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemoveProtectedMemberType.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class RemoveProtectedMemberType { + + protected class ProtectedType { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemoveProtectedMemberTypeNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemoveProtectedMemberTypeNoExtend.java new file mode 100644 index 0000000000..b4aaadb3ec --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemoveProtectedMemberTypeNoExtend.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class RemoveProtectedMemberTypeNoExtend { + + protected class ProtectedType { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePublicMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePublicMemberType.java new file mode 100644 index 0000000000..91a8e9fbc9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/membertypes/RemovePublicMemberType.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.membertypes; + +/** + * + */ +public class RemovePublicMemberType { + + public class PublicType { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddAbstractMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddAbstractMethod.java new file mode 100644 index 0000000000..7bf4b21484 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddAbstractMethod.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * + */ +public abstract class AddAbstractMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddAbstractMethodNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddAbstractMethodNoExtend.java new file mode 100644 index 0000000000..3fc8bad0b9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddAbstractMethodNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * @noextend + */ +public abstract class AddAbstractMethodNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddPrivateMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddPrivateMethod.java new file mode 100644 index 0000000000..750a008f7f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddPrivateMethod.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests add a private method. + */ +public class AddPrivateMethod { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddProtectedMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddProtectedMethod.java new file mode 100644 index 0000000000..d1b37bbe40 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddProtectedMethod.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests add a protected method. + */ +public class AddProtectedMethod { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddPublicMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddPublicMethod.java new file mode 100644 index 0000000000..dd50ae32b4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/AddPublicMethod.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests add a public method. + */ +public class AddPublicMethod { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePackageMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePackageMethod.java new file mode 100644 index 0000000000..2e3ec5f6c0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePackageMethod.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests removing package protected method. + */ +public class RemovePackageMethod { + + int packageMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePrivateMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePrivateMethod.java new file mode 100644 index 0000000000..78b172ed65 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePrivateMethod.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests removing private method. + */ +public class RemovePrivateMethod { + + public int publicMethod(String arg) { + return privateMethod(""); + } + + private int privateMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethod.java new file mode 100644 index 0000000000..583041e5fc --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethod.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests removing a protected API method. + */ +public class RemoveProtectedMethod { + + protected int protectedMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoExtend.java new file mode 100644 index 0000000000..97aef978f6 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoExtend.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class RemoveProtectedMethodNoExtend { + + protected int protectedMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoExtendNoInstantiate.java new file mode 100644 index 0000000000..abef913f82 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoExtendNoInstantiate.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemoveProtectedMethodNoExtendNoInstantiate { + + protected int protectedMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoInstantiate.java new file mode 100644 index 0000000000..a461026815 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoInstantiate.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemoveProtectedMethodNoInstantiate { + + protected int protectedMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoOverride.java new file mode 100644 index 0000000000..5bfcb03764 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoOverride.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * + */ +public class RemoveProtectedMethodNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + protected int protectedMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoReference.java new file mode 100644 index 0000000000..5c534a2f5a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveProtectedMethodNoReference.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * + */ +public class RemoveProtectedMethodNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + protected int protectedMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethod.java new file mode 100644 index 0000000000..56d6ac1b7d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethod.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests removing an API method. + */ +public class RemovePublicMethod { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoExtend.java new file mode 100644 index 0000000000..499abec758 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoExtend.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class RemovePublicMethodNoExtend { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoExtendNoInstantiate.java new file mode 100644 index 0000000000..823cb491bf --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoExtendNoInstantiate.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemovePublicMethodNoExtendNoInstantiate { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoInstantiate.java new file mode 100644 index 0000000000..c54d346526 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoInstantiate.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class RemovePublicMethodNoInstantiate { + + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoOverride.java new file mode 100644 index 0000000000..8e57c8a0c0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoOverride.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * + */ +public class RemovePublicMethodNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoReference.java new file mode 100644 index 0000000000..28c2f307c0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemovePublicMethodNoReference.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * + */ +public class RemovePublicMethodNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + public int publicMethod(String arg) { + return -1; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveTwoPublicMethods.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveTwoPublicMethods.java new file mode 100644 index 0000000000..987736a886 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/methods/RemoveTwoPublicMethods.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.methods; + +/** + * Tests removing an API method. + */ +public class RemoveTwoPublicMethods { + + public int methodOne(String arg) { + return -1; + } + + public String methodTwo(int foo) { + return ""; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstract.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstract.java new file mode 100644 index 0000000000..a0b9d2bdb0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstract.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * + */ +public class AddAbstract { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoExtend.java new file mode 100644 index 0000000000..1fc83675b8 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class AddAbstractNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoExtendNoInstantiate.java new file mode 100644 index 0000000000..e50ac56d12 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoExtendNoInstantiate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class AddAbstractNoExtendNoInstantiate { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoInstantiate.java new file mode 100644 index 0000000000..da5d936a36 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddAbstractNoInstantiate.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class AddAbstractNoInstantiate { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinal.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinal.java new file mode 100644 index 0000000000..48c1cc86e7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinal.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * + */ +public class AddFinal { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoExtend.java new file mode 100644 index 0000000000..eb4349c848 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class AddFinalNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoExtendNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoExtendNoInstantiate.java new file mode 100644 index 0000000000..c33c8cf322 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoExtendNoInstantiate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class AddFinalNoExtendNoInstantiate { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoInstantiate.java new file mode 100644 index 0000000000..2343e63d14 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalNoInstantiate.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class AddFinalNoInstantiate { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalRemoveNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalRemoveNoExtend.java new file mode 100644 index 0000000000..9af389a3a6 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/AddFinalRemoveNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class AddFinalRemoveNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/PublicToPackageVisibility.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/PublicToPackageVisibility.java new file mode 100644 index 0000000000..d1a394c02c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/PublicToPackageVisibility.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * + */ +public class PublicToPackageVisibility { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/RemoveFinal.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/RemoveFinal.java new file mode 100644 index 0000000000..4f756434f5 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/RemoveFinal.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * + */ +public final class RemoveFinal { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/RemoveFinalAddNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/RemoveFinalAddNoExtend.java new file mode 100644 index 0000000000..7ff474b515 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/modifiers/RemoveFinalAddNoExtend.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.modifiers; + +/** + * + */ +public final class RemoveFinalAddNoExtend { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AbstractAddNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AbstractAddNoInstantiate.java new file mode 100644 index 0000000000..8a9a681037 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AbstractAddNoInstantiate.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * + */ +public abstract class AbstractAddNoInstantiate { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AbstractRemoveNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AbstractRemoveNoInstantiate.java new file mode 100644 index 0000000000..6fe383b59d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AbstractRemoveNoInstantiate.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * @noinstantiate + */ +public abstract class AbstractRemoveNoInstantiate { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AddNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AddNoExtend.java new file mode 100644 index 0000000000..837821ca4d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AddNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * + */ +public class AddNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AddNoInstantiate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AddNoInstantiate.java new file mode 100644 index 0000000000..7a8755a1d3 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/AddNoInstantiate.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * + */ +public class AddNoInstantiate { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/FinalAddNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/FinalAddNoExtend.java new file mode 100644 index 0000000000..ceafd4e74b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/FinalAddNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * + */ +public final class FinalAddNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/FinalRemoveNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/FinalRemoveNoExtend.java new file mode 100644 index 0000000000..063a4f2563 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/FinalRemoveNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * @noextend + */ +public final class FinalRemoveNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/NoInstantiateAddAbstract.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/NoInstantiateAddAbstract.java new file mode 100644 index 0000000000..5653d00ea9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/NoInstantiateAddAbstract.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * @noinstantiate This class is not intended to be instantiated by clients. + */ +public class NoInstantiateAddAbstract { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/RemoveNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/RemoveNoExtend.java new file mode 100644 index 0000000000..d38eef2962 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/restrictions/RemoveNoExtend.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.restrictions; + +/** + * @noextend + */ +public class RemoveNoExtend { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddClassBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddClassBound.java new file mode 100644 index 0000000000..c4371b6108 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddClassBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class AddClassBound<E> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddFirstTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddFirstTypeParameter.java new file mode 100644 index 0000000000..d075b8df45 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddFirstTypeParameter.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class AddFirstTypeParameter { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddInterfaceBound.java new file mode 100644 index 0000000000..40688a1326 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddInterfaceBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class AddInterfaceBound<E> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddTypeParameter.java new file mode 100644 index 0000000000..2a3fbcab50 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/AddTypeParameter.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class AddTypeParameter<E> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/Bound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/Bound.java new file mode 100644 index 0000000000..ce95dc16dd --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/Bound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class Bound { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/BoundTwo.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/BoundTwo.java new file mode 100644 index 0000000000..798359839b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/BoundTwo.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class BoundTwo { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ChangeClassBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ChangeClassBound.java new file mode 100644 index 0000000000..40b7f308f9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ChangeClassBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class ChangeClassBound<E extends Bound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ChangeInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ChangeInterfaceBound.java new file mode 100644 index 0000000000..3abd8088e7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ChangeInterfaceBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class ChangeInterfaceBound<E extends IBound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToAnnotation.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToAnnotation.java new file mode 100644 index 0000000000..fb557558f0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToAnnotation.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class ConvertToAnnotation { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToEnum.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToEnum.java new file mode 100644 index 0000000000..974f7fe328 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToEnum.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class ConvertToEnum { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToInterface.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToInterface.java new file mode 100644 index 0000000000..4b3d29b6cf --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/ConvertToInterface.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class ConvertToInterface { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/IBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/IBound.java new file mode 100644 index 0000000000..c3c0682250 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/IBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public interface IBound { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/IBoundTwo.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/IBoundTwo.java new file mode 100644 index 0000000000..9fb1cbf541 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/IBoundTwo.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public interface IBoundTwo { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveClassBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveClassBound.java new file mode 100644 index 0000000000..2ff031bd96 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveClassBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class RemoveClassBound<E extends Bound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveInterfaceBound.java new file mode 100644 index 0000000000..f95d0b4e7c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveInterfaceBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class RemoveInterfaceBound<E extends IBound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveSecondInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveSecondInterfaceBound.java new file mode 100644 index 0000000000..8c608fdab9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveSecondInterfaceBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class RemoveSecondInterfaceBound<E extends IBound & IBoundTwo>{ + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveTypeParameter.java new file mode 100644 index 0000000000..40962d7adc --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/classes/typeparameters/RemoveTypeParameter.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.classes.typeparameters; + +/** + * + */ +public class RemoveTypeParameter<E> { + + public void add(E e) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/AddTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/AddTypeParameter.java new file mode 100644 index 0000000000..d49223d79a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/AddTypeParameter.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class AddTypeParameter { + + public <T> AddTypeParameter(T t) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ArrayToVarArgs.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ArrayToVarArgs.java new file mode 100644 index 0000000000..44b97352fd --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ArrayToVarArgs.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class ArrayToVarArgs { + + public ArrayToVarArgs(int x, int[] args) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPackage.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPackage.java new file mode 100644 index 0000000000..c2bb712c92 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPackage.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class ProtectedToPackage { + + protected ProtectedToPackage() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPackageNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPackageNoReference.java new file mode 100644 index 0000000000..9d04925c30 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPackageNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class ProtectedToPackageNoReference { + + /** + * @noreference This constructor is not intended to be referenced by clients. + */ + protected ProtectedToPackageNoReference() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPrivate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPrivate.java new file mode 100644 index 0000000000..0566239cf1 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPrivate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class ProtectedToPrivate { + + protected ProtectedToPrivate() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPrivateNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPrivateNoExtend.java new file mode 100644 index 0000000000..07ec978eb9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/ProtectedToPrivateNoExtend.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class ProtectedToPrivateNoExtend { + + protected ProtectedToPrivateNoExtend() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPackage.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPackage.java new file mode 100644 index 0000000000..3bdfcb3b9a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPackage.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class PublicToPackage { + + public PublicToPackage() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPrivate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPrivate.java new file mode 100644 index 0000000000..8bd8276590 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPrivate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class PublicToPrivate { + + public PublicToPrivate() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPrivateNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPrivateNoReference.java new file mode 100644 index 0000000000..c42237a48b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToPrivateNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class PublicToPrivateNoReference { + + /** + * @noreference This constructor is not intended to be referenced by clients. + */ + public PublicToPrivateNoReference() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToProtected.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToProtected.java new file mode 100644 index 0000000000..f87a569487 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/PublicToProtected.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class PublicToProtected { + + public PublicToProtected() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/RemoveTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/RemoveTypeParameter.java new file mode 100644 index 0000000000..837e1f32d2 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/RemoveTypeParameter.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class RemoveTypeParameter { + + public <T, U> RemoveTypeParameter(T t){} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/VarArgsToArray.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/VarArgsToArray.java new file mode 100644 index 0000000000..c971729222 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/constructors/VarArgsToArray.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.constructors; + +/** + * + */ +public class VarArgsToArray { + + public VarArgsToArray(int x, int... args) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveEnumConstant.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveEnumConstant.java new file mode 100644 index 0000000000..deedc4b70f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveEnumConstant.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +/** + * + */ +public enum RemoveEnumConstant { + + A, B , C; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveField.java new file mode 100644 index 0000000000..8dce16b9e2 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveField.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +/** + * + */ +public enum RemoveField { + + A, B, C; + + public static final String FIELD = "FOO"; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveMemberType.java new file mode 100644 index 0000000000..bc205b399e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveMemberType.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +/** + * + */ +public enum RemoveMemberType { + A, B, C; + + public class MemberType { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveMethod.java new file mode 100644 index 0000000000..3d4ff699e5 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveMethod.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +/** + * + */ +public enum RemoveMethod { + A, B, C; + + public int method(int x) { + return 42; + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveSuperInterface.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveSuperInterface.java new file mode 100644 index 0000000000..77ac34eca1 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/RemoveSuperInterface.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +import a.classes.hierarchy.InterfaceA; + +/** + * + */ +public enum RemoveSuperInterface implements InterfaceA { + A, B, C; + public int methodA() { + return 0; + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToAnnotation.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToAnnotation.java new file mode 100644 index 0000000000..4b43ced409 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToAnnotation.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +/** + * + */ +public enum ToAnnotation { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToClass.java new file mode 100644 index 0000000000..f5fe8221d0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToClass.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +/** + * + */ +public enum ToClass { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToInterface.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToInterface.java new file mode 100644 index 0000000000..ccf47e0b06 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/enums/ToInterface.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.enums; + +/** + * + */ +public enum ToInterface { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinal.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinal.java new file mode 100644 index 0000000000..c81ecbc011 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinal.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class AddFinal { + + public String ADD_FINAL; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalNoReference.java new file mode 100644 index 0000000000..ee2a7f85d8 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class AddFinalNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public String ADD_FINAL; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalOnStatic.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalOnStatic.java new file mode 100644 index 0000000000..fd1915c564 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalOnStatic.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class AddFinalOnStatic { + + public static String ADD_FINAL; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalOnStaticNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalOnStaticNoReference.java new file mode 100644 index 0000000000..e054a15f84 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddFinalOnStaticNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class AddFinalOnStaticNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public static String ADD_FINAL; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddNoReference.java new file mode 100644 index 0000000000..dc549575e0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddNoReference.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class AddNoReference { + + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddStatic.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddStatic.java new file mode 100644 index 0000000000..f2015c88bf --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddStatic.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class AddStatic { + + public String ADD_STATIC; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddStaticNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddStaticNoReference.java new file mode 100644 index 0000000000..40d5efeafb --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddStaticNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class AddStaticNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public String ADD_STATIC; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddTypeArguments.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddTypeArguments.java new file mode 100644 index 0000000000..c0ce83c80c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/AddTypeArguments.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +import java.util.List; + +/** + * + */ +public class AddTypeArguments { + + public List FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeType.java new file mode 100644 index 0000000000..67ae74fe40 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeType.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class ChangeType { + + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeTypeNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeTypeNoExtend.java new file mode 100644 index 0000000000..dc69e98280 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeTypeNoExtend.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class ChangeTypeNoExtend { + + protected String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeTypeNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeTypeNoReference.java new file mode 100644 index 0000000000..5ea6b47468 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ChangeTypeNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class ChangeTypeNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeType.java new file mode 100644 index 0000000000..1a87956df2 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeType.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class GeneralizeType { + + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeTypeNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeTypeNoExtend.java new file mode 100644 index 0000000000..7161b59306 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeTypeNoExtend.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class GeneralizeTypeNoExtend { + + protected String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeTypeNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeTypeNoReference.java new file mode 100644 index 0000000000..70337abdb0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/GeneralizeTypeNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class GeneralizeTypeNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ModifyValue.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ModifyValue.java new file mode 100644 index 0000000000..45343c3685 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ModifyValue.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class ModifyValue { + + public static final String CONSTANT = "VALUE_1"; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackage.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackage.java new file mode 100644 index 0000000000..ae866e2334 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackage.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class ProtectedToPackage { + + protected String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackageNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackageNoReference.java new file mode 100644 index 0000000000..f6ed9fb56b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackageNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class ProtectedToPackageNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + protected String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackageRemoveNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackageRemoveNoReference.java new file mode 100644 index 0000000000..99115f08f7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPackageRemoveNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class ProtectedToPackageRemoveNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + protected String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPrivate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPrivate.java new file mode 100644 index 0000000000..ffbed7f97d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPrivate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class ProtectedToPrivate { + + protected String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPrivateNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPrivateNoExtend.java new file mode 100644 index 0000000000..a57786c428 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/ProtectedToPrivateNoExtend.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class ProtectedToPrivateNoExtend { + + protected String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPackage.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPackage.java new file mode 100644 index 0000000000..bec2dc88a3 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPackage.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class PublicToPackage { + + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPrivate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPrivate.java new file mode 100644 index 0000000000..7eb83c56ab --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPrivate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class PublicToPrivate { + + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPrivateNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPrivateNoReference.java new file mode 100644 index 0000000000..a4121d8d8f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToPrivateNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class PublicToPrivateNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToProtected.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToProtected.java new file mode 100644 index 0000000000..64a08ddb0c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/PublicToProtected.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class PublicToProtected { + + public String FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveFinalOnConstant.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveFinalOnConstant.java new file mode 100644 index 0000000000..17b07560b0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveFinalOnConstant.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class RemoveFinalOnConstant { + + public static final String CONSTANT = "CONSTANT"; + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveStatic.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveStatic.java new file mode 100644 index 0000000000..563b344fc4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveStatic.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class RemoveStatic { + + public static String REMOVE_STATIC; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveStaticNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveStaticNoReference.java new file mode 100644 index 0000000000..eda5df057e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveStaticNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class RemoveStaticNoReference { + + /** + * @noreference This field is not intended to be referenced by clients. + */ + public static String REMOVE_STATIC; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveTypeArguments.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveTypeArguments.java new file mode 100644 index 0000000000..358f2f2a29 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/RemoveTypeArguments.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +import java.util.List; + +/** + * + */ +public class RemoveTypeArguments { + + public List<String> FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/SpecializeType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/SpecializeType.java new file mode 100644 index 0000000000..6548a4bf0a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/fields/modifiers/SpecializeType.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.fields.modifiers; + +/** + * + */ +public class SpecializeType { + + public Object FIELD; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddField.java new file mode 100644 index 0000000000..4604a5aaaf --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddField.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface AddField { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddFieldNoImplement.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddFieldNoImplement.java new file mode 100644 index 0000000000..e211a541ba --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddFieldNoImplement.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface AddFieldNoImplement { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddInterfaceA.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddInterfaceA.java new file mode 100644 index 0000000000..943d614942 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddInterfaceA.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface AddInterfaceA { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddInterfaceANoImplement.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddInterfaceANoImplement.java new file mode 100644 index 0000000000..983deb54c9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddInterfaceANoImplement.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface AddInterfaceANoImplement { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMemberType.java new file mode 100644 index 0000000000..25a3bc4b1a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMemberType.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface AddMemberType { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMemberTypeNoImplement.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMemberTypeNoImplement.java new file mode 100644 index 0000000000..9764368802 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMemberTypeNoImplement.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * @noimplement + */ +public interface AddMemberTypeNoImplement { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMethod.java new file mode 100644 index 0000000000..3c2489079d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMethod.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface AddMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMethodNoImplement.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMethodNoImplement.java new file mode 100644 index 0000000000..f1853e94cf --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/AddMethodNoImplement.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface AddMethodNoImplement { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/ReduceFromABtoA.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/ReduceFromABtoA.java new file mode 100644 index 0000000000..658662c474 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/ReduceFromABtoA.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +import a.classes.hierarchy.InterfaceA; +import a.classes.hierarchy.InterfaceB; + +/** + * + */ +public interface ReduceFromABtoA extends InterfaceA, InterfaceB { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/ReduceFromABtoEmpty.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/ReduceFromABtoEmpty.java new file mode 100644 index 0000000000..377bf8ca5c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/ReduceFromABtoEmpty.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +import a.classes.hierarchy.InterfaceA; +import a.classes.hierarchy.InterfaceB; + +/** + * + */ +public interface ReduceFromABtoEmpty extends InterfaceA, InterfaceB { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveField.java new file mode 100644 index 0000000000..5c4a7b7bfe --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveField.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface RemoveField { + + public static final String FIELD = "FIELD"; +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMemberType.java new file mode 100644 index 0000000000..91347ea3ae --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMemberType.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface RemoveMemberType { + + public interface MemberType { + + } +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMethod.java new file mode 100644 index 0000000000..a1631aac1f --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMethod.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface RemoveMethod { + + public int removeMethod(String foo); +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMethodNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMethodNoReference.java new file mode 100644 index 0000000000..aae9704ada --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/members/RemoveMethodNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.members; + +/** + * + */ +public interface RemoveMethodNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + public int noReference(String foo); +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/restrictions/AddNoImplement.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/restrictions/AddNoImplement.java new file mode 100644 index 0000000000..1dc6f8b1b7 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/restrictions/AddNoImplement.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.restrictions; + +/** + * + */ +public interface AddNoImplement { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/restrictions/RemoveNoImplement.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/restrictions/RemoveNoImplement.java new file mode 100644 index 0000000000..3112aee2e3 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/restrictions/RemoveNoImplement.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.restrictions; + +/** + * @noimplement + */ +public interface RemoveNoImplement { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddClassBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddClassBound.java new file mode 100644 index 0000000000..7dfe539539 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddClassBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +/** + * + */ +public interface AddClassBound<E> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddFirstTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddFirstTypeParameter.java new file mode 100644 index 0000000000..813167b836 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddFirstTypeParameter.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +/** + * + */ +public interface AddFirstTypeParameter { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddInterfaceBound.java new file mode 100644 index 0000000000..569a4f0f44 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddInterfaceBound.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +/** + * + */ +public interface AddInterfaceBound<E> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddTypeParameter.java new file mode 100644 index 0000000000..b37f4c9490 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/AddTypeParameter.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +/** + * + */ +public interface AddTypeParameter<E> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/ChangeClassBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/ChangeClassBound.java new file mode 100644 index 0000000000..642ed59412 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/ChangeClassBound.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +import a.classes.typeparameters.Bound; + +/** + * + */ +public interface ChangeClassBound<E extends Bound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/ChangeInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/ChangeInterfaceBound.java new file mode 100644 index 0000000000..3baee6caa4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/ChangeInterfaceBound.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +import a.classes.typeparameters.IBound; + +/** + * + */ +public interface ChangeInterfaceBound<E extends IBound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveClassBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveClassBound.java new file mode 100644 index 0000000000..e93ec4bd34 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveClassBound.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +import a.classes.typeparameters.Bound; + +/** + * + */ +public interface RemoveClassBound<E extends Bound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveInterfaceBound.java new file mode 100644 index 0000000000..4b9aa36691 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveInterfaceBound.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +import a.classes.typeparameters.IBound; + +/** + * + */ +public interface RemoveInterfaceBound<E extends IBound> { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveSecondInterfaceBound.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveSecondInterfaceBound.java new file mode 100644 index 0000000000..404c788ba1 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveSecondInterfaceBound.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +import a.classes.typeparameters.IBound; +import a.classes.typeparameters.IBoundTwo; + +/** + * + */ +public interface RemoveSecondInterfaceBound<E extends IBound & IBoundTwo>{ + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveTypeParameter.java new file mode 100644 index 0000000000..fbb8e5aa1e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/interfaces/typeparameters/RemoveTypeParameter.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.interfaces.typeparameters; + +/** + * + */ +public interface RemoveTypeParameter<E> { + + public void add(E e); +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddAbstract.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddAbstract.java new file mode 100644 index 0000000000..d3a560eb06 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddAbstract.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public abstract class AddAbstract { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinal.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinal.java new file mode 100644 index 0000000000..29c0db3741 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinal.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddFinal { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalNoExtend.java new file mode 100644 index 0000000000..1dc2065b50 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalNoExtend.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class AddFinalNoExtend { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalNoOverride.java new file mode 100644 index 0000000000..2f29a15977 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalNoOverride.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddFinalNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalRemoveNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalRemoveNoOverride.java new file mode 100644 index 0000000000..8f48564049 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddFinalRemoveNoOverride.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddFinalRemoveNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoOverride.java new file mode 100644 index 0000000000..15d0aeb3b9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoOverride.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddNoOverride { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoOverrideToFinal.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoOverrideToFinal.java new file mode 100644 index 0000000000..96eba3681c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoOverrideToFinal.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddNoOverrideToFinal { + + public final void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoReference.java new file mode 100644 index 0000000000..e47a3e31cb --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddNoReference.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddNoReference { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddStatic.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddStatic.java new file mode 100644 index 0000000000..97dd444927 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddStatic.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddStatic { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddStaticNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddStaticNoReference.java new file mode 100644 index 0000000000..16416ee5de --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/AddStaticNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class AddStaticNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PrivateToPublicNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PrivateToPublicNoReference.java new file mode 100644 index 0000000000..21f310bf59 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PrivateToPublicNoReference.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class PrivateToPublicNoReference { + + private void method(int x) {} + + void otherMethod() { + method(1); + } + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPackage.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPackage.java new file mode 100644 index 0000000000..613115889d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPackage.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class ProtectedToPackage { + + protected void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPackageNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPackageNoReference.java new file mode 100644 index 0000000000..8406ce619c --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPackageNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class ProtectedToPackageNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + protected void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivate.java new file mode 100644 index 0000000000..d3b5aee942 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class ProtectedToPrivate { + + protected void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivateNoExtend.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivateNoExtend.java new file mode 100644 index 0000000000..b95e91e7df --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivateNoExtend.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class ProtectedToPrivateNoExtend { + + protected void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivateNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivateNoOverride.java new file mode 100644 index 0000000000..91949e67ac --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/ProtectedToPrivateNoOverride.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class ProtectedToPrivateNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + protected void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPackage.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPackage.java new file mode 100644 index 0000000000..ff1a8f914b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPackage.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class PublicToPackage { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPrivate.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPrivate.java new file mode 100644 index 0000000000..7a0dba94aa --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPrivate.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class PublicToPrivate { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPrivateNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPrivateNoReference.java new file mode 100644 index 0000000000..66a681eab4 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToPrivateNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class PublicToPrivateNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToProtected.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToProtected.java new file mode 100644 index 0000000000..55eea97b72 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/PublicToProtected.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class PublicToProtected { + + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveNoOverride.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveNoOverride.java new file mode 100644 index 0000000000..8a07f169b0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveNoOverride.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class RemoveNoOverride { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + public void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveNoOverrideToFinal.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveNoOverrideToFinal.java new file mode 100644 index 0000000000..d6c6fe7439 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveNoOverrideToFinal.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class RemoveNoOverrideToFinal { + + /** + * @nooverride This method is not intended to be re-implemented or extended by clients. + */ + public final void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveStatic.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveStatic.java new file mode 100644 index 0000000000..19a5949d67 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveStatic.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class RemoveStatic { + + public static void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveStaticNoReference.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveStaticNoReference.java new file mode 100644 index 0000000000..b9ed937181 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/modifiers/RemoveStaticNoReference.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.modifiers; + +/** + * + */ +public class RemoveStaticNoReference { + + /** + * @noreference This method is not intended to be referenced by clients. + */ + public static void method() {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/AddTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/AddTypeParameter.java new file mode 100644 index 0000000000..058cf09a99 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/AddTypeParameter.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.typeparameters; + +/** + * + */ +public class AddTypeParameter { + + public <T> void method(T t) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/ArrayToVarArgs.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/ArrayToVarArgs.java new file mode 100644 index 0000000000..4bfd8c2e98 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/ArrayToVarArgs.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.typeparameters; + +/** + * + */ +public class ArrayToVarArgs { + + public void method(int x, int[] args) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/RemoveTypeParameter.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/RemoveTypeParameter.java new file mode 100644 index 0000000000..c744162ea0 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/RemoveTypeParameter.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.typeparameters; + +/** + * + */ +public class RemoveTypeParameter { + + public <T, U> void method(T t) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/VarArgsToArray.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/VarArgsToArray.java new file mode 100644 index 0000000000..a6458f030a --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/methods/typeparameters/VarArgsToArray.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.methods.typeparameters; + +/** + * + */ +public class VarArgsToArray { + + public void method(int x, int... args) {} +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddField.java new file mode 100644 index 0000000000..9b1b56e9d5 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddField.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class AddField { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddInheritedMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddInheritedMethod.java new file mode 100644 index 0000000000..484b49a76e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddInheritedMethod.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class AddInheritedMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddMemberType.java new file mode 100644 index 0000000000..0b0def2ffb --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddMemberType.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class AddMemberType { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddMethod.java new file mode 100644 index 0000000000..7f16c84d34 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddMethod.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * @noextend This class is not intended to be subclassed by clients. + */ +public class AddMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddNewInterfaceMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddNewInterfaceMethod.java new file mode 100644 index 0000000000..1802fd1b56 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddNewInterfaceMethod.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class AddNewInterfaceMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddNonVisibleMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddNonVisibleMethod.java new file mode 100644 index 0000000000..08cac41422 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddNonVisibleMethod.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public final class AddNonVisibleMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddPrivateField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddPrivateField.java new file mode 100644 index 0000000000..48aa11eb2e --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/AddPrivateField.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class AddPrivateField { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidField.java new file mode 100644 index 0000000000..11be42e0f5 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidField.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class InvalidField { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidMemberType.java new file mode 100644 index 0000000000..ccc01c98b9 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidMemberType.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; +/** + * + */ +public class InvalidMemberType { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidMethod.java new file mode 100644 index 0000000000..4a282c131b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/InvalidMethod.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; +/** + * + */ +public class InvalidMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedField.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedField.java new file mode 100644 index 0000000000..6cbaacd29d --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedField.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class MalformedField { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedMemberType.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedMemberType.java new file mode 100644 index 0000000000..337e60ae79 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedMemberType.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class MalformedMemberType { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedMethod.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedMethod.java new file mode 100644 index 0000000000..1dadbb8155 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedMethod.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class MalformedMethod { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedTag.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedTag.java new file mode 100644 index 0000000000..e07fb0d807 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/MalformedTag.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class MalformedTag { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/ValidSinceTags.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/ValidSinceTags.java new file mode 100644 index 0000000000..f658bcf4ef --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/since/ValidSinceTags.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.since; + +/** + * + */ +public class ValidSinceTags { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/AddApi.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/AddApi.java new file mode 100644 index 0000000000..3fec112c02 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/AddApi.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.version; + +/** + * + */ +public class AddApi { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/BreakApi.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/BreakApi.java new file mode 100644 index 0000000000..2dd0d61b5b --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/BreakApi.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.version; + +/** + * + */ +public class BreakApi { + + public void method() {} + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/StableApi.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/StableApi.java new file mode 100644 index 0000000000..46a7818968 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/StableApi.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.version; + +/** + * + */ +public class StableApi { + +} diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/internal/RemoveInternalClass.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/internal/RemoveInternalClass.java new file mode 100644 index 0000000000..44c424c176 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/baseline/bundle.a/src/a/version/internal/RemoveInternalClass.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2008 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 a.version.internal; + +/** + * + */ +public class RemoveInternalClass { + +} |