<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#444444">Hi all,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#444444">My goal is to remove a DeclStmt from the beginning to end (including the semicolon) using the Rewriter.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#444444">However, calling getEnd() on a DeclStmt does not give the correct location. Is there a way to get the end location properly?</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#444444"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best,<div>Pardis</div></div></div></div></div>