This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123971 - Add a method to obtain ElementHandles from TypeMirrorHandles representing DeclaredTypes
Summary: Add a method to obtain ElementHandles from TypeMirrorHandles representing Dec...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2007-12-13 17:16 UTC by Dusan Balek
Modified: 2007-12-14 13:41 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Proposed patch (4.13 KB, patch)
2007-12-13 17:18 UTC, Dusan Balek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dusan Balek 2007-12-13 17:16:34 UTC
Static method 'from' should be added to ElementHandle to get ElementHandles from TypeMirrorHandles representing
DeclaredTypes.
Comment 1 Dusan Balek 2007-12-13 17:18:48 UTC
Created attachment 54230 [details]
Proposed patch
Comment 2 Tomas Zezula 2007-12-14 07:43:12 UTC
Looks good to me.
Comment 3 Jan Lahoda 2007-12-14 10:11:58 UTC
Seems fine to me.
Comment 4 Dusan Balek 2007-12-14 13:41:23 UTC
Done.

Checking in apichanges.xml;
/cvs/java/source/apichanges.xml,v  <--  apichanges.xml
new revision: 1.20; previous revision: 1.19
done
Checking in src/org/netbeans/api/java/source/ElementHandle.java;
/cvs/java/source/src/org/netbeans/api/java/source/ElementHandle.java,v  <--  ElementHandle.java
new revision: 1.19; previous revision: 1.18
done
Checking in src/org/netbeans/api/java/source/TypeMirrorHandle.java;
/cvs/java/source/src/org/netbeans/api/java/source/TypeMirrorHandle.java,v  <--  TypeMirrorHandle.java
new revision: 1.9; previous revision: 1.8
done
Checking in nbproject/project.properties;
/cvs/java/source/nbproject/project.properties,v  <--  project.properties
new revision: 1.42; previous revision: 1.41
done