Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.A53, 3.6.0

Number of source files: 11 Number of classfiles: 34

Problems: 55 (Errors: 0 Warnings: 55 )

Source File: org/eclipse/jst/common/ui/internal/assembly/wizard/AddManifestEntryTaskWizard.java
1. WARNING: DiscouragedReference

Discouraged access: The type PropertyDialog is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar

AddManifestEntryTaskWizard.java :

41 : import org.eclipse.ui.internal.dialogs.PropertyDialog;

2. WARNING: DiscouragedReference

Discouraged access: The type PropertyDialog is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar

AddManifestEntryTaskWizard.java :

144 : PreferenceDialog dialog = PropertyDialog.createDialogOn(ManifestRootFragment.this.getPage().getControl().getShell(),

3. WARNING: DiscouragedReference

Discouraged access: The method createDialogOn(Shell, String, Object) from the type PropertyDialog is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar

AddManifestEntryTaskWizard.java :

144 : PreferenceDialog dialog = PropertyDialog.createDialogOn(ManifestRootFragment.this.getPage().getControl().getShell(), "org.eclipse.wst.common.componentcore.ui.DeploymentAssemblyPage", parentProject); //$NON-NLS-1$

Source File: org/eclipse/jst/common/ui/internal/assembly/wizard/ClasspathContainerWizardFragment.java
1. WARNING: DiscouragedReference

Discouraged access: The type ClasspathContainerWizard is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

ClasspathContainerWizardFragment.java :

22 : import org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard;

2. WARNING: DiscouragedReference

Discouraged access: The type ClasspathContainerWizard is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

ClasspathContainerWizardFragment.java :

44 : ClasspathContainerWizard wizard = new ClasspathContainerWizard((IClasspathEntry)null, jp, entries);

3. WARNING: DiscouragedReference

Discouraged access: The constructor ClasspathContainerWizard(IClasspathEntry, IJavaProject, IClasspathEntry[]) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

ClasspathContainerWizardFragment.java :

44 : ClasspathContainerWizard wizard = new ClasspathContainerWizard((IClasspathEntry)null, jp, entries);

4. WARNING: DiscouragedReference

Discouraged access: The type ClasspathContainerWizard is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

ClasspathContainerWizardFragment.java :

44 : ClasspathContainerWizard wizard = new ClasspathContainerWizard((IClasspathEntry)null, jp, entries);

5. WARNING: DiscouragedReference

Discouraged access: The type ClasspathContainerWizard is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

ClasspathContainerWizardFragment.java :

45 : int result = ClasspathContainerWizard.openWizard(new Shell(), wizard);

6. WARNING: DiscouragedReference

Discouraged access: The method openWizard(Shell, ClasspathContainerWizard) from the type ClasspathContainerWizard is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

ClasspathContainerWizardFragment.java :

45 : int result = ClasspathContainerWizard.openWizard(new Shell(), wizard);

7. WARNING: DiscouragedReference

Discouraged access: The method getNewEntries() from the type ClasspathContainerWizard is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

ClasspathContainerWizardFragment.java :

48 : IClasspathEntry[] results = wizard.getNewEntries();

Source File: org/eclipse/jst/common/ui/internal/assembly/wizard/ExternalJarReferenceWizardFragment.java
1. WARNING: LocalVariableIsNeverUsed

The local variable paths is never read

ExternalJarReferenceWizardFragment.java :

66 : ArrayList<String> paths = new ArrayList<String>();

Source File: org/eclipse/jst/common/ui/internal/assembly/wizard/JarReferenceWizardFragment.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaPlugin is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

33 : import org.eclipse.jdt.internal.ui.JavaPlugin;

2. WARNING: DiscouragedReference

Discouraged access: The type FilteredElementTreeSelectionDialog is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

34 : import org.eclipse.jdt.internal.ui.viewsupport.FilteredElementTreeSelectionDialog;

3. WARNING: DiscouragedReference

Discouraged access: The type TypedElementSelectionValidator is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

35 : import org.eclipse.jdt.internal.ui.wizards.TypedElementSelectionValidator;

4. WARNING: DiscouragedReference

Discouraged access: The type TypedElementSelectionValidator is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

210 : TypedElementSelectionValidator validator= new TypedElementSelectionValidator(acceptedClasses, true);

5. WARNING: DiscouragedReference

Discouraged access: The constructor TypedElementSelectionValidator(Class[], boolean) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

210 : TypedElementSelectionValidator validator= new TypedElementSelectionValidator(acceptedClasses, true);

6. WARNING: DiscouragedReference

Discouraged access: The type TypedElementSelectionValidator is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

210 : TypedElementSelectionValidator validator= new TypedElementSelectionValidator(acceptedClasses, true);

7. WARNING: DiscouragedReference

Discouraged access: The type FilteredElementTreeSelectionDialog is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

213 : FilteredElementTreeSelectionDialog dialog = new FilteredElementTreeSelectionDialog(shell, new WorkbenchLabelProvider(), new WorkbenchContentProvider());

8. WARNING: DiscouragedReference

Discouraged access: The constructor FilteredElementTreeSelectionDialog(Shell, ILabelProvider, ITreeContentProvider) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

213 : FilteredElementTreeSelectionDialog dialog = new FilteredElementTreeSelectionDialog(shell, new WorkbenchLabelProvider(), new WorkbenchContentProvider());

9. WARNING: DiscouragedReference

Discouraged access: The type FilteredElementTreeSelectionDialog is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

213 : FilteredElementTreeSelectionDialog dialog = new FilteredElementTreeSelectionDialog(shell, new WorkbenchLabelProvider(), new WorkbenchContentProvider());

10. WARNING: DiscouragedReference

Discouraged access: The method setInitialFilter(String) from the type FilteredElementTreeSelectionDialog is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

221 : dialog.setInitialFilter("*.jar,*.war,*.rar,*.zip"); //$NON-NLS-1$

11. WARNING: DiscouragedReference

Discouraged access: The type JavaPlugin is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

338 : JavaPlugin.log(e.getStatus());

12. WARNING: DiscouragedReference

Discouraged access: The method log(IStatus) from the type JavaPlugin is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

JarReferenceWizardFragment.java :

338 : JavaPlugin.log(e.getStatus());

Source File: org/eclipse/jst/common/ui/internal/assembly/wizard/VariableReferenceWizardFragment.java
1. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

28 : import org.eclipse.jdt.internal.ui.wizards.buildpaths.CPVariableElement;

2. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElementLabelProvider is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

29 : import org.eclipse.jdt.internal.ui.wizards.buildpaths.CPVariableElementLabelProvider;

3. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

113 : if( o instanceof CPVariableElement) {

4. WARNING: DiscouragedReference

Discouraged access: The method getPath() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

114 : p = ((CPVariableElement)o).getPath();

5. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

114 : p = ((CPVariableElement)o).getPath();

6. WARNING: DiscouragedReference

Discouraged access: The method getPath() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

116 : p = ((ExtendedVariable)o).element.getPath().append(((ExtendedVariable)o).pathAfterElement);

7. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElementLabelProvider is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

133 : private CPVariableElementLabelProvider delegate = new CPVariableElementLabelProvider(false);

8. WARNING: DiscouragedReference

Discouraged access: The constructor CPVariableElementLabelProvider(boolean) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

133 : private CPVariableElementLabelProvider delegate = new CPVariableElementLabelProvider(false);

9. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElementLabelProvider is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

133 : private CPVariableElementLabelProvider delegate = new CPVariableElementLabelProvider(false);

10. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

135 : if( element instanceof CPVariableElement)

11. WARNING: DiscouragedReference

Discouraged access: The method getImage(Object) from the type CPVariableElementLabelProvider is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

136 : return delegate.getImage(element);

12. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

145 : if( element instanceof CPVariableElement)

13. WARNING: DiscouragedReference

Discouraged access: The method getText(Object) from the type CPVariableElementLabelProvider is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

146 : return delegate.getText(element);

14. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

154 : public CPVariableElement element;

15. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

156 : public ExtendedVariable(CPVariableElement e, IPath p) {

16. WARNING: DiscouragedReference

Discouraged access: The method getPath() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

161 : return element.getPath().append(pathAfterElement).toFile().isDirectory();

17. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

165 : private CPVariableElement[] elements;

18. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

166 : private CPVariableElement[] initializeElements() {

19. WARNING: DiscouragedReference

Discouraged access: The constructor CPVariableElement(String, IPath) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

173 : elements.add(new CPVariableElement(name, entryPath));

20. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

173 : elements.add(new CPVariableElement(name, entryPath));

21. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

176 : return (CPVariableElement[]) elements.toArray(new CPVariableElement[elements.size()]);

22. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

176 : return (CPVariableElement[]) elements.toArray(new CPVariableElement[elements.size()]);

23. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

199 : if( parentElement instanceof CPVariableElement) {

24. WARNING: DiscouragedReference

Discouraged access: The method getPath() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

200 : if(((CPVariableElement)parentElement).getPath().toFile().isDirectory()) {

25. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

200 : if(((CPVariableElement)parentElement).getPath().toFile().isDirectory()) {

26. WARNING: DiscouragedReference

Discouraged access: The method getPath() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

201 : String[] names = ((CPVariableElement)parentElement).getPath().toFile().list();

27. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

201 : String[] names = ((CPVariableElement)parentElement).getPath().toFile().list();

28. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

204 : extensions[i] = new ExtendedVariable((CPVariableElement)parentElement, new Path(names[i]));

29. WARNING: DiscouragedReference

Discouraged access: The method getPath() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

210 : IPath parentLoc = p1.element.getPath();

30. WARNING: DiscouragedReference

Discouraged access: The method getName() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

258 : return new Path(s1.element.getName()).append(s1.pathAfterElement);

31. WARNING: DiscouragedReference

Discouraged access: The method getName() from the type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

260 : return new Path(((CPVariableElement)selected).getName());

32. WARNING: DiscouragedReference

Discouraged access: The type CPVariableElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar

VariableReferenceWizardFragment.java :

260 : return new Path(((CPVariableElement)selected).getName());