Note that there are some explanatory texts on larger screens.

plurals
  1. POjava source parsing library for python
    primarykey
    data
    text
    <p>Ive been searching for a while and can't seem to find what im looking for. What I want to do is write a python script to report problems and enforce code standards in Java code. Everything I have found so far has been things to translate java into python or python into java and that isn't really what I want. Im looking for a python library that can parse a multi-thousand class project and present the source itself in python in such a way where I can write rules something like</p> <ul> <li>every class must have class level javadoc </li> <li>every class must have a @primaryContactName tag in class level javadoc </li> <li>every class must have a @primaryContactEmail tag in class level javadoc </li> <li>the authorized 3rd party library list is {1,2,3,4,5} are any libraries other than this list used </li> <li>all lists and maps fully type safe. </li> <li>bla bla bla</li> </ul> <p>I reallize that I can get a great deal of this info from javac with very little effort, and I may investigate using javac to make version work, but im looking to do something a bit more advanced where I can build in real analytics</p> <p>I have done similar with XDoclet in the past, but that was primarily used to mantain metadata in the source code about what systems it was accessing and such, nothing really to this analytics level im looking for now.</p> <p>Anyone come across a python library that would help out with this? I would consider other languages (java, c, etc) its simply in my current situation, python is easier to work with than anything else.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload