Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 27034 Details for
Bug 108622
[javadoc][dom] ASTNode not including javadoc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to fix this issue
v00.txt (text/plain), 1.99 KB, created by
Frederic Fusier
on 2005-09-12 12:57:43 EDT
(
hide
)
Description:
Patch to fix this issue
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2005-09-12 12:57:43 EDT
Size:
1.99 KB
patch
obsolete
>Index: dom/org/eclipse/jdt/core/dom/ASTConverter.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java,v >retrieving revision 1.215 >diff -u -r1.215 ASTConverter.java >--- dom/org/eclipse/jdt/core/dom/ASTConverter.java 7 Sep 2005 07:45:56 -0000 1.215 >+++ dom/org/eclipse/jdt/core/dom/ASTConverter.java 12 Sep 2005 15:32:42 -0000 >@@ -548,14 +548,11 @@ > } > > // The javadoc comment is now got from list store in compilation unit declaration >+ convert(methodDeclaration.javadoc, methodDecl); > if (this.resolveBindings) { > recordNodes(methodDecl, methodDeclaration); > recordNodes(methodName, methodDeclaration); >- if (methodDecl.resolveBinding() != null) { >- convert(methodDeclaration.javadoc, methodDecl); >- } >- } else { >- convert(methodDeclaration.javadoc, methodDecl); >+ methodDecl.resolveBinding(); > } > return methodDecl; > } >@@ -2695,18 +2692,15 @@ > VariableDeclarationFragment variableDeclarationFragment = convertToVariableDeclarationFragment(fieldDecl); > final FieldDeclaration fieldDeclaration = new FieldDeclaration(this.ast); > fieldDeclaration.fragments().add(variableDeclarationFragment); >- IVariableBinding binding = null; > if (this.resolveBindings) { > recordNodes(variableDeclarationFragment, fieldDecl); >- binding = variableDeclarationFragment.resolveBinding(); >+ variableDeclarationFragment.resolveBinding(); > } > fieldDeclaration.setSourceRange(fieldDecl.declarationSourceStart, fieldDecl.declarationEnd - fieldDecl.declarationSourceStart + 1); > Type type = convertType(fieldDecl.type); > setTypeForField(fieldDeclaration, type, variableDeclarationFragment.getExtraDimensions()); > setModifiers(fieldDeclaration, fieldDecl); >- if (!(this.resolveBindings && binding == null)) { >- convert(fieldDecl.javadoc, fieldDeclaration); >- } >+ convert(fieldDecl.javadoc, fieldDeclaration); > return fieldDeclaration; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 108622
: 27034 |
27035