Skip to main content



      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 10:08
Eclipse UserFriend
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 May 16 18:09:02 EDT 2025

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

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

Back to the top