method = new VisualBasicMethod(VisualBasicMethod.PROTECTED + VisualBasicMethod.OVERRIDES,
"NewTokenizer",
"ByVal input As TextReader",
"Tokenizer");
method.addComment(new VisualBasicComment(FACTORY_COMMENT));
method.addCode("Return New " + tokenizer.getClassName() + "(input);");
cls.addMethod(method);
// Add init method
cls.addMethod(initMethod);
initMethod.addComment(new VisualBasicComment(INIT_METHOD_COMMENT));