How does java access the abstract syntax tree AST,SimpleType to the corresponding class?

class FtVisitor extends ASTVisitor {     
        @Override
        public boolean visit(SimpleType node) {
            String dictString[] = {"0", node.getName().toString()};
            mBodyClass.add(dictString);
            return true;
        }
    }

inherits ASTVisitor. I want to get all the classes of the source file, so how do I change the node of this class SimpleType node to a concrete class? Because I want to get the pathname of the class through this class:
String packageName = A.class.getPackage (). GetName ();

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39162-2c160.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39162-2c160.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?