Parsing fails if inner class method references outer class' super method ------------------------------------------------------------------------
Key: XJD-80 URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-80 Project: XJavaDoc Issue Type: Bug Components: Parser Affects Versions: 1.5 Environment: WinXP Reporter: Lev Levin Assignee: xdoclet-devel (Use for new issues) Next example results in "Error parsing File C:\DEV\eclipse.eca\workspace\tests\src\com\acme\tests\XDocletInnerClassProblemTest.java:Parse error at line 26, column 45. Encountered: ." error: package com.acme.tests; import java.io.File; import xjavadoc.SourceSet; import xjavadoc.XJavaDoc; import xjavadoc.filesystem.FileSourceSet; public final class XDocletInnerClassProblemTest { interface InnerInterface { void someMethod(); } public void enclosingMethod() { // do nothing } public void ThirdMethod(InnerInterface ii) { ii.someMethod(); } public void secondMethod() { ThirdMethod(new InnerInterface() { public void someMethod() { XDocletInnerClassProblemTest.super.toString(); } }); } public void forthMethod() { // do something } public static void main(String[] args) { XJavaDoc xjavadoc = new XJavaDoc(); File file = new File("src/com/acme/tests/XDocletInnerClassProblemTest.java"); SourceSet sc = new FileSourceSet(file); xjavadoc.addSourceSet(sc); xjavadoc.getSourceClasses(); } } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel