Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to get the (inner) IType of a IField
How to get the (inner) IType of a IField [message #259162] Fri, 20 March 2009 07:10
Eclipse UserFriend
Hi all,

Here's my problem : after struggling pretty much to get the IType of most
IFields I can't find a way to find IType of IFields that are declared like
that :

public class AClass
{
AnotherClass.AnInnerClass aField;
}

public interface AnotherClass
{
public interface AnInnerClass
extends InnerSuperClass
{}
}

Here another class is actually an interface but it should cause any
problems. To find the "casual" fields I used the resolveType function of
the IType that contains the fields but it doesn't seem to work for inner
classes.

Any help would be great !

Julien
Previous Topic:Open Implementation on private method
Next Topic:How to modify the field declaration with jdt
Goto Forum:
  


Current Time: Thu Apr 17 22:01:15 EDT 2025

Powered by FUDForum. Page generated in 0.04044 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top