facebook

Using ASTRewrite

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #232872 Reply

    bejoyk
    Member

    Hi

    Using ASTRewrite i was able to remove an ASTNode from the active file.
    Now i have a FieldDeclaration Node (“private int i= 10 “) to be written back to the file How can i do that?

    I tried to use ListRewrite using

    getListRewrite(ASTNode node, ChildListPropertyDescriptor property) in ASTRewrite

    But from where i will get ChildListPropertyDescriptor..

    I am new to this field Please help me

    Thanks in Advance

    With Regards
    Bejoy

    #232888 Reply

    Riyad Kalla
    Member

    What is this in reference to? (AST?)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Using ASTRewrite

You must be logged in to post in the forum log in