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/e4/tm/builder/AbstractBinder.java (at line 84) return (c.isInstance(value) ? (T)value : null); Type safety: Unchecked cast from Object to T |
2. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBinder.java (at line 112) EList<EObject> values = (EList<EObject>)control.eGet(feature); Type safety: Unchecked cast from Object to EList<EObject> |
3. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBinder.java (at line 318) } else { } Dead code |
4. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBinder.java (at line 329) List<Object> values = Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to List<Object> |
5. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBinder.java (at line 331) values = (List<Object>)value; Type safety: Unchecked cast from Object to List<Object> |
6. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBinder.java (at line 343) EList<Object> eList = (EList<Object>)eObject.eGet(feature); Type safety: Unchecked cast from Object to EList<Object> |
1. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBuilder.java (at line 203) return (T)o; Type safety: Unchecked cast from Object to T |
2. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBuilder.java (at line 277) return (T)(c.isInstance(o) ? o : null); Type safety: Unchecked cast from Object to T |
3. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBuilder.java (at line 286) return (T)getUriConverter(); Type safety: Unchecked cast from URIConverter to T |
4. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBuilder.java (at line 290) return (T)value; Type safety: Unchecked cast from Object to T |
5. WARNING in /src/org/eclipse/e4/tm/builder/AbstractBuilder.java (at line 301) return (T)array; Type safety: Unchecked cast from Object to T |
1. WARNING in /src/org/eclipse/e4/tm/builder/BinderFactory.java (at line 67) return (c != null && IBinder.class.isAssignableFrom(c) ? createBinderOfClass((Class<? extends IBinder>)c) : null); Type safety: Unchecked cast from Class<capture#6-of ?> to Class<? extends IBinder> |
2. WARNING in /src/org/eclipse/e4/tm/builder/BinderFactory.java (at line 79) Constructor<IBinder>[] constructors = c.getConstructors(); Type safety: The expression of type Constructor[] needs unchecked conversion to conform to Constructor<IBinder>[] |
1. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 42) return (T)o; Type safety: Unchecked cast from Object to T |
2. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 49) private final static String VIEWER_CONTROL_DATA_KEY = "viewer"; The field ControlBinder.VIEWER_CONTROL_DATA_KEY is never read locally |
3. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 97) AbstractComposite<? extends Control> composite = (AbstractComposite<? extends Control>)eObject; Type safety: Unchecked cast from EObject to AbstractComposite<? extends Control> |
4. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 226) Class c = getToolkitClass(styleItem, true); Class is a raw type. References to generic type Class<T> should be parameterized |
5. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 227) Object value = context.getObject(styleItem, c); Type safety: Unchecked invocation getObject(StyleItem, Class) of the generic method getObject(EObject, Class<T>) of type IBinderContext |
6. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 227) Object value = context.getObject(styleItem, c); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Object> |
7. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 230) value = context.convert(styleItem.getSource(), c); Type safety: Unchecked invocation convert(String, Class) of the generic method convert(String, Class<T>) of type IBinderContext |
8. WARNING in /src/org/eclipse/e4/tm/builder/swt/ControlBinder.java (at line 230) value = context.convert(styleItem.getSource(), c); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Object> |
1. WARNING in /src/org/eclipse/e4/tm/builder/swt/SwtBuilder.java (at line 45) return (T)((Widget)value).getDisplay(); Type safety: Unchecked cast from Display to T |
2. WARNING in /src/org/eclipse/e4/tm/builder/swt/SwtBuilder.java (at line 51) return (T)display; Type safety: Unchecked cast from Display to T |
1. WARNING in /src/org/eclipse/e4/tm/builder/swt/TabBinder.java (at line 34) public Object adapt(Object value, Class c) { Type safety: The return type Object for adapt(Object, Class) from the type TabBinder needs unchecked conversion to conform to T from the type ControlBinder |
2. WARNING in /src/org/eclipse/e4/tm/builder/swt/TabBinder.java (at line 34) public Object adapt(Object value, Class c) { Class is a raw type. References to generic type Class<T> should be parameterized |
3. WARNING in /src/org/eclipse/e4/tm/builder/swt/TabBinder.java (at line 40) } else if (value instanceof Composite && c.isAssignableFrom(TabItem.class)) { Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class<T> should be parameterized |
4. WARNING in /src/org/eclipse/e4/tm/builder/swt/TabBinder.java (at line 43) return super.adapt(value, c); Type safety: Unchecked invocation adapt(Object, Class) of the generic method adapt(Object, Class<T>) of type ControlBinder |
5. WARNING in /src/org/eclipse/e4/tm/builder/swt/TabBinder.java (at line 43) return super.adapt(value, c); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Object> |
1. WARNING in /src/org/eclipse/e4/tm/builder/swt/TableViewerBinder.java (at line 67) int columnCount = ((TableViewer)control).getViewProviders().size(), columnNum = 0; The local variable columnCount is never read |
1. WARNING in /src/org/eclipse/e4/tm/stringconverter/AbstractStringConverter.java (at line 65) return (T)convert(source, context); Type safety: Unchecked cast from Object to T |
1. WARNING in /src/org/eclipse/e4/tm/stringconverter/StringConversion.java (at line 141) return (T)result; Type safety: Unchecked cast from Object to T |
1. WARNING in /src/org/eclipse/e4/tm/stringconverters/ArrayStringConverter.java (at line 52) T array = (T)Array.newInstance(elementClass, tokens); Type safety: Unchecked cast from Object to T |
1. WARNING in /src/org/eclipse/e4/tm/stringconverters/ClassStringConverter.java (at line 73) return (Class<T>)wc; Type safety: Unchecked cast from Class<capture#25-of ?> to Class<T> |
1. WARNING in /src/org/eclipse/e4/tm/stringconverters/NewInstanceStringConverter.java (at line 24) private static Class[] argClasses = {String.class}; Class is a raw type. References to generic type Class<T> should be parameterized |
2. WARNING in /src/org/eclipse/e4/tm/stringconverters/NewInstanceStringConverter.java (at line 28) Constructor<T> cons = (Constructor<T>)NewInstanceStringConverter.constructors.get(klass); Type safety: Unchecked cast from Constructor<capture#1-of ?> to Constructor<T> |
3. WARNING in /src/org/eclipse/e4/tm/stringconverters/NewInstanceStringConverter.java (at line 40) Constructor<T>[] conses = klass.getConstructors(); Type safety: The expression of type Constructor[] needs unchecked conversion to conform to Constructor<T>[] |
1. WARNING in /src/org/eclipse/e4/tm/stringconverters/SimpleObjectStringConverter.java (at line 48) result = (klass.isInstance(o) ? (T)o : null); Type safety: Unchecked cast from Object to T |
1. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 22) private Class fieldsClass; Class is a raw type. References to generic type Class<T> should be parameterized |
2. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 23) private Class valueClass; Class is a raw type. References to generic type Class<T> should be parameterized |
3. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 25) protected StaticFieldsStringConverter(Class fieldsClass, Class valueClass, String prefix) { Class is a raw type. References to generic type Class<T> should be parameterized |
4. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 25) protected StaticFieldsStringConverter(Class fieldsClass, Class valueClass, String prefix) { Class is a raw type. References to generic type Class<T> should be parameterized |
5. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 35) protected void fillValueMap(Map map) { Map is a raw type. References to generic type Map<K,V> should be parameterized |
6. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 44) map.put(name, o); Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
7. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 46) map.put(name.substring(prefix.length()), o); Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
8. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 60) return StaticFieldsStringConverter.convert(fieldsClass, valueClass, prefix, source, null); Type safety: Unchecked invocation convert(Class, Class, String, String, null) of the generic method convert(Class, Class<T>, String, String, T) of type StaticFieldsStringConverter |
9. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 60) return StaticFieldsStringConverter.convert(fieldsClass, valueClass, prefix, source, null); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Object> |
10. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 63) public static <T> T convert(Class fieldsClass, Class<T> valueClass, String prefix, String source, T def) { Class is a raw type. References to generic type Class<T> should be parameterized |
11. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticFieldsStringConverter.java (at line 78) result = (T)field.get(null); Type safety: Unchecked cast from Object to T |
1. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticMethodStringConverter.java (at line 19) private Class methodClass, parameterTypes[]; Class is a raw type. References to generic type Class<T> should be parameterized |
2. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticMethodStringConverter.java (at line 19) private Class methodClass, parameterTypes[]; Class is a raw type. References to generic type Class<T> should be parameterized |
3. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticMethodStringConverter.java (at line 27) public StaticMethodStringConverter(Class methodClass, String methodName, Class[] parameterTypes, Object[] args) { Class is a raw type. References to generic type Class<T> should be parameterized |
4. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticMethodStringConverter.java (at line 27) public StaticMethodStringConverter(Class methodClass, String methodName, Class[] parameterTypes, Object[] args) { Class is a raw type. References to generic type Class<T> should be parameterized |
5. WARNING in /src/org/eclipse/e4/tm/stringconverters/StaticMethodStringConverter.java (at line 35) public StaticMethodStringConverter(Class methodClass, String methodName) { Class is a raw type. References to generic type Class<T> should be parameterized |
1. WARNING in /src/org/eclipse/e4/tm/stringconverters/ValueOfStringConverter.java (at line 68) return (Constructor<T>)o; Type safety: Unchecked cast from Object to Constructor<T> |
2. WARNING in /src/org/eclipse/e4/tm/stringconverters/ValueOfStringConverter.java (at line 97) return (T)m.invoke(null, ValueOfStringConverter.args); Type safety: Unchecked cast from Object to T |
top | errors | others warnings | discouraged warnings |
top | errors | others warnings | forbidden warnings |