private String qName ( ClassOrInterfaceType classOrInterfaceType ) { String name = classOrInterfaceType . getName ( ) . getId ( ) ; if ( classOrInterfaceType . getScope ( ) . isPresent ( ) ) { return qName ( classOrInterfaceType . getScope ( ) . get ( ) ) + "." + name ; } else { return name ; } }
This is an hack around an issue in JavaParser