mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
d2047f3306
commit
6f33dd512d
1 changed files with 8 additions and 8 deletions
|
@ -6,8 +6,8 @@
|
|||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* Symbian - Initial API and implementation
|
||||
* Markus Schorn (Wind River Systems)
|
||||
* Symbian - Initial API and implementation
|
||||
* Markus Schorn (Wind River Systems)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
|
||||
|
@ -28,10 +28,10 @@ import org.eclipse.core.runtime.CoreException;
|
|||
* Mirrors type-hierarchy from DOM interfaces
|
||||
*/
|
||||
public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding {
|
||||
|
||||
|
||||
@SuppressWarnings("hiding")
|
||||
protected static final int RECORD_SIZE= PDOMBinding.RECORD_SIZE + 0;
|
||||
|
||||
|
||||
public PDOMCPPBinding(PDOMLinkage linkage, long record) {
|
||||
super(linkage, record);
|
||||
}
|
||||
|
@ -39,14 +39,14 @@ public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding
|
|||
public PDOMCPPBinding(PDOMLinkage linkage, PDOMNode parent, char[] name) throws CoreException {
|
||||
super(linkage, parent, name);
|
||||
}
|
||||
|
||||
|
||||
final public char[][] getQualifiedNameCharArray() throws DOMException {
|
||||
List<char[]> result = new ArrayList<char[]>();
|
||||
try {
|
||||
PDOMNode node = this;
|
||||
while (node != null) {
|
||||
if (node instanceof PDOMBinding && !(node instanceof ICPPTemplateInstance)) {
|
||||
result.add(0, ((PDOMBinding)node).getName().toCharArray());
|
||||
if (node instanceof PDOMBinding && !(node instanceof ICPPTemplateInstance)) {
|
||||
result.add(0, ((PDOMBinding) node).getName().toCharArray());
|
||||
}
|
||||
node = node.getParentNode();
|
||||
}
|
||||
|
@ -60,5 +60,5 @@ public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding
|
|||
public final boolean isGloballyQualified() throws DOMException {
|
||||
// local stuff is not stored in the index.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue