Example:
static Object toObject(String s) {
return (Object) s;
}
Use the checkbox below to ignore clarifying casts e.g., casts in collection calls where Object
is expected:
static void removeFromList(List<String> l, Object o) {
l.remove((String)o);
}