avoid warning
Class is a raw type. References to generic type Class<T> should be
parameterized
avoid warning
Class is a raw type. Reference to generic type class<T> should be
parameterized
extract common interface