add stub method isDeclaredType to TypeMetaInfo