[Codenarc-user] Incomplete AST nodes?
Brought to you by:
chrismair
From: Klaus B. <kla...@go...> - 2011-04-13 11:18:01
|
I'm trying to build a rather complex rule based on information also kept in the super class of a classnode. I made several observations: 1. The class hierarchy seems broken with some classes. That is, walking up along the superClass members I see java.lang.Object too soon 2. Not all fields of a class are visible in the classNode. I've built a rule based on the AbstractAstVisitor and overloaded multiple visit* methods, such as visitClassEx and visitConstructorOrMethodEx. For the incomplete fields information I suspect the threaded execution of the rules against the fileset. But why some superClass info is missing I cannot explain. Any idea, what goes wrong here? Regards, klaus. |