Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] API question: How to determine missing type binding

Le mercredi 26 mai 2021 à 22:35:07 UTC+2, Munawar Hafiz <munawar.hafiz@xxxxxxxxx> a écrit :


While using resolve binding, I am sometimes getting a type binding with its name having a prefix "MISSING:" .

What is an elegant way to determine from a type binding if the binding has a "MISSING:" prefix? I have tried using typeBinding.isRecovered() and checking if this is true. While that worked on my tests, I am not sure if that is the correct way of doing this.

Thanks.

Munawar

_______________________________________________
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