Adding patterns for Java...