// dependent on the compilation unit for the class or interface specified by 'type'.
if (type != null)
{
FlexProject project = builder.getProject();
ITypeDefinition t = type;
// for Vectors we want to create a dependency on the element type - we don't
// need a dependency on Vector itself, as it's builtin
while (t instanceof AppliedVectorDefinition)
{
t = ((AppliedVectorDefinition)t).resolveElementType(project);
}
String qname = t.getQualifiedName();
builder.addDependency(qname, DependencyType.EXPRESSION);
if (getID() != null)
builder.addDependency(qname, DependencyType.SIGNATURE);
}
else