Summary: | [navigation] show init and const values in Java Outline view | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Will Hains <william.hains> |
Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | martinae |
Version: | 3.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Will Hains
2005-06-17 01:28:09 EDT
Good idea. In most cases we could get the value from the AST. Martin, does the AST only contain the const values or also the init values? You can easely check with the ASTView. If you have the AST of the class containing the filed, then of course you can access any kind of initialzer. If you only have the field binding (what I guess you have), only static final have initialializers, and only if it is a literal. BTW, also IFields from the Java model give access to the const values . |