errors | others warnings | forbidden warnings | discouraged warnings |
top | others warnings | forbidden warnings | discouraged warnings |
top | errors | forbidden warnings | discouraged warnings |
1. WARNING in /src/org/eclipse/core/runtime/Platform.java (at line 759) Method getPluginRegistry = oldInternalPlatform.getMethod("getPluginRegistry", 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 |
2. WARNING in /src/org/eclipse/core/runtime/Platform.java (at line 760) return (IPluginRegistry) getPluginRegistry.invoke(oldInternalPlatform, 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 |
1. WARNING in /src/org/eclipse/core/runtime/Plugin.java (at line 631) m.invoke(descriptor, 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 |
1. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 83) Method setPlugin = descriptor.getClass().getMethod("setActive", 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<capture#3-of ? extends IPluginDescriptor>. It could alternatively be cast to Class for a varargs invocation |
2. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 84) setPlugin.invoke(descriptor, 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 /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 97) Method setPlugin = descriptor.getClass().getMethod("hasPluginObject", 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<capture#4-of ? extends IPluginDescriptor>. It could alternatively be cast to Class for a varargs invocation |
4. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 98) result = (Boolean) setPlugin.invoke(descriptor, 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 |
1. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 135) method.invoke(keyring, 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 |
top | errors | others warnings | discouraged warnings |
top | errors | others warnings | forbidden warnings |