protected static String getResourceNameFromDescription ( String desc ) { Type type = Type . getType ( desc ) ; String className = type . getClassName ( ) ; String resourceName = className . replace ( "." , "/" ) ; return resourceName ; }
That call should be inlined .