Avoiding NPE in other JavaSourceFacet implementations