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