Compiler log for org.eclipse.pde.ui_3.8.101.v20140902-1534 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 49

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings

/src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java : 5 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java
 (at line 17)
import org.eclipse.equinox.internal.p2.metadata.TranslationSupport;
Discouraged access: The type 'TranslationSupport' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.metadata/target/classes')
2. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java
 (at line 40)
private TranslationSupport fTranslations;
Discouraged access: The type 'TranslationSupport' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.metadata/target/classes')
3. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java
 (at line 53)
fTranslations = TranslationSupport.getInstance();
Discouraged access: The type 'TranslationSupport' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.metadata/target/classes')
4. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java
 (at line 53)
fTranslations = TranslationSupport.getInstance();
Discouraged access: The method 'TranslationSupport.getInstance()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.metadata/target/classes')
5. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java
 (at line 147)
String name = fTranslations.getIUProperty(iu, IInstallableUnit.PROP_NAME);
Discouraged access: The method 'TranslationSupport.getIUProperty(IInstallableUnit, String)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.metadata/target/classes')

/src/org/eclipse/pde/internal/ui/editor/plugin/ExtensionsSection.java : 3 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/ui/editor/plugin/ExtensionsSection.java
 (at line 59)
import org.eclipse.swt.internal.BidiUtil;
Discouraged access: The type 'BidiUtil' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
2. WARNING in /src/org/eclipse/pde/internal/ui/editor/plugin/ExtensionsSection.java
 (at line 1058)
if (BidiUtil.isBidiPlatform())
Discouraged access: The type 'BidiUtil' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
3. WARNING in /src/org/eclipse/pde/internal/ui/editor/plugin/ExtensionsSection.java
 (at line 1058)
if (BidiUtil.isBidiPlatform())
Discouraged access: The method 'BidiUtil.isBidiPlatform()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')

/src/org/eclipse/pde/internal/ui/PDELabelProvider.java : 7 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/ui/PDELabelProvider.java
 (at line 43)
import org.eclipse.swt.internal.BidiUtil;
Discouraged access: The type 'BidiUtil' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
2. WARNING in /src/org/eclipse/pde/internal/ui/PDELabelProvider.java
 (at line 235)
if (isRTL() && BidiUtil.isBidiPlatform())
Discouraged access: The type 'BidiUtil' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
3. WARNING in /src/org/eclipse/pde/internal/ui/PDELabelProvider.java
 (at line 235)
if (isRTL() && BidiUtil.isBidiPlatform())
Discouraged access: The method 'BidiUtil.isBidiPlatform()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
4. WARNING in /src/org/eclipse/pde/internal/ui/PDELabelProvider.java
 (at line 848)
if (BidiUtil.isBidiPlatform())
Discouraged access: The type 'BidiUtil' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
5. WARNING in /src/org/eclipse/pde/internal/ui/PDELabelProvider.java
 (at line 848)
if (BidiUtil.isBidiPlatform())
Discouraged access: The method 'BidiUtil.isBidiPlatform()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
6. WARNING in /src/org/eclipse/pde/internal/ui/PDELabelProvider.java
 (at line 854)
} else if (isRTL() && BidiUtil.isBidiPlatform()) {
Discouraged access: The type 'BidiUtil' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')
7. WARNING in /src/org/eclipse/pde/internal/ui/PDELabelProvider.java
 (at line 854)
} else if (isRTL() && BidiUtil.isBidiPlatform()) {
Discouraged access: The method 'BidiUtil.isBidiPlatform()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/classes')

/src_samples/org/eclipse/pde/internal/ui/samples/ShowSampleAction.java : 5 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src_samples/org/eclipse/pde/internal/ui/samples/ShowSampleAction.java
 (at line 19)
import org.eclipse.equinox.internal.provisional.configurator.Configurator;
Discouraged access: The type 'Configurator' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/target/classes')
2. WARNING in /src_samples/org/eclipse/pde/internal/ui/samples/ShowSampleAction.java
 (at line 244)
ServiceReference<?> reference = context.getServiceReference(Configurator.class.getName());
Discouraged access: The type 'Configurator' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/target/classes')
3. WARNING in /src_samples/org/eclipse/pde/internal/ui/samples/ShowSampleAction.java
 (at line 245)
Configurator configurator = (Configurator) context.getService(reference);
Discouraged access: The type 'Configurator' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/target/classes')
4. WARNING in /src_samples/org/eclipse/pde/internal/ui/samples/ShowSampleAction.java
 (at line 245)
Configurator configurator = (Configurator) context.getService(reference);
Discouraged access: The type 'Configurator' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/target/classes')
5. WARNING in /src_samples/org/eclipse/pde/internal/ui/samples/ShowSampleAction.java
 (at line 247)
configurator.applyConfiguration();
Discouraged access: The method 'Configurator.applyConfiguration()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/target/classes')

/src/org/eclipse/pde/internal/ui/ShowErrorInStackTraceConsoleAction.java : 5 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/ui/ShowErrorInStackTraceConsoleAction.java
 (at line 13)
import org.eclipse.jdt.internal.debug.ui.console.JavaStackTraceConsoleFactory;
Discouraged access: The type 'JavaStackTraceConsoleFactory' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.debug/org.eclipse.jdt.debug.ui/target/classes')
2. WARNING in /src/org/eclipse/pde/internal/ui/ShowErrorInStackTraceConsoleAction.java
 (at line 28)
private JavaStackTraceConsoleFactory fFactory;
Discouraged access: The type 'JavaStackTraceConsoleFactory' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.debug/org.eclipse.jdt.debug.ui/target/classes')
3. WARNING in /src/org/eclipse/pde/internal/ui/ShowErrorInStackTraceConsoleAction.java
 (at line 42)
