Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2007 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2008 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 91-114
Link Here
|
91 |
* the name is "x.y.MyType.MyNestedType"). If the member-value pair is coming from a class file, this is |
91 |
* the name is "x.y.MyType.MyNestedType"). If the member-value pair is coming from a class file, this is |
92 |
* always a fully qualified name. |
92 |
* always a fully qualified name. |
93 |
* <p> |
93 |
* <p> |
94 |
* Note that one can use {@link IType#resolveType(String)} to find the corresponding |
94 |
* Note that one can use {@link IType#resolveType(String)} and e.g. |
95 |
* {@link IType}. |
95 |
* {@link IJavaProject#findType(String, String, org.eclipse.core.runtime.IProgressMonitor)} |
|
|
96 |
* to find the corresponding {@link IType}. |
96 |
* </p> |
97 |
* </p> |
97 |
*/ |
98 |
*/ |
98 |
int K_CLASS = 11; |
99 |
int K_CLASS = 11; |
99 |
|
100 |
|
100 |
/** |
101 |
/** |
101 |
* Constant indicating that the value is a qualified name represented by a |
102 |
* Constant indicating that the value is a qualified name represented by a |
102 |
* {@link String}. Especially if the qualified name is "MyEnum.FIRST", this can |
103 |
* {@link String}. The qualified name refers to an enum constant or another |
103 |
* represent an enumeration's constant. |
104 |
* compile-time constant if the code is correct (e.g. "MyEnum.FIRST"). |
104 |
*/ |
105 |
*/ |
105 |
int K_QUALIFIED_NAME = 12; |
106 |
int K_QUALIFIED_NAME = 12; |
106 |
|
107 |
|
107 |
/** |
108 |
/** |
108 |
* Constant indicating that the value is a simple name represented by a |
109 |
* Constant indicating that the value is a simple name represented by a |
109 |
* {@link String}. |
110 |
* {@link String}. The simple name refers to an enum constant or another |
110 |
* Especially if the simple name is "FIRST" and there is a static import for |
111 |
* compile-time constant if the code is correct (e.g. "FIRST" when there is |
111 |
* "MyEnum.FIRST", this can represent an enumeration's constant. |
112 |
* a static import for "MyEnum.FIRST"). |
112 |
*/ |
113 |
*/ |
113 |
int K_SIMPLE_NAME = 13; |
114 |
int K_SIMPLE_NAME = 13; |
114 |
|
115 |
|