We need IClass which stores more than one type inside.
Semantic:
generally it represents alternative: type is one of stored
methods/fields return common set (so most of the time: almost nothing)
instanceof checks return true if any type matches
Such multi-type can be used inside BeanMethods which can represent group of overloaded methods. It can be used by wildcard types etc.
For example:
net.ranides.assira.reflection.impl.RWClass#raw
We need IClass which stores more than one type inside.
Semantic:
- generally it represents alternative: type is one of stored
- methods/fields return common set (so most of the time: almost nothing)
- instanceof checks return true if any type matches
Such multi-type can be used inside BeanMethods which can represent group of overloaded methods. It can be used by wildcard types etc.
For example:
net.ranides.assira.reflection.impl.RWClass#raw
net.ranides.assira.reflection.impl.RWClass#raw
// @todo "raw": we can do better, if we have only 1 "extends" type, we can return it
// maybe we should add another method like "bounded"?
// it is not defined very well, because we can extend more than one type and
// we should use just "isSubclass"
```
net.ranides.assira.reflection.impl.RWClass#raw
// @todo "raw": we can do better, if we have only 1 "extends" type, we can return it
// maybe we should add another method like "bounded"?
// it is not defined very well, because we can extend more than one type and
// we should use just "isSubclass"
```
net.ranides.assira.reflection.impl.bean.RBeanMethods#returns
// @todo refine BeanMethod.returns/arguments for overloaded methods
//
// maybe we should implement something tricky like... composite IClass for returns?
// something like composite arguments for arguments?
// or we should put error into validation
```
net.ranides.assira.reflection.impl.bean.RBeanMethods#returns
// @todo refine BeanMethod.returns/arguments for overloaded methods
//
// maybe we should implement something tricky like... composite IClass for returns?
// something like composite arguments for arguments?
// or we should put error into validation
```
We need IClass which stores more than one type inside.
Semantic:
Such multi-type can be used inside BeanMethods which can represent group of overloaded methods. It can be used by wildcard types etc.
For example: net.ranides.assira.reflection.impl.RWClass#raw