public static String getPackageName ( Object obj ) { if ( obj == null ) throw new NullPointerException ( "obj is null" ) ; return getPackageName ( obj . getClass ( ) ) ; }
Get the package name for a object .