Fix to include only the qualifiers starting with an uppercase letter into types.
@@ -184,7 +184,9 @@ public class Visitor extends ASTVisitor {
public boolean visit(QualifiedName node) {
Name qualifier = node.getQualifier();
+ if(Character.isUpperCase(qualifier.getFullyQualifiedName().charAt(0))) {
types.add(qualifier.getFullyQualifiedName());
+ }
return super.visit(node);
}
