Type information is now available.
[utils] / support / general / src / main / java / org / wamblee / reflection / PropertyAccessor.java
index 681665d172dc2a1e6e8ec834cf867f3f023e743b..4bf968cfadb7ccb05925fea1dc0f7aa7d94612e0 100644 (file)
@@ -77,4 +77,9 @@ public class PropertyAccessor<T> implements Accessor<T> {
     public String toString() {
         return "propertyInjection(" + getter + ", " + setter + ")"; 
     }
+    
+    @Override
+    public Class<T> getType() {
+        return (Class<T>)getter.getReturnType();
+    }
 }
\ No newline at end of file