Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hint for adding "this." to methods and variables #39

Closed
markiewb opened this issue May 30, 2014 · 5 comments
Closed

Add hint for adding "this." to methods and variables #39

markiewb opened this issue May 30, 2014 · 5 comments
Milestone

Comments

@markiewb
Copy link
Owner

Taken from a request at mailing list

 I want to identify and refactor fields and member functions so that they all have the optional "this." present instead of possibly absent.
@markiewb
Copy link
Owner Author

Fixed in 1.3

@markiewb
Copy link
Owner Author

markiewb commented Jun 3, 2014

Reopen because of the following Issue: members with this are also matched and transformed
F.e. this.dialog -> this.this.dialog (WRONG)

@markiewb markiewb reopened this Jun 3, 2014
markiewb added a commit that referenced this issue Jun 3, 2014
@markiewb
Copy link
Owner Author

markiewb commented Jun 3, 2014

Fixed in 1.3.0.1-SN

@markiewb markiewb closed this as completed Jun 3, 2014
markiewb added a commit that referenced this issue Jun 5, 2014
markiewb added a commit that referenced this issue Jun 5, 2014
* feature/issue39-otherfixes:
  issue #39: exclude identifier within @annotation, exclude "super" identifier
  issue #39: example
@markiewb
Copy link
Owner Author

markiewb commented Jun 5, 2014

Issue was reported

I notice it has problems with annotations of a certain type. Just add @SuppressWarnings(value="unchecked") to the member method. It'll get transformed into @SuppressWarnings(this.value="unchecked")
And I've just noticed that the more normal @SuppressWarnings("unchecked") turns into @SuppressWarnings(this."unchecked")
Also "super.member();" gets turned into "this.super().member();" when in a derived class you're trying to call the routine in the base class.

@markiewb markiewb reopened this Jun 5, 2014
@markiewb
Copy link
Owner Author

markiewb commented Jun 5, 2014

Fixed in 1.3.0.2-SN

@markiewb markiewb closed this as completed Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant