public static String getSourcePathForClass ( String className , String defaultValue ) { try { return getSourcePathForClass ( ClassUtil . loadClass ( className ) , defaultValue ) ; } catch ( Throwable t ) { ExceptionUtil . rethrowIfNecessary ( t ) ; } return defaultValue ; }
tries to load the class and returns the path that it was loaded from