Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] How get the type of the field from IField instance

Long time ago I've hacked this: https://github.com/iloveeclipse/datahierarchy/blob/master/DataHierarchy/src/de/loskutov/dh/search/SearchUtils.java#L168
 
That resolves the full qualified type name.
 
Kind regards,
Andrey Loskutov

Спасение утопающих - дело рук самих утопающих

https://www.eclipse.org/user/aloskutov
 
 
Gesendet: Mittwoch, 30. Dezember 2020 um 10:59 Uhr
Von: "Gayan Perera" <gayanper@xxxxxxxxx>
An: "Eclipse JDT general developers list." <jdt-dev@xxxxxxxxxxx>
Betreff: [jdt-dev] How get the type of the field from IField instance
Hi Friends,
 
I'm working on an autocompletion plugin for method reference proposals. In the implementation i would like to get the type of the field represented by a IField instance. For IMethod there is a getter which returns the Method return type, But for IField i couldn't find such a getter which returns the type of field. Please let me know if there is a way to get an IType instance for the field type.
 
Best regards,
Gayan.
_______________________________________________ jdt-dev mailing list jdt-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev

Back to the top