|
|
@@ -8,7 +8,7 @@
|
|
|
package net.ranides.assira.reflection.impl.bean;
|
|
|
|
|
|
import net.ranides.assira.reflection.BeanProperty;
|
|
|
-import net.ranides.assira.reflection.BeanPropertyWrapper;
|
|
|
+import net.ranides.assira.reflection.BeanPropertyBinding;
|
|
|
import net.ranides.assira.reflection.IClass;
|
|
|
|
|
|
/**
|
|
|
@@ -39,14 +39,14 @@ public abstract class ABeanProperty implements BeanProperty {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public BeanPropertyWrapper<Object> bind(Object that) {
|
|
|
- return new RWrapper(that);
|
|
|
+ public BeanPropertyBinding<Object> bind(Object that) {
|
|
|
+ return new RBinding(that);
|
|
|
}
|
|
|
|
|
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
|
|
@Override
|
|
|
- public <T> BeanPropertyWrapper<T> $bind(Object that) {
|
|
|
- return (BeanPropertyWrapper)new RWrapper(that);
|
|
|
+ public <T> BeanPropertyBinding<T> $bind(Object that) {
|
|
|
+ return (BeanPropertyBinding)new RBinding(that);
|
|
|
}
|
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
@@ -62,11 +62,11 @@ public abstract class ABeanProperty implements BeanProperty {
|
|
|
return prv;
|
|
|
}
|
|
|
|
|
|
- private class RWrapper implements BeanPropertyWrapper<Object> {
|
|
|
+ private class RBinding implements BeanPropertyBinding<Object> {
|
|
|
|
|
|
private final Object that;
|
|
|
|
|
|
- public RWrapper(Object that) {
|
|
|
+ public RBinding(Object that) {
|
|
|
this.that = that;
|
|
|
}
|
|
|
|