Bug 124471 - ResolvedAnnotations are not completely resolved
Summary: ResolvedAnnotations are not completely resolved
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 06:47 EST by Markus Keller CLA
Modified: 2006-02-14 07:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2006-01-19 06:47:51 EST
I20060118-0800

- Have
@SuppressWarnings("all")
public class Try {
}

- from the ITypeBinding of Try, follow this call sequence:
getAnnotations()[0].getAnnotationType().getAnnotations()[0]
    .getDeclaredMemberValuePairs()[0].getMethodBinding()
The result should be an IMethodBinding, but it is null.
Comment 1 Kent Johnson CLA 2006-01-19 16:44:18 EST
fix released

need to improve test before closing this PR
Comment 2 Kent Johnson CLA 2006-01-20 12:40:59 EST
Added ParticipantBuildTests.testResolvedMethod()
Comment 3 David Audel CLA 2006-02-14 07:17:40 EST
Verified for 3.2 M5 using build I20060214-0010