Since the methods are defined inside the constructor dools doesnt find them yet, doing the reflection. Becuase we dont create an instance of this object yet for reflecting on it ...
dojox.collections.ArrayList=function(/* array? /arr){
this.add=function(/ object /obj){
};
this.addRange=function(/ array */a){
};