示例#1
0
 @SuppressWarnings("unchecked")
 @Override
 public void registerMeasures(NameResolver resolver) {
   System.out.printf("Resolver %s!\n", id.getValue());
   key = (Key<PropType>) resolver.resolve(id.getValue());
   key.registerValue(inner.getValue());
 }
示例#2
0
 @Override
 public PropType getValue() {
   return convert.convert(key.scaleValue(inner.getValue()), pm, env);
 }