If all you are doing is compiling your code, then the answer no, .class files are NOT safe is this from decompilation.
You can encrypt you class files and create your own class loader to load them...
Try looking at this thread269-511990 and see if this answer your questions.