Announcement Announcement Module
Collapse
No announcement yet.
Implements generation failure Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Implements generation failure

    Hi,
    Congratulations on the project.

    I'm implementing some plugin with Roo, and I see that file JavaParserMutableClassOrInterfaceTypeDetails failure in line 406.

    Code:
     // Implements handling
    	    	List<ClassOrInterfaceType> implementsList = new ArrayList<ClassOrInterfaceType>();
    			for (JavaType current : cit.getImplementsTypes()) {
    				NameExpr nameExpr = JavaParserUtils.importTypeIfRequired(cit.getName().getPackage(), compilationUnit.getImports(), current);
    	        	ClassOrInterfaceType resolvedName = JavaParserUtils.getClassOrInterfaceType(nameExpr);
    	        	extendsList.add(resolvedName);
    			}
    	    	if (implementsList.size() > 0) {
    	    		classOrInterfaceDeclaration.setImplements(implementsList);
    	    	}
    Should be replace extendsList by implementsList.

  • #2
    Can you please open a bug ticket in our Jira system http://jira.springframework.org/browse/ROO along with descriptions of what you are doing and what goes wrong? This way we can investigate this and fix the issue for you.

    Thanks,
    Stefan

    Comment


    • #3
      Logged as https://jira.springsource.org/browse/ROO-455 and corrected in SVN revision 510. Thank you for letting us know. It would be good if you were able to verify this is now working correctly from your perspective by commenting on the above Jira issue. Thanks.

      Comment

      Working...
      X