1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Add a new Named Entry constructor that takes strings

This commit is contained in:
Bogdan Gheorghe 2005-05-30 12:53:17 +00:00
parent e2a5a6dbef
commit 30c47b2964

View file

@ -22,6 +22,11 @@ public class NamedEntry extends CIndexStorageEntry implements INamedEntry {
this.modifiers = modifiers;
}
public NamedEntry(int meta_kind, int entry_type, String simpleName, int modifiers, int fileNumber){
super(meta_kind, entry_type, fileNumber);
this.fullName = new char[][]{simpleName.toCharArray()};
this.modifiers = modifiers;
}
public char[][] getFullName(){
return fullName;
}