<commit_before>define(['Ti/_/declare', 'Ti/_/Evented'], function(declare, Evented) {
	return declare('Tizen.Bluetooth.BluetoothClass', Evented, {
		constructor: function(args) {
			if(args.toString() === '[object BluetoothClass]') {
				this._obj = args;
			}
		},

		constants: {
			major: {
				get: function() {
					return this._obj.major;
				}
			},
			minor: {
				get: function() {
					return this._obj.minor;
				}
			},
			services: {
				get: function() {
					return this._obj.services;
				}
			},
		},

		hasService: function(service /*octet*/) {
			return this._obj.hasService(service._obj);
		}
	});
});<commit_msg>refactoring: - declare - declaredClass<commit_after>define(['Ti/_/declare', 'Ti/_/Evented'], function(declare, Evented) {
	var btClass = declare(Evented, {
		constructor: function(args) {
			if(args.toString() === '[object BluetoothClass]') {
				this._obj = args;
			}
		},

		constants: {
			major: {
				get: function() {
					return this._obj.major;
				}
			},
			minor: {
				get: function() {
					return this._obj.minor;
				}
			},
			services: {
				get: function() {
					return this._obj.services;
				}
			},
		},

		hasService: function(service /*octet*/) {
			return this._obj.hasService(service._obj);
		}
	});
    
    btClass.prototype.declaredClass = 'Tizen.Bluetooth.BluetoothClass';
    
    return btClass;
});
{'fraction_non_alphanumeric': 0.17008797653958943, 'fraction_numerical': 0.0, 'mean_word_length': 2.760330578512397, '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': '973822', 'n_tokens_mistral': 592, 'n_tokens_neox': 461, 'n_words': 76}