Common patterns in Java language.