diff --git a/src/Saxulum/ClassFinder/ClassFinder.php b/src/Saxulum/ClassFinder/ClassFinder.php
index <HASH>..<HASH> 100644
--- a/src/Saxulum/ClassFinder/ClassFinder.php
+++ b/src/Saxulum/ClassFinder/ClassFinder.php
@@ -14,7 +14,7 @@ class ClassFinder
 
         for ($i = 0; $i < $tokenCount; $i++) {
 
-            if (is_array($tokens[$i]) && in_array($tokens[$i][0], array(T_NAMESPACE, T_CLASS)) && $tokens[$i-1][0] === T_WHITESPACE) {
+            if (is_array($tokens[$i]) && in_array($tokens[$i][0], array(T_NAMESPACE, T_CLASS)) && $tokens[$i-1][0] !== T_DOUBLE_COLON) {
                 $type = $tokens[$i][0]; $i++; $namespace = '';
                 if ($type === T_NAMESPACE) {
                     $namespaceStack = array();
yet another try to fix ::class