Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.5
-
None
Description
I came across something curious in the constructor for static star ImportNodes. This constructor public ImportNode(ClassNode type) has the following doc comment:
/** * Represent a static import of a Class, i.e. import static package.Classname.* * * @param type the referenced class */
Yet, inside the constructor, this.isStatic = false;. This seems like a bug to me since the generated ImportNode is obviously supposed to be static. Is there something I'm missing here?