import java.util.List;
import java.util.Map;
+/**
+ * Some utilities for reflection.
+ *
+ * @author Erik Brakkee
+ */
public class ReflectionUtils {
/**
* Wraps a type by the corresponding wrapper type if it is a primitive type.
Class... aExcludedClasses) {
if (aClass.isInterface()) {
throw new IllegalArgumentException(aClass.getName() +
- " is not an interface.");
+ " is an interface.");
}
List<Field> found = new ArrayList<Field>();
getAllFields(aClass, found, Arrays.asList(aExcludedClasses));