mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
extra constructor
This commit is contained in:
parent
9e0823e2e8
commit
5737282b4c
1 changed files with 9 additions and 0 deletions
|
@ -10,8 +10,17 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.core.browser;
|
package org.eclipse.cdt.core.browser;
|
||||||
|
|
||||||
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
public class UnknownTypeInfo extends TypeInfo {
|
public class UnknownTypeInfo extends TypeInfo {
|
||||||
|
|
||||||
|
public UnknownTypeInfo(String name, IPath path) {
|
||||||
|
this(new QualifiedTypeName(name));
|
||||||
|
if (path != null) {
|
||||||
|
addReference(new TypeReference(path, null));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public UnknownTypeInfo(IQualifiedTypeName typeName) {
|
public UnknownTypeInfo(IQualifiedTypeName typeName) {
|
||||||
super(0, typeName);
|
super(0, typeName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue