Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.A76_R36x, 3.6.2

Number of source files: 53 Number of classfiles: 69

Problems: 61 (Errors: 0 Warnings: 61 )

Source File: org/eclipse/jst/jsf/test/util/JSFTestUtil.java
1. WARNING: DiscouragedReference

Discouraged access: The type IModelManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

42 : import org.eclipse.wst.sse.core.internal.provisional.IModelManager;

2. WARNING: DiscouragedReference

Discouraged access: The type IStructuredModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

43 : import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;

3. WARNING: DiscouragedReference

Discouraged access: The type IndexedRegion is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

44 : import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;

4. WARNING: DiscouragedReference

Discouraged access: The type IStructuredDocument is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

45 : import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;

5. WARNING: DiscouragedReference

Discouraged access: The type ConfigurationManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

47 : import org.eclipse.wst.validation.internal.ConfigurationManager;

6. WARNING: DiscouragedReference

Discouraged access: The type GlobalConfiguration is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

48 : import org.eclipse.wst.validation.internal.GlobalConfiguration;

7. WARNING: DiscouragedReference

Discouraged access: The type IDOMAttr is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

49 : import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;

8. WARNING: DiscouragedReference

Discouraged access: The type IDOMElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

50 : import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;

9. WARNING: DiscouragedReference

Discouraged access: The type GlobalConfiguration is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

86 : final GlobalConfiguration config = new GlobalConfiguration(ConfigurationManager.getManager().getGlobalConfiguration());

10. WARNING: DiscouragedReference

Discouraged access: The constructor GlobalConfiguration(GlobalConfiguration) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

86 : final GlobalConfiguration config = new GlobalConfiguration(ConfigurationManager.getManager().getGlobalConfiguration());

11. WARNING: DiscouragedReference

Discouraged access: The type GlobalConfiguration is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

86 : final GlobalConfiguration config = new GlobalConfiguration(ConfigurationManager.getManager().getGlobalConfiguration());

12. WARNING: DiscouragedReference

Discouraged access: The type ConfigurationManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

86 : final GlobalConfiguration config = new GlobalConfiguration(ConfigurationManager.getManager().getGlobalConfiguration());

13. WARNING: DiscouragedReference

Discouraged access: The method getManager() from the type ConfigurationManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

86 : final GlobalConfiguration config = new GlobalConfiguration(ConfigurationManager.getManager().getGlobalConfiguration());

14. WARNING: DiscouragedReference

Discouraged access: The method getGlobalConfiguration() from the type ConfigurationManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

86 : final GlobalConfiguration config = new GlobalConfiguration(ConfigurationManager.getManager().getGlobalConfiguration());

15. WARNING: DiscouragedReference

Discouraged access: The method setDisableAllValidation(boolean) from the type ValidationConfiguration is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

87 : config.setDisableAllValidation(!isEnabled);

16. WARNING: DiscouragedReference

Discouraged access: The method passivate() from the type ValidationConfiguration is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

88 : config.passivate();

17. WARNING: DiscouragedReference

Discouraged access: The method store() from the type ValidationConfiguration is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.validation/@dot

JSFTestUtil.java :

89 : config.store();

18. WARNING: DiscouragedReference

Discouraged access: The type IndexedRegion is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

286 : public static IndexedRegion getIndexedRegion(final IStructuredDocument document, final int documentOffset)

19. WARNING: DiscouragedReference

Discouraged access: The type IStructuredDocument is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

286 : public static IndexedRegion getIndexedRegion(final IStructuredDocument document, final int documentOffset)

20. WARNING: DiscouragedReference

Discouraged access: The type IStructuredModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

291 : final IStructuredModel model = getStructuredModel(document);

21. WARNING: DiscouragedReference

Discouraged access: The type IndexedRegion is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

292 : IndexedRegion region = null;

22. WARNING: DiscouragedReference

Discouraged access: The method getIndexedRegion(int) from the type IStructuredModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

298 : region = model.getIndexedRegion(documentOffset);

23. WARNING: DiscouragedReference

Discouraged access: The method getIndexedRegion(int) from the type IStructuredModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

302 : region = model.getIndexedRegion(lastOffset);

24. WARNING: DiscouragedReference

