1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

ITypeEntry baseTypes can now set/return IIndexEntry

This commit is contained in:
Bogdan Gheorghe 2005-05-27 20:03:49 +00:00
parent 73c23e6b19
commit 97ac9f71a0
2 changed files with 5 additions and 4 deletions

View file

@ -41,6 +41,6 @@ public interface ITypeEntry extends INamedEntry {
* Returns the types that are inherited * Returns the types that are inherited
* @return an array of char arrays - each representing a separate type that this entry inherits from * @return an array of char arrays - each representing a separate type that this entry inherits from
*/ */
public char[][] getBaseTypes(); public IIndexEntry[] getBaseTypes();
} }

View file

@ -11,10 +11,11 @@
package org.eclipse.cdt.internal.core.index; package org.eclipse.cdt.internal.core.index;
public class TypeEntry extends NamedEntry implements ITypeEntry { public class TypeEntry extends NamedEntry implements ITypeEntry {
int type_kind; int type_kind;
char[][] baseTypes; IIndexEntry[] baseTypes;
public TypeEntry(int type_kind, int entry_type, char[][] fullName, int modifiers, int fileNumber){ public TypeEntry(int type_kind, int entry_type, char[][] fullName, int modifiers, int fileNumber){
super(IIndex.TYPE, entry_type, fullName, modifiers, fileNumber); super(IIndex.TYPE, entry_type, fullName, modifiers, fileNumber);
@ -29,11 +30,11 @@ public class TypeEntry extends NamedEntry implements ITypeEntry {
return type_kind; return type_kind;
} }
public void setBaseTypes(char[][] baseTypes) { public void setBaseTypes(IIndexEntry[] baseTypes) {
this.baseTypes=baseTypes; this.baseTypes=baseTypes;
} }
public char[][] getBaseTypes() { public IIndexEntry[] getBaseTypes() {
return baseTypes; return baseTypes;
} }