Lines Matching refs:name

38  * name map to the same identifier object. This makes comparisons of
43 * name. The qualifier is cached in the value field.<p>
64 * The name of the identifier
66 String name;
83 * The index of INNERCLASS_PREFIX in the name, or -1 if none.
92 private Identifier(String name) {
93 this.name = name;
94 this.ipos = name.indexOf(INNERCLASS_PREFIX);
132 if (q.name.charAt(q.name.length()-1) == INNERCLASS_PREFIX)
133 return lookup(q.name+n.name);
147 if (c.name.charAt(c.name.length()-1) == INNERCLASS_PREFIX)
148 id = lookup(c.name+n);
162 return name;
166 * Check if the name is qualified (ie: it contains a '.').
172 idot = name.length();
175 int index = name.lastIndexOf('.', idot-1);
176 value = (index < 0) ? idNull : Identifier.lookup(name.substring(0, index));
183 * the name was not qualified. The qualifier does not include
184 * any inner part of the name.
191 * Return the unqualified name.
192 * In the case of an inner name, the unqualified name
197 Identifier.lookup(name.substring(((Identifier)value).name.length() + 1)) : this;
201 * name in a qualified name, and thus marks the qualification
208 * Since much of the compiler's low-level name resolution code
221 * Check if the name is inner (ie: it contains a ' ').
228 * Return the class name, without its qualifier,
237 * id.getName().name => "Foo. Bar"
238 * id.getFlatName().name => "Foo.Bar"
245 if (ipos > 0 && name.charAt(ipos-1) == '.') {
246 if (ipos+1 == name.length()) {
248 return Identifier.lookup(name.substring(0,ipos-1));
250 String n = name.substring(ipos+1);
251 String t = name.substring(0,ipos);
283 return Identifier.lookup(name.substring(id.name.length() + 1));
307 return (name.startsWith(ambigPrefix));
316 return Identifier.lookup(ambigPrefix + name);
324 return Identifier.lookup(name.substring(ambigPrefix.length()));