src/main/java/de/javakaffee/kryoserializers/protobuf/ProtobufSerializer.java
private Method getParseFromMethod(Class<? extends T> type) throws NoSuchMethodException {
        if (parseFromMethod == null) {
            parseFromMethod = type.getMethod("parseFrom", byte[].class);
        }
        return parseFromMethod;
    }
private Method getParseFromMethod(Class<? extends T> type) throws NoSuchMethodException {
        if (parseFromMethod == null) {
            parseFromMethod = type.getMethod("parseFrom", byte[].class);
        }
        return parseFromMethod;
    }
private Method getParseFromMethod ( Class < ? extends T > type ) throws NoSuchMethodException { if ( parseFromMethod == null ) { parseFromMethod = type . getMethod ( "parseFrom" , byte [ ] . class ) ; } return parseFromMethod ; }
Caches method reflection lookup
@throws NoSuchMethodException
Caches method reflection lookup