<commit_before><?php namespace lang\reflect;

/**
 * Represents a package
 *
 * @test     xp://net.xp_framework.unittest.reflection.PackageTest
 * @see      http://news.xp-framework.net/article/187/2007/05/12/
 * @purpose  Reflection
 */
class Package extends \lang\Object {
  protected
    $name= '';

  /**
   * Gets the fully qualified package name
   *
   * @return  string
   */  
  public function getName() {
    return $this->name;
  }

  /**
   * Returns simple name
   *
   * @return  string
   */
  public function getSimpleName() {
    return substr($this->name, strrpos($this->name, '.')+ 1);
  }
  
  
  /**
   * Checks if a specific class is provided by this package<commit_msg>QA: Remove purpose apidoc tag, reindent<commit_after><?php namespace lang\reflect;

/**
 * Represents a package
 *
 * @test xp://net.xp_framework.unittest.reflection.PackageTest
 * @see  http://news.xp-framework.net/article/187/2007/05/12/
 */
class Package extends \lang\Object {
  protected $name= '';

  /**
   * Gets the fully qualified package name
   *
   * @return  string
   */  
  public function getName() {
    return $this->name;
  }

  /**
   * Returns simple name
   *
   * @return  string
   */
  public function getSimpleName() {
    return substr($this->name, strrpos($this->name, '.')+ 1);
  }
  
  
  /**
   * Checks if a specific class is provided by this package
{'fraction_non_alphanumeric': 0.14244186046511628, 'fraction_numerical': 0.01744186046511628, 'mean_word_length': 2.672, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3620745', 'n_tokens_mistral': 465, 'n_tokens_neox': 442, 'n_words': 108}