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 200637 Details for
Bug 353474
type converters should include more annotations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed change to SourceTypeConverter
Bug_353474_v0.patch (text/plain), 1.66 KB, created by
Stephan Herrmann
on 2011-07-31 16:25:02 EDT
(
hide
)
Description:
proposed change to SourceTypeConverter
Filename:
MIME Type:
Creator:
Stephan Herrmann
Created:
2011-07-31 16:25:02 EDT
Size:
1.66 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java,v >retrieving revision 1.71 >diff -u -r1.71 SourceTypeConverter.java >--- model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java 1 Nov 2010 14:15:47 -0000 1.71 >+++ model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java 31 Jul 2011 20:21:07 -0000 >@@ -28,6 +28,7 @@ > import org.eclipse.jdt.core.IAnnotation; > import org.eclipse.jdt.core.IImportDeclaration; > import org.eclipse.jdt.core.IJavaElement; >+import org.eclipse.jdt.core.ILocalVariable; > import org.eclipse.jdt.core.ISourceRange; > import org.eclipse.jdt.core.JavaModelException; > import org.eclipse.jdt.core.Signature; >@@ -373,6 +374,7 @@ > char[][] argumentNames = methodInfo.getArgumentNames(); > int argumentCount = argumentTypeSignatures == null ? 0 : argumentTypeSignatures.length; > if (argumentCount > 0) { >+ ILocalVariable[] parameters = methodHandle.getParameters(); > long position = ((long) start << 32) + end; > method.arguments = new Argument[argumentCount]; > for (int i = 0; i < argumentCount; i++) { >@@ -387,6 +389,11 @@ > typeReference, > ClassFileConstants.AccDefault); > // do not care whether was final or not >+ // convert 1.5 specific constructs only if compliance is 1.5 or above >+ if (this.has1_5Compliance) { >+ /* convert annotations */ >+ method.arguments[i].annotations = convertAnnotations(parameters[i]); >+ } > } > } >
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 353474
:
200637
|
204708