public ASType getType() { ASPackage pkg = getPackage(); if (pkg == null) { return null; } return pkg.getType(); }