fFactory = new JavaStackTraceConsoleFactory();
Discouraged access: The constructor 'JavaStackTraceConsoleFactory()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.debug/org.eclipse.jdt.debug.ui/target/classes')
4. WARNING in /src/org/eclipse/pde/internal/ui/ShowErrorInStackTraceConsoleAction.java
 (at line 42)
fFactory = new JavaStackTraceConsoleFactory();
Discouraged access: The type 'JavaStackTraceConsoleFactory' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.debug/org.eclipse.jdt.debug.ui/target/classes')
5. WARNING in /src/org/eclipse/pde/internal/ui/ShowErrorInStackTraceConsoleAction.java
 (at line 44)
fFactory.openConsole(fSelectedStack);
Discouraged access: The method 'JavaStackTraceConsoleFactory.openConsole(String)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.jdt.debug/org.eclipse.jdt.debug.ui/target/classes')

/src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java : 19 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 18)
import org.eclipse.equinox.internal.p2.ui.actions.PropertyDialogAction;
Discouraged access: The type 'PropertyDialogAction' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
2. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 20)
import org.eclipse.equinox.internal.p2.ui.query.IUViewQueryContext;
Discouraged access: The type 'IUViewQueryContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
3. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 74)
private IUViewQueryContext fQueryContext;
Discouraged access: The type 'IUViewQueryContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
4. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 261)
fPropertyAction = new PropertyDialogAction(new SameShellProvider(getShell()), fAvailableIUGroup.getStructuredViewer());
Discouraged access: The constructor 'PropertyDialogAction(IShellProvider, ISelectionProvider)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
5. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 261)
fPropertyAction = new PropertyDialogAction(new SameShellProvider(getShell()), fAvailableIUGroup.getStructuredViewer());
Discouraged access: The type 'PropertyDialogAction' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
6. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 349)
fQueryContext.setInstalledProfileId(P2TargetUtils.getProfileId(fTarget));
Discouraged access: The method 'IUViewQueryContext.setInstalledProfileId(String)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
7. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 350)
fQueryContext.setHideAlreadyInstalled(false);
Discouraged access: The method 'IUViewQueryContext.setHideAlreadyInstalled(boolean)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
8. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 358)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_BY_CATEGORY);
Discouraged access: The method 'IUViewQueryContext.setViewType(int)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
9. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 358)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_BY_CATEGORY);
Discouraged access: The type 'IUViewQueryContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
10. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 358)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_BY_CATEGORY);
Discouraged access: The field 'IUViewQueryContext.AVAILABLE_VIEW_BY_CATEGORY' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
11. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 360)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_FLAT);
Discouraged access: The method 'IUViewQueryContext.setViewType(int)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
12. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 360)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_FLAT);
Discouraged access: The type 'IUViewQueryContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
13. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 360)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_FLAT);
Discouraged access: The field 'IUViewQueryContext.AVAILABLE_VIEW_FLAT' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
14. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 362)
fQueryContext.setShowLatestVersionsOnly(fShowOldVersionsButton.getSelection());
Discouraged access: The method 'IUViewQueryContext.setShowLatestVersionsOnly(boolean)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
15. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 431)
boolean showCategories = fQueryContext.shouldGroupByCategories();
Discouraged access: The method 'IUViewQueryContext.shouldGroupByCategories()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
16. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 432)
boolean showOldVersions = fQueryContext.getShowLatestVersionsOnly();
Discouraged access: The method 'IUViewQueryContext.getShowLatestVersionsOnly()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
17. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 516)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_FLAT);
Discouraged access: The method 'IUViewQueryContext.setViewType(int)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
18. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 516)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_FLAT);
Discouraged access: The type 'IUViewQueryContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')
19. WARNING in /src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java
 (at line 516)
fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_FLAT);
Discouraged access: The field 'IUViewQueryContext.AVAILABLE_VIEW_FLAT' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/target/classes')

/src/org/eclipse/pde/internal/ui/build/BaseBuildAction.java : 5 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/ui/build/BaseBuildAction.java
 (at line 15)
import org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchShortcut;
Discouraged access: The type 'AntLaunchShortcut' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform/ant/org.eclipse.ant.ui/target/classes')
2. WARNING in /src/org/eclipse/pde/internal/ui/build/BaseBuildAction.java
 (at line 158)
List<?> configs = AntLaunchShortcut.findExistingLaunchConfigurations(generatedFile);
Discouraged access: The type 'AntLaunchShortcut' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform/ant/org.eclipse.ant.ui/target/classes')
3. WARNING in /src/org/eclipse/pde/internal/ui/build/BaseBuildAction.java
 (at line 158)
List<?> configs = AntLaunchShortcut.findExistingLaunchConfigurations(generatedFile);
Discouraged access: The method 'AntLaunchShortcut.findExistingLaunchConfigurations(IFile)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform/ant/org.eclipse.ant.ui/target/classes')
4. WARNING in /src/org/eclipse/pde/internal/ui/build/BaseBuildAction.java
 (at line 161)
ILaunchConfiguration config = AntLaunchShortcut.createDefaultLaunchConfiguration(generatedFile);
Discouraged access: The type 'AntLaunchShortcut' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform/ant/org.eclipse.ant.ui/target/classes')
5. WARNING in /src/org/eclipse/pde/internal/ui/build/BaseBuildAction.java
 (at line 161)
ILaunchConfiguration config = AntLaunchShortcut.createDefaultLaunchConfiguration(generatedFile);
Discouraged access: The method 'AntLaunchShortcut.createDefaultLaunchConfiguration(IFile)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform/ant/org.eclipse.ant.ui/target/classes')