Bug 123971 - Add a method to obtain ElementHandles from TypeMirrorHandles representing DeclaredTypes
Add a method to obtain ElementHandles from TypeMirrorHandles representing Dec...
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Source
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Dusan Balek
issues@java
: API, API_REVIEW_FAST
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo