[generator] change 'namespace swift' to 'namespace java.swift'

Change the recognition from 'namespace swift' to 'namespace java.swift'
to make it more explicit that the swift namespace is for java.