<commit_before>package br.com.jq.syncthia.bdcreator.annotations;

public class AnnotationsUtils {
	public static final String invalidString = "invalid string";
	
	public static String generateGenericIfInvalidName(String columnEntityMethod, String columnName, String preffix) {
		if (columnEntityMethod.equals(AnnotationsUtils.invalidString)) {
			StringBuilder methodNameBuilder = new StringBuilder(preffix);
			for (String part: columnName.split("_")) {<commit_msg>Avoiding NPE when columnEntityMethod is null<commit_after>package br.com.jq.syncthia.bdcreator.annotations;

public class AnnotationsUtils {
	public static final String invalidString = "invalid string";
	
	public static String generateGenericIfInvalidName(String columnEntityMethod, String columnName, String preffix) {
		if (columnEntityMethod == null || AnnotationsUtils.invalidString.equals(columnEntityMethod)) {
			StringBuilder methodNameBuilder = new StringBuilder(preffix);
			for (String part: columnName.split("_")) {
{'fraction_non_alphanumeric': 0.08257804632426989, 'fraction_numerical': 0.0, 'mean_word_length': 7.016129032258065, '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': '5014766', 'n_tokens_mistral': 275, 'n_tokens_neox': 260, 'n_words': 69}