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:
parent
e2a5a6dbef
commit
30c47b2964
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue