Changeset 1228

Show
Ignore:
Timestamp:
01/12/08 18:50:40 (6 months ago)
Author:
mikey
Message:

continued refactoring #119: replaced package dots in net::stubbles::reflection

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParser.php

    r1227 r1228  
    233233        $matches = array(); 
    234234        if (preg_match('/^([a-zA-Z_]{1}[a-zA-Z\.0-9_]*)::\$([a-zA-Z_]{1}[a-zA-Z0-9_]*)/', $value, $matches) != false) { 
    235             stubClassLoader::load('net.stubbles.lang.stubEnum'); 
     235            stubClassLoader::load('net::stubbles::lang::stubEnum'); 
    236236            try { 
    237237                return stubEnum::forName(new stubReflectionClass($matches[1]), $matches[2]); 
  • trunk/src/main/php/net/stubbles/reflection/reflection.php

    r942 r1228  
    77 * @subpackage  reflection 
    88 */ 
    9 stubClassLoader::load('net.stubbles.reflection.annotations.stubAnnotation', 
    10                       'net.stubbles.reflection.annotations.stubAbstractAnnotation', 
    11                       'net.stubbles.reflection.annotations.stubAnnotationFactory', 
    12                       'net.stubbles.reflection.stubBaseReflectionClass', 
    13                       'net.stubbles.reflection.stubReflectionClass', 
    14                       'net.stubbles.reflection.stubReflectionExtension', 
    15                       'net.stubbles.reflection.stubReflectionFunction', 
    16                       'net.stubbles.reflection.stubReflectionMethod', 
    17                       'net.stubbles.reflection.stubReflectionObject', 
    18                       'net.stubbles.reflection.stubReflectionPackage', 
    19                       'net.stubbles.reflection.stubReflectionParameter', 
    20                       'net.stubbles.reflection.stubReflectionPrimitive', 
    21                       'net.stubbles.reflection.stubReflectionProperty', 
    22                       'net.stubbles.reflection.stubReflectionType' 
     9stubClassLoader::load('net::stubbles::reflection::annotations::stubAnnotation', 
     10                      'net::stubbles::reflection::annotations::stubAbstractAnnotation', 
     11                      'net::stubbles::reflection::annotations::stubAnnotationFactory', 
     12                      'net::stubbles::reflection::stubBaseReflectionClass', 
     13                      'net::stubbles::reflection::stubReflectionClass', 
     14                      'net::stubbles::reflection::stubReflectionExtension', 
     15                      'net::stubbles::reflection::stubReflectionFunction', 
     16                      'net::stubbles::reflection::stubReflectionMethod', 
     17                      'net::stubbles::reflection::stubReflectionObject', 
     18                      'net::stubbles::reflection::stubReflectionPackage', 
     19                      'net::stubbles::reflection::stubReflectionParameter', 
     20                      'net::stubbles::reflection::stubReflectionPrimitive', 
     21                      'net::stubbles::reflection::stubReflectionProperty', 
     22                      'net::stubbles::reflection::stubReflectionType' 
    2323); 
    2424?> 
  • trunk/src/main/php/net/stubbles/reflection/stubReflectionPackage.php

    r1209 r1228  
    5757     * The result is a short but informative representation about the class and 
    5858     * its values. Per default, this method returns: 
    59      * 'net.stubbles.reflection.stubReflectionPackage['[name-of-reflected-package]']  {}' 
     59     * 'net::stubbles::reflection::stubReflectionPackage['[name-of-reflected-package]']  {}' 
    6060     * <code> 
    61      * net.stubbles.reflection.stubReflectionPackage[mypackage] { 
     61     * net::stubbles::reflection::stubReflectionPackage[mypackage] { 
    6262     * } 
    6363     * </code> 
  • trunk/src/test/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParserTestCase.php

    r1227 r1228  
    99 */ 
    1010stubClassLoader::load('net::stubbles::reflection::annotations::parser::stubAnnotationStateParser', 
    11                       'net.stubbles.lang.stubEnum' 
     11                      'net::stubbles::lang::stubEnum' 
    1212); 
    1313define('ANNOTATION_TEST_CONSTANT', 'baz');