Changeset 1228
- Timestamp:
- 01/12/08 18:50:40 (6 months ago)
- Files:
-
- trunk/src/main/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParser.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/reflection/reflection.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/reflection/stubReflectionPackage.php (modified) (1 diff)
- trunk/src/test/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParserTestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParser.php
r1227 r1228 233 233 $matches = array(); 234 234 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'); 236 236 try { 237 237 return stubEnum::forName(new stubReflectionClass($matches[1]), $matches[2]); trunk/src/main/php/net/stubbles/reflection/reflection.php
r942 r1228 7 7 * @subpackage reflection 8 8 */ 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'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' 23 23 ); 24 24 ?> trunk/src/main/php/net/stubbles/reflection/stubReflectionPackage.php
r1209 r1228 57 57 * The result is a short but informative representation about the class and 58 58 * 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]'] {}' 60 60 * <code> 61 * net .stubbles.reflection.stubReflectionPackage[mypackage] {61 * net::stubbles::reflection::stubReflectionPackage[mypackage] { 62 62 * } 63 63 * </code> trunk/src/test/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParserTestCase.php
r1227 r1228 9 9 */ 10 10 stubClassLoader::load('net::stubbles::reflection::annotations::parser::stubAnnotationStateParser', 11 'net .stubbles.lang.stubEnum'11 'net::stubbles::lang::stubEnum' 12 12 ); 13 13 define('ANNOTATION_TEST_CONSTANT', 'baz');
