<commit_before>
package com.jfixby.scarabei.red.flutter.calls;

import java.lang.reflect.Method;

import com.jfixby.scarabei.api.codecs.Codecs;
import com.jfixby.scarabei.api.codecs.JavaMethodCall;
import com.jfixby.scarabei.api.codecs.calls.io.CrossLanguageMethodCall;
import com.jfixby.scarabei.api.codecs.calls.io.CrossLanguageMethodCallResult;
import com.jfixby.scarabei.api.collections.Collections;
import com.jfixby.scarabei.api.json.Json;
import com.jfixby.scarabei.api.json.JsonString;
import com.jfixby.scarabei.api.log.L;
import com.jfixby.scarabei.api.names.ID;
import com.jfixby.scarabei.api.names.Names;
import com.jfixby.scarabei.api.util.Utils;

import io.flutter.plugin.common.MethodCall;
import io.flutter.plugin.common.MethodChannel;
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;

public class FlutterJavaCallListener implements MethodCallHandler {

	FlutterJavaCallListener () {
// final FlutterPluginSpecs specs = FlutterPlugins.newPluginSpecs();
// specs.methodCallHandler = this;
// specs.channelName = Names.newID(this.getClass().getCanonicalName());
// FlutterPlugins.registerPlugin(specs);

	}

	@Override
	public void onMethodCall (final MethodCall call, final MethodChannel.Result result) {
// final Object argument = call.argument("invoke");
		final Object argument = call.argument("json");
		L.d("argument", argument);
		final String json = (String)argument;
		L.d("json", json);
		try {
			final CrossLanguageMethodCall encodedFlutterCall = Json.deserializeFromString(CrossLanguageMethodCall.class, json);

			final JavaMethodCall javaCall = Codecs.decodeMethodCall(encodedFlutterCall);
			javaCall.methodName = Names.newID((String)Codecs.decode(encodedFlutterCall.methodName));<commit_msg>public constructor<commit_after>
package com.jfixby.scarabei.red.flutter.calls;

import java.lang.reflect.Method;

import com.jfixby.scarabei.api.codecs.Codecs;
import com.jfixby.scarabei.api.codecs.JavaMethodCall;
import com.jfixby.scarabei.api.codecs.calls.io.CrossLanguageMethodCall;
import com.jfixby.scarabei.api.codecs.calls.io.CrossLanguageMethodCallResult;
import com.jfixby.scarabei.api.collections.Collections;
import com.jfixby.scarabei.api.json.Json;
import com.jfixby.scarabei.api.json.JsonString;
import com.jfixby.scarabei.api.log.L;
import com.jfixby.scarabei.api.names.ID;
import com.jfixby.scarabei.api.names.Names;
import com.jfixby.scarabei.api.util.Utils;

import io.flutter.plugin.common.MethodCall;
import io.flutter.plugin.common.MethodChannel;
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;

public class FlutterJavaCallListener implements MethodCallHandler {

	public FlutterJavaCallListener () {
// final FlutterPluginSpecs specs = FlutterPlugins.newPluginSpecs();
// specs.methodCallHandler = this;
// specs.channelName = Names.newID(this.getClass().getCanonicalName());
// FlutterPlugins.registerPlugin(specs);

	}

	@Override
	public void onMethodCall (final MethodCall call, final MethodChannel.Result result) {
// final Object argument = call.argument("invoke");
		final Object argument = call.argument("json");
		L.d("argument", argument);
		final String json = (String)argument;
		L.d("json", json);
		try {
			final CrossLanguageMethodCall encodedFlutterCall = Json.deserializeFromString(CrossLanguageMethodCall.class, json);

			final JavaMethodCall javaCall = Codecs.decodeMethodCall(encodedFlutterCall);
			javaCall.methodName = Names.newID((String)Codecs.decode(encodedFlutterCall.methodName));
{'fraction_non_alphanumeric': 0.1151862464183381, 'fraction_numerical': 0.0, 'mean_word_length': 6.081135902636917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2376350', 'n_tokens_mistral': 1131, 'n_tokens_neox': 1126, 'n_words': 173}