Code Monkey home page Code Monkey logo

Comments (4)

romani avatar romani commented on May 22, 2024

referencing method with "this" is very weird thing to my mind, Checkstyle could do it, but ...

  1. Can you please extend description why you need this?
  2. What is a problem you are try to resolve by means of this?
  3. a bit more evidence that somebody require this too, and do use such notation.

there is no room for this feature to be implemented by us in nearest future, we are tiny team and in progress of SF->Github transition, pull request are welcome.
It have to be done a an option for this Check and it will be switched OFF by default for sure.

If no good evidence will be provided for this feature, and All admins give approval, you can host it in our experimental pool of Checks https://github.com/sevntu-checkstyle/sevntu.checkstyle/issues?state=open. in that pool we can host any Checks, to let you test Check before it prove it is in demand by wide community.

from checkstyle.

krzyk avatar krzyk commented on May 22, 2024

According to checkstyle documentation (at http://checkstyle.sourceforge.net/config_coding.html#RequireThis) it should already handle both fields and methods, I assume that at some point it did but later it just broke.
So no need to create a seperate check, just a fix to the current one (or a fix to documentation to remove the checkMethods whether we should check methods usage or not text)

from checkstyle.

romani avatar romani commented on May 22, 2024

Thanks a lot for point to the documentation, now issue is classified as bug, will be fixed soon, you are welcome with pull request.

from checkstyle.

isopov avatar isopov commented on May 22, 2024

My fix is at #42

from checkstyle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.