public void addDependency ( JSModule dep ) { checkNotNull ( dep ) ; Preconditions . checkState ( dep != this , "Cannot add dependency on self" , this ) ; deps . add ( dep ) ; }
Adds a dependency on another module .