@Override public ThriftMethodInjection apply(MethodInjection injection) { return new ThriftMethodInjection(injection.getMethod(), buildParameterInjections(injection.getParameters())); } });
builderMethodInjections.add(new MethodInjection(method, parameters));
methodInjections.add(new MethodInjection(method, parameters));
protected final ThriftMethodInjection buildBuilderConstructorInjections() { ThriftMethodInjection builderMethodInjection = null; if (builderType != null) { MethodInjection builderMethod = builderMethodInjections.get(0); builderMethodInjection = new ThriftMethodInjection(builderMethod.getMethod(), buildParameterInjections(builderMethod.getParameters())); } return builderMethodInjection; }
methodInjections.add(new MethodInjection(method, parameters));
protected final ThriftMethodInjection buildBuilderConstructorInjections() { ThriftMethodInjection builderMethodInjection = null; if (builderType != null) { MethodInjection builderMethod = builderMethodInjections.get(0); builderMethodInjection = new ThriftMethodInjection(builderMethod.getMethod(), buildParameterInjections(builderMethod.getParameters())); } return builderMethodInjection; }
builderMethodInjections.add(new MethodInjection(method, parameters));
@Override public ThriftMethodInjection apply(MethodInjection injection) { return new ThriftMethodInjection(injection.getMethod(), buildParameterInjections(injection.getParameters())); } });
if (methodInjection.getParameters().size() == 1 && methodInjection.getParameters().get(0).equals(parameterInjection)) { thriftMethodInjection = new ThriftMethodInjection(methodInjection.getMethod(), thriftParameterInjection);
if (methodInjection.getParameters().size() == 1 && methodInjection.getParameters().get(0).equals(parameterInjection)) { thriftMethodInjection = new ThriftMethodInjection(methodInjection.getMethod(), thriftParameterInjection);