Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-core-dev] looking for a way to convert ITypeBinding (not-primary type) to IType

hello all,
i have an ITypeBiding for a non-primary top-level  IType (e.g. top-level class A declared in B.java)
anybody has an idea on how to get an IType from that ITypeBinding?
i have this:
Binding2JavaModel::find(ITypeBinding, IJavaProject)

but it fails for non-primary top-level types



Maybe some API is missing on ITypeBinding to get a pointer to a compilation unit (at least the name of the cu in which the type is
declared)



yours, grateful for ideas.

a.

ps.




Back to the top