Compiler version
2ec9c52
Minimized code
Having a symbol of a class, we can retrieve from compiler API the information about:
- declared methods
- declared + inherited methods
- declared fields
- declared + inherited fields
- declared types
However, we can't retrieve information about inherited types.
Expectation
Looking at the API, I'm not sure if it's not a oversight since there's a naming convention:
declaredMethods - methods declared in a class
methodMembers - methods declared in a class and inherited
declaredFields - fields declared in a class
fieldMembers - fields declared in a class and inherited
And the method: typeMembers breaks the convention since it returns only declared types.
Aren't we missing this method?
Compiler version
2ec9c52
Minimized code
Having a symbol of a class, we can retrieve from compiler API the information about:
However, we can't retrieve information about inherited types.
Expectation
Looking at the API, I'm not sure if it's not a oversight since there's a naming convention:
declaredMethods- methods declared in a classmethodMembers- methods declared in a class and inheriteddeclaredFields- fields declared in a classfieldMembers- fields declared in a class and inheritedAnd the method:
typeMembersbreaks the convention since it returns only declared types.Aren't we missing this method?