code: public static void generate(TypeSpec.Builder classBuilder, SQLiteModelMethod method) {
  
  		ModifyType updateResultType = detectModifyType(method, method.jql.operationType);
  
  		// if true, field must be associate to ben attributes
  		TypeName returnType = method.getReturnClass();
  
  		if (updateResultType == null) {
  			throw (new InvalidMethodSignException(method));
  		}
  
  		// generate method code
  		MethodSpec.Builder methodBuilder = MethodSpec.methodBuilder(method.getName()).addAnnotation(Override.class)
  				.addModifiers(Modifier.PUBLIC);
  		ParameterSpec parameterSpec;
  		for (Pair<String, TypeName> item : method.getParameters()) {
  			parameterSpec = ParameterSpec.builder(item.value1, item.value0).build();
  			methodBuilder.addParameter(parameterSpec);
  		}
  		methodBuilder.returns(returnType);
  
  		// generate inner code
  		updateResultType.generate(classBuilder, methodBuilder, method, returnType);
  
  		MethodSpec methodSpec = methodBuilder.build();
  		classBuilder.addMethod(methodSpec);
  
  		if (method.contentProviderEntryPathEnabled) {
  			// delete-select, update-select can be used with content provider
  			// insert-select no
  
  			// if (method.jql.containsSelectOperation && updateResultType==) {
  			// AssertKripton.failWithInvalidMethodSignException(true, method, "
  			// SQL with inner SELECT can not be used in content provider");
  			// }
  
  			generateModifierForContentProvider(BaseProcessor.elementUtils, classBuilder, method, updateResultType);
  
  		}
  
  	}
docs: Generate.
  
  @param classBuilder
  the class builder
  @param method
  the method