public static boolean isPackageInfo(ICompilationUnit cu){
  return PACKAGE_INFO_JAVA.equals(cu.getElementName());
}

public static boolean isPackageInfo ( ICompilationUnit cu ) { return PACKAGE_INFO_JAVA . equals ( cu . getElementName ( ) ) ; }
tells whether the given cu is the package - info . java .
