(no commit message)
[utils] / support / general / src / main / java / org / wamblee / reflection / FieldAccessor.java
index bbc0a437791b129582760dc2e604b8e184f38ef6..1df4169f1a146f0839e0f6ce05f9968466412335 100644 (file)
@@ -17,20 +17,22 @@ package org.wamblee.reflection;
 
 import java.lang.reflect.Field;
 
-
 /**
- * Utility for interfacing to a field of an object. 
+ * Utility for interfacing to a field of an object.
  * 
  * @author Erik Brakkee
- *
- * @param <T> Type of the field. 
+ * 
+ * @param <T>
+ *            Type of the field.
  */
 public class FieldAccessor<T> implements Accessor<T> {
     private Field field;
 
     /**
-     * Constructs the accessor. 
-     * @param aField Field. 
+     * Constructs the accessor.
+     * 
+     * @param aField
+     *            Field.
      */
     public FieldAccessor(Field aField) {
         field = aField;
@@ -57,20 +59,21 @@ public class FieldAccessor<T> implements Accessor<T> {
     }
 
     /**
-     * Gets the field. 
-     * @return Field. 
+     * Gets the field.
+     * 
+     * @return Field.
      */
     public Field getField() {
         return field;
     }
-    
+
     @Override
     public Class<T> getType() {
-        return (Class<T>)field.getType();
+        return (Class<T>) field.getType();
     }
-    
+
     @Override
     public String toString() {
-        return "fieldInjection(" + field + ")"; 
+        return "fieldInjection(" + field + ")";
     }
 }
\ No newline at end of file