properties can be directly retrieved from DeclaredType without calling
asElement().