public static String getPackage ( String element ) { Preconditions . checkNotNull ( element , "argument 'element' can not be null" ) ; return element . substring ( 0 , element . lastIndexOf ( ' ' ) ) ; }
Extracts the package from a qualified class .