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

extra constructor

This commit is contained in:
Chris Wiebe 2004-09-02 16:36:45 +00:00
parent 9e0823e2e8
commit 5737282b4c

View file

@ -10,7 +10,16 @@
*******************************************************************************/
package org.eclipse.cdt.core.browser;
import org.eclipse.core.runtime.IPath;
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) {
super(0, typeName);