<commit_before>package com.incquerylabs.evm.jdt.fqnutil

class JDTInternalQualifiedName extends QualifiedName {
	static val JDT_INTERNAL_SEPARATOR = "/"
	
	static def QualifiedName create(String qualifiedName) {
		val lastIndexOfSeparator = qualifiedName.lastIndexOf(JDT_INTERNAL_SEPARATOR)
		if(lastIndexOfSeparator == -1) {
			return new JDTQualifiedName(qualifiedName, null) 
		} else {
			return new JDTQualifiedName(qualifiedName.substring(lastIndexOfSeparator + JDT_INTERNAL_SEPARATOR.length), create(qualifiedName.substring(0, lastIndexOfSeparator)))
		}
	}
	
	static def QualifiedName create(QualifiedName qualifiedName) {
		create(qualifiedName.toList.reverse.join(JDT_INTERNAL_SEPARATOR))
	}
	<commit_msg>Fixed JDTInternalQualifiedName creation<commit_after>package com.incquerylabs.evm.jdt.fqnutil

class JDTInternalQualifiedName extends QualifiedName {
	static val JDT_INTERNAL_SEPARATOR = "/"
	
	static def QualifiedName create(String qualifiedName) {
		val lastIndexOfSeparator = qualifiedName.lastIndexOf(JDT_INTERNAL_SEPARATOR)
		if(lastIndexOfSeparator == -1) {
			return new JDTInternalQualifiedName(qualifiedName, null) 
		} else {
			return new JDTInternalQualifiedName(qualifiedName.substring(lastIndexOfSeparator + JDT_INTERNAL_SEPARATOR.length), create(qualifiedName.substring(0, lastIndexOfSeparator)))
		}
	}
	
	static def QualifiedName create(QualifiedName qualifiedName) {
		create(qualifiedName.toList.reverse.join(JDT_INTERNAL_SEPARATOR))
	}
	
{'fraction_non_alphanumeric': 0.07744565217391304, 'fraction_numerical': 0.002717391304347826, 'mean_word_length': 6.962162162162162, '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': '7326315', 'n_tokens_mistral': 496, 'n_tokens_neox': 466, 'n_words': 74}