Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Applying Annotations to newly created IType
Applying Annotations to newly created IType [message #258901] Mon, 02 March 2009 11:42
Eclipse UserFriend
I have a custom newType wizard designed to create a persistent
(javax.persistence) entity class with standard annotations. Unfortunately,
while I can annotate the new methods and or fields, I can't figure out how
to apply annotations to the IType object provided by the NewTypeWizardPage
superclass.

I can get an IAnnotation handle from the IType, but this doesn't actually
add the annotation to the type. Is there a way to do this without getting
the source and recompiling the type?
Previous Topic:Launch and access the Preference subset page
Next Topic:problem with ITypeBinding.getQualifiedName()
Goto Forum:
  


Current Time: Fri Apr 25 03:07:22 EDT 2025

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

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

Back to the top