(no commit message)
[utils] / support / general / src / main / java / org / wamblee / reflection / ReflectionUtils.java
index 0f33c1c261dac9fb7992570f4ae9a78aff669d58..7c5c45f94fd7f1e2d44a58fafbf38b7cd3f444f2 100644 (file)
@@ -23,6 +23,11 @@ import java.util.HashMap;
 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.
@@ -114,7 +119,7 @@ public class ReflectionUtils {
         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));