public VariableRef [ ] getVariableRefs ( ) { Collection < VariableRef > allRefs = new ArrayList < VariableRef > ( ) ; fillVariableRefs ( allRefs , this ) ; return allRefs . toArray ( new VariableRef [ allRefs . size ( ) ] ) ; }
Returns all the variable references made from this scope and all child scopes .