Try the following command:
git add *AwesomeClass.java
But this will add all files with this name in the current directory or in any of its subdirectories as deep as possible.
If you want to add only a specific file inside a specific directory, you can try:
git add *subfolder/SomeAwesomeClass.java
You can also try the following to add all files to a specific directory:
git add *subfolder
Please note that there are no spaces before or after the asterisk symbol.
I tried them on Mac OS X with the exact same script, and it worked.