add java threadsafe keyword
add java import, class and interface decl types