public abstract class ClassUtils extends Object
ReflectionUtils
Constructor and Description |
---|
ClassUtils() |
Modifier and Type | Method and Description |
---|---|
static Class[] |
getAllInterfacesForClass(Class clazz)
Return all interfaces that the given class implements as array,
including ones implemented by superclasses.
|
public ClassUtils()
public static Class[] getAllInterfacesForClass(Class clazz)
If the class itself is an interface, it gets returned as sole interface.
clazz
- the class to analyse for interfacesCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.