<commit_before>/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.reflect.gs;

import gw.lang.Deprecated;
import gw.lang.PublishInGosu;
import gw.lang.reflect.IType;

@PublishInGosu
public interface IGosuObject
{
  @Deprecated(value="Use the 'typeof' operator in Gosu instead. 'obj.IntrinsicType' becomes 'typeof obj'.")
  IType getIntrinsicType();

  //
  // Methods cooresponding with java.lang.Object
  //

  public String toString();<commit_msg>Default implementation of getIntrinsicType  * This change is required to execute the example in [example-gosuc-inverted](https://github.com/gosu-lang/example-gosuc-inverted)<commit_after>/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.reflect.gs;

import gw.lang.Deprecated;
import gw.lang.PublishInGosu;
import gw.lang.reflect.IType;
import gw.lang.reflect.TypeSystem;

@PublishInGosu
public interface IGosuObject
{
  @Deprecated(value="Use the 'typeof' operator in Gosu instead. 'obj.IntrinsicType' becomes 'typeof obj'.")
  default IType getIntrinsicType() {
    return TypeSystem.get( getClass() );
  }

  //
  // Methods cooresponding with java.lang.Object
  //

  public String toString();
{'fraction_non_alphanumeric': 0.11620016963528414, 'fraction_numerical': 0.006785411365564037, 'mean_word_length': 4.43778801843318, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '6271363', 'n_tokens_mistral': 408, 'n_tokens_neox': 379, 'n_words': 94}