Discouraged access: The type IDOMElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

310 : if (region instanceof IDOMElement)

25. WARNING: DiscouragedReference

Discouraged access: The type IDOMElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

313 : final IDOMElement domElement = (IDOMElement) region;

26. WARNING: DiscouragedReference

Discouraged access: The type IDOMElement is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

313 : final IDOMElement domElement = (IDOMElement) region;

27. WARNING: DiscouragedReference

Discouraged access: The type IDOMAttr is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

321 : if (attrNode instanceof IDOMAttr)

28. WARNING: DiscouragedReference

Discouraged access: The type IDOMAttr is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

323 : final IDOMAttr attr = (IDOMAttr) attrNode;

29. WARNING: DiscouragedReference

Discouraged access: The type IDOMAttr is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

JSFTestUtil.java :

323 : final IDOMAttr attr = (IDOMAttr) attrNode;

30. WARNING: DiscouragedReference

Discouraged access: The method getStartOffset() from the type IndexedRegion is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

326 : if (documentOffset >= attr.getStartOffset()

31. WARNING: DiscouragedReference

Discouraged access: The method getEndOffset() from the type IndexedRegion is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

327 : && documentOffset < attr.getEndOffset())

32. WARNING: DiscouragedReference

Discouraged access: The method releaseFromRead() from the type IStructuredModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

340 : model.releaseFromRead();

33. WARNING: DiscouragedReference

Discouraged access: The type IStructuredModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

362 : private static IStructuredModel getStructuredModel(final IStructuredDocument document)

34. WARNING: DiscouragedReference

Discouraged access: The type IStructuredDocument is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

362 : private static IStructuredModel getStructuredModel(final IStructuredDocument document)

35. WARNING: DiscouragedReference

Discouraged access: The type IModelManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

364 : final IModelManager modelManager = StructuredModelManager.getModelManager();

36. WARNING: DiscouragedReference

Discouraged access: The method getModelForRead(IStructuredDocument) from the type IModelManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

JSFTestUtil.java :

368 : return StructuredModelManager.getModelManager().getModelForRead(document);

Source File: org/eclipse/jst/jsf/test/util/WebProjectTestEnvironment.java
1. WARNING: DiscouragedReference

Discouraged access: The type WebFacetProjectCreationDataModelProvider is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.web/@dot

WebProjectTestEnvironment.java :

31 : import org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider;

2. WARNING: DiscouragedReference

Discouraged access: The type FacetedProjectNature is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.common.project.facet.core/@dot

WebProjectTestEnvironment.java :

42 : import org.eclipse.wst.common.project.facet.core.internal.FacetedProjectNature;

3. WARNING: DiscouragedReference

Discouraged access: The type FacetedProjectNature is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.common.project.facet.core/@dot

WebProjectTestEnvironment.java :

205 : ProjectUtilities.addNatureToProject(project, FacetedProjectNature.NATURE_ID);

4. WARNING: DiscouragedReference

Discouraged access: The field NATURE_ID from the type FacetedProjectNature is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.common.project.facet.core/@dot

WebProjectTestEnvironment.java :

205 : ProjectUtilities.addNatureToProject(project, FacetedProjectNature.NATURE_ID);

5. WARNING: DiscouragedReference

Discouraged access: The constructor WebFacetProjectCreationDataModelProvider() is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.web/@dot

WebProjectTestEnvironment.java :

216 : dataModel = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());

6. WARNING: DiscouragedReference

Discouraged access: The type WebFacetProjectCreationDataModelProvider is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.web/@dot

WebProjectTestEnvironment.java :

216 : dataModel = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());

Source File: org/eclipse/jst/jsf/test/util/mock/MockExtensionRegistryProvider.java
1. WARNING: DiscouragedReference

Discouraged access: The type ExtensionRegistry is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar

MockExtensionRegistryProvider.java :

5 : import org.eclipse.core.internal.registry.ExtensionRegistry;

2. WARNING: DiscouragedReference

Discouraged access: The constructor ExtensionRegistry(RegistryStrategy, Object, Object) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar

MockExtensionRegistryProvider.java :

15 : return new ExtensionRegistry(new RegistryStrategy(new File[0], new boolean[0]), new Object(), new Object());

