예제 #1
0
 public FieldParameter(FieldAnnotation<org.vraptor.annotations.Parameter> info) {
   org.vraptor.annotations.Parameter param = info.getAnnotation();
   this.field = info.getField();
   this.key = new KeyExtractor().extractParamKey(info);
   this.mightCreate = param.create();
   if (field.isAnnotationPresent(Conversion.class)) {
     this.converter = field.getAnnotation(Conversion.class).value();
   } else {
     this.converter = null;
   }
   if (LOG.isDebugEnabled()) {
     LOG.debug("Created new FieldReadParameter " + this.key);
   }
 }