Add javapats patterns.