Compiler log for org.eclipse.ui.workbench_3.105.2.v20140211-1711 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 42

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/Eclipse UI/org/eclipse/ui/internal/ProductProperties.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/ProductProperties.java
 (at line 247)
return MessageFormat.format(property, mappings);
The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/ProductProperties.java
 (at line 284)
return MessageFormat.format(property, tempMappings);
The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

/Eclipse UI/org/eclipse/ui/internal/handlers/SelectAllHandler.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/SelectAllHandler.java
 (at line 79)
methodToExecute.invoke(focusComponent, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/SelectAllHandler.java
 (at line 134)
methodToExecute.invoke(focusControl, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation
3. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/SelectAllHandler.java
 (at line 141)
final Integer textLimit = (Integer) textLimitAccessor .invoke(focusControl, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

/Eclipse UI/org/eclipse/ui/internal/keys/BindingPersistence.java : 1 warning :

OTHER WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/keys/BindingPersistence.java
 (at line 569)
} else if (viewParameter != null) { HashMap parms = new HashMap(); parms.put(ShowViewMenu.VIEW_ID_PARM, viewParameter); parameterizedCommand = ParameterizedCommand.generateCommand(command, parms); } else {
Dead code

/Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 99)
methodToExecute.invoke(focusComponent, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 142)
methodToExecute.invoke(focusControl, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation
3. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 212)
final Method keyboardFocusManagerGetCurrentKeyboardFocusManagerMethod = keyboardFocusManagerClass .getMethod("getCurrentKeyboardFocusManager", null); //$NON-NLS-1$
The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation
4. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 214)
final Object keyboardFocusManager = keyboardFocusManagerGetCurrentKeyboardFocusManagerMethod .invoke(keyboardFocusManagerClass, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation
5. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 216)
final Method keyboardFocusManagerGetFocusOwner = keyboardFocusManagerClass .getMethod("getFocusOwner", null); //$NON-NLS-1$
The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation
6. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 218)
final Object focusComponent = keyboardFocusManagerGetFocusOwner .invoke(keyboardFocusManager, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation
7. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 225)
final Method focusManagerGetCurrentManagerMethod = focusManagerClass .getMethod("getCurrentManager", null); //$NON-NLS-1$
The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation
8. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 227)
final Object focusManager = focusManagerGetCurrentManagerMethod .invoke(focusManagerClass, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation
9. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 229)
final Method focusManagerGetFocusOwner = focusManagerClass .getMethod("getFocusOwner", null); //$NON-NLS-1$
The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation
10. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/WidgetMethodHandler.java
 (at line 231)
final Object focusComponent = focusManagerGetFocusOwner .invoke(focusManager, null);
The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

/Eclipse UI/org/eclipse/ui/part/WorkbenchPart.java : 1 warning :

OTHER WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/part/WorkbenchPart.java
 (at line 399)
newTitle = MessageFormat .format( WorkbenchMessages.WorkbenchPart_AutoTitleFormat, new String[] { name, description });
The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

/Eclipse UI/org/eclipse/ui/dialogs/PreferenceLinkArea.java : 1 warning :

OTHER WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/dialogs/PreferenceLinkArea.java
 (at line 68)
result = MessageFormat.format(message, new String[] { node .getLabelText() });
The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings

/Eclipse UI/org/eclipse/ui/internal/Workbench.java : 2 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/Workbench.java
 (at line 71)
import org.eclipse.e4.core.di.InjectionException;
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/Workbench.java
 (at line 2470)
} catch (InjectionException e) {
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes

/Eclipse UI/org/eclipse/ui/internal/CommandToModelProcessor.java : 3 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/CommandToModelProcessor.java
 (at line 25)
import org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon;
Discouraged access: The type CommandProcessingAddon is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.workbench/target/classes
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/CommandToModelProcessor.java
 (at line 93)
MCommand command = CommandProcessingAddon.createCommand(cmd, modelService,
Discouraged access: The type CommandProcessingAddon is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.workbench/target/classes
3. WARNING in /Eclipse UI/org/eclipse/ui/internal/CommandToModelProcessor.java
 (at line 93)
MCommand command = CommandProcessingAddon.createCommand(cmd, modelService, categoryModel);
Discouraged access: The method createCommand(Command, EModelService, MCategory) from the type CommandProcessingAddon is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.workbench/target/classes

/Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java : 13 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 37)
import org.eclipse.e4.ui.model.internal.ModelUtils;
Discouraged access: The type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 388)
tb.getTransientData().put(ModelUtils.CONTAINING_PARENT, model);
Discouraged access: The type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
3. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 388)
tb.getTransientData().put(ModelUtils.CONTAINING_PARENT, model);
Discouraged access: The field CONTAINING_PARENT from the type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
4. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 402)
menu.getTransientData().put(ModelUtils.CONTAINING_PARENT, model);
Discouraged access: The type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
5. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 402)
menu.getTransientData().put(ModelUtils.CONTAINING_PARENT, model);
Discouraged access: The field CONTAINING_PARENT from the type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
6. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 494)
ModelUtils.CONTAINING_PARENT);
Discouraged access: The type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
7. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 494)
ModelUtils.CONTAINING_PARENT);
Discouraged access: The field CONTAINING_PARENT from the type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
8. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 510)
mToolBar.getTransientData().remove(ModelUtils.CONTAINING_PARENT);
Discouraged access: The type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
9. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 510)
mToolBar.getTransientData().remove(ModelUtils.CONTAINING_PARENT);
Discouraged access: The field CONTAINING_PARENT from the type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
10. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 529)
ModelUtils.CONTAINING_PARENT);
Discouraged access: The type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
11. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 529)
ModelUtils.CONTAINING_PARENT);
Discouraged access: The field CONTAINING_PARENT from the type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
12. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 545)
mMenu.getTransientData().remove(ModelUtils.CONTAINING_PARENT);
Discouraged access: The type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes
13. WARNING in /Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
 (at line 545)
mMenu.getTransientData().remove(ModelUtils.CONTAINING_PARENT);
Discouraged access: The field CONTAINING_PARENT from the type ModelUtils is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.model.workbench/target/classes

/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java : 2 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
 (at line 46)
import org.eclipse.e4.core.di.InjectionException;
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
 (at line 1711)
} catch (InjectionException e) {
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes

/Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java : 4 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java
 (at line 47)
import org.eclipse.e4.core.di.InjectionException;
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes
2. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java
 (at line 434)
} catch (InjectionException e) {
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes
3. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java
 (at line 494)
} catch (InjectionException e) {
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes
4. WARNING in /Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java
 (at line 560)
private void rethrow(InjectionException e) throws ExecutionException, NotDefinedException,
Discouraged access: The type InjectionException is not accessible due to restriction on classpath entry /opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di/target/classes