Member predicate Member::Field::getSourceDeclaration

Gets the source declaration of this field.

For fields that are members of a parameterized instance of a generic type, the source declaration is the corresponding field in the generic type.

For all other fields, the source declaration is the field itself.

Field getSourceDeclaration()