private Method getParseFromMethod ( Class < ? extends T > type ) throws NoSuchMethodException { if ( parseFromMethod == null ) { parseFromMethod = type . getMethod ( "parseFrom" , byte [ ] . class ) ; } return parseFromMethod ; }
Caches method reflection lookup