NState.java:38: Can't access protected method clone in class java.lang.Object. jp.gr.java_conf.kbttshy.regex.NState. PartState is not a subclass of the current class. partState[i] = (PartState)tmp.clone();