[snips] Add first snippets for Java: con, log.