List of usage examples for org.apache.commons.lang ClassUtils getAllInterfaces
public static List<Class<?>> getAllInterfaces(Class<?> cls)
Gets a List
of all interfaces implemented by the given class and its superclasses.
The order is determined by looking through each interface in turn as declared in the source file and following its hierarchy up.
From source file:ummisco.gama.serializer.gamaType.converters.GamaMatrixConverter.java
@Override public boolean canConvert(final Class arg0) { final List allInterfaceApa = ClassUtils.getAllInterfaces(arg0); for (final Object i : allInterfaceApa) { if (i.equals(IMatrix.class)) return true; }/*from w ww. j a v a 2s . c om*/ return false; }