Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Get an IType's type signature?(Retrieving the type signature of a particular IType.)
Get an IType's type signature? [message #1734716] Fri, 10 June 2016 14:08
Raffi Khatchadourian is currently offline Raffi KhatchadourianFriend
Messages: 8
Registered: July 2015
Junior Member

The method org.eclipse.jdt.core.IType.getSuperclassTypeSignature() can be used to retrieve the type signature of an IType's superclass. However, I cannot find an easy way to retrieve the type signature of the IType itself.

I have tried using org.eclipse.jdt.core.Signature.createTypeSignature(String, boolean) by passing the result of org.eclipse.jdt.core.IType.getFullyQualifiedParameterizedName() and org.eclipse.jdt.core.IType.isResolved(), however, that doesn't work when the type has bounded type parameters. In this case, I am receiving an exception.
Previous Topic:Search Java Index for all constructors of a specific type
Next Topic:Cannot add Builders to Project programmatically
Goto Forum:
  


Current Time: Fri Apr 26 23:32:17 GMT 2024

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

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

Back to the top