3. WARNING: DiscouragedReference

Discouraged access: The type ExtensionRegistry is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar

MockExtensionRegistryProvider.java :

15 : return new ExtensionRegistry(new RegistryStrategy(new File[0], new boolean[0]), new Object(), new Object());

Source File: org/eclipse/jst/jsf/test/util/mock/MockResourceDelta.java
1. WARNING: DiscouragedReference

Discouraged access: The type AdapterManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar

MockResourceDelta.java :

7 : import org.eclipse.core.internal.runtime.AdapterManager;

2. WARNING: DiscouragedReference

Discouraged access: The type AdapterManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar

MockResourceDelta.java :

290 : return AdapterManager.getDefault().getAdapter(this, adapter);

3. WARNING: DiscouragedReference

Discouraged access: The method getDefault() from the type AdapterManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar

MockResourceDelta.java :

290 : return AdapterManager.getDefault().getAdapter(this, adapter);

4. WARNING: DiscouragedReference

Discouraged access: The method getAdapter(Object, Class) from the type AdapterManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar

MockResourceDelta.java :

290 : return AdapterManager.getDefault().getAdapter(this, adapter);

Source File: org/eclipse/jst/jsf/test/util/mock/MockVirtualComponentQuery.java
1. WARNING: DiscouragedReference

Discouraged access: The type AbstractVirtualComponentQuery is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockVirtualComponentQuery.java :

5 : import org.eclipse.jst.jsf.common.internal.componentcore.AbstractVirtualComponentQuery;

2. WARNING: DiscouragedReference

Discouraged access: The type AbstractVirtualComponentQuery is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockVirtualComponentQuery.java :

9 : AbstractVirtualComponentQuery

Source File: org/eclipse/jst/jsf/test/util/mock/MockWorkspaceMediator.java
1. WARNING: DiscouragedReference

Discouraged access: The type WorkspaceMediator is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockWorkspaceMediator.java :

6 : import org.eclipse.jst.jsf.common.internal.resource.WorkspaceMediator;

2. WARNING: DiscouragedReference

Discouraged access: The type WorkspaceMediator is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockWorkspaceMediator.java :

8 : public class MockWorkspaceMediator extends WorkspaceMediator

Source File: org/eclipse/jst/jsf/test/util/mock/java/MockJavaChangeEventFactory.java
1. WARNING: DiscouragedReference

Discouraged access: The method changed(int) from the type SimpleDelta is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar

MockJavaChangeEventFactory.java :

44 : delta.changed(flags);

Source File: org/eclipse/jst/jsf/test/util/mock/java/MockJavaCoreMediator.java
1. WARNING: DiscouragedReference

Discouraged access: The type ClasspathEntryLifecycleListener is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockJavaCoreMediator.java :

6 : import org.eclipse.jst.jsf.common.internal.resource.ClasspathEntryLifecycleListener;

2. WARNING: DiscouragedReference

Discouraged access: The type JavaCoreMediator is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockJavaCoreMediator.java :

7 : import org.eclipse.jst.jsf.common.internal.resource.JavaCoreMediator;

3. WARNING: DiscouragedReference

Discouraged access: The type JavaCoreMediator is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockJavaCoreMediator.java :

10 : public class MockJavaCoreMediator extends JavaCoreMediator

4. WARNING: DiscouragedReference

Discouraged access: The type ClasspathEntryLifecycleListener is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.jsf.common/@dot

MockJavaCoreMediator.java :

33 : ClasspathEntryLifecycleListener listener)

Source File: org/eclipse/jst/jsf/test/util/mock/java/MockJavaElementDelta.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaElementDelta is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar

MockJavaElementDelta.java :

4 : import org.eclipse.jdt.internal.core.JavaElementDelta;

2. WARNING: DiscouragedReference

Discouraged access: The type JavaElementDelta is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar

MockJavaElementDelta.java :

6 : public class MockJavaElementDelta extends JavaElementDelta

3. WARNING: DiscouragedReference

Discouraged access: The constructor JavaElementDelta(IJavaElement) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar

MockJavaElementDelta.java :

10 : super(element);