Implemented generic code completion facility.
Implemented Java specific code completion.