private boolean baseUsedInClass ( Node n ) { for ( Node curr = n ; curr != null ; curr = curr . getParent ( ) ) { if ( curr . isClassMembers ( ) ) { return true ; } } return false ; }
Verify if goog . base call is used in a class