Skip to content

jgsofi/shittyMacro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Since fixing this in eclipse is a pain in the ass, but doing it manually makes me hate my existance, we instead use an external python script to autogenerate boring java code.

"Install"

git clone https://github.com/jgsofi/shittyMacro.git
cd shittyMacro
pip install -r requirements.txt
ln -s $PWD/hes.py $HOME/bin/hes

Run

hes $( find . -name MyClass.java )

Then select the methods you want, and it will append a hashCode and equals function to your class.

Disclaimer

This is a pile of hacks made quickly without error handling. Commit your code before letting this shitty python stick random snippets into it!

About

Command line java code generators for Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages