mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +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
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Symbian - Initial API and implementation
|
* Symbian - Initial API and implementation
|
||||||
* Markus Schorn (Wind River Systems)
|
* Markus Schorn (Wind River Systems)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
|
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
|
* Mirrors type-hierarchy from DOM interfaces
|
||||||
*/
|
*/
|
||||||
public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding {
|
public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding {
|
||||||
|
|
||||||
@SuppressWarnings("hiding")
|
@SuppressWarnings("hiding")
|
||||||
protected static final int RECORD_SIZE= PDOMBinding.RECORD_SIZE + 0;
|
protected static final int RECORD_SIZE= PDOMBinding.RECORD_SIZE + 0;
|
||||||
|
|
||||||
public PDOMCPPBinding(PDOMLinkage linkage, long record) {
|
public PDOMCPPBinding(PDOMLinkage linkage, long record) {
|
||||||
super(linkage, 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 {
|
public PDOMCPPBinding(PDOMLinkage linkage, PDOMNode parent, char[] name) throws CoreException {
|
||||||
super(linkage, parent, name);
|
super(linkage, parent, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
final public char[][] getQualifiedNameCharArray() throws DOMException {
|
final public char[][] getQualifiedNameCharArray() throws DOMException {
|
||||||
List<char[]> result = new ArrayList<char[]>();
|
List<char[]> result = new ArrayList<char[]>();
|
||||||
try {
|
try {
|
||||||
PDOMNode node = this;
|
PDOMNode node = this;
|
||||||
while (node != null) {
|
while (node != null) {
|
||||||
if (node instanceof PDOMBinding && !(node instanceof ICPPTemplateInstance)) {
|
if (node instanceof PDOMBinding && !(node instanceof ICPPTemplateInstance)) {
|
||||||
result.add(0, ((PDOMBinding)node).getName().toCharArray());
|
result.add(0, ((PDOMBinding) node).getName().toCharArray());
|
||||||
}
|
}
|
||||||
node = node.getParentNode();
|
node = node.getParentNode();
|
||||||
}
|
}
|
||||||
|
@ -60,5 +60,5 @@ public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding
|
||||||
public final boolean isGloballyQualified() throws DOMException {
|
public final boolean isGloballyQualified() throws DOMException {
|
||||||
// local stuff is not stored in the index.
|
// local stuff is not stored in the index.
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue