// Only check for packages if we don't have a base expression.
// in a.b.c, 'a', 'a.b', or 'a.b.c' could be package names, but not 'c' or 'b.c'
String ref = this.computeSimpleReference();
if (ref != null)
{
ASScope scope = getASScope();
if (scope.isPackageName(ref))
isPackage = true;
}
}
return isPackage;
}