java.lang.Object
com.pi4j.util.ReflectionUtil
ReflectionUtil class.
- Version:
- $Id: $Id
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Class>getAllClasses(Class targetClass) getAllClasses.static Collection<Class>getAllClasses(Object target) getAllClasses.static Collection<Class>getAllInterfaces(Class targetClass) getAllInterfaces.static Collection<Class>getAllInterfaces(Object target) getAllInterfaces.static Collection<Class>getAllInterfacesSorted(Object target) getAllInterfacesSorted.
-
Constructor Details
-
ReflectionUtil
public ReflectionUtil()
-
-
Method Details
-
getAllInterfacesSorted
getAllInterfacesSorted. Interfaces are sorted by full qualified class name.
- Parameters:
target- aObjectobject.- Returns:
- a sorted
Collectionobject.
-
getAllInterfaces
getAllInterfaces.
- Parameters:
target- aObjectobject.- Returns:
- a
Collectionobject.
-
getAllInterfaces
getAllInterfaces.
- Parameters:
targetClass- aClassobject.- Returns:
- a
Collectionobject.
-
getAllClasses
getAllClasses.
- Parameters:
target- aObjectobject.- Returns:
- a
Collectionobject.
-
getAllClasses
getAllClasses.
- Parameters:
targetClass- aClassobject.- Returns:
- a
Collectionobject.
-