01: package org.acm.seguin.pmd;
02:
03: import net.sourceforge.jrefactory.parser.JavaParser;
04:
05: import java.io.InputStream;
06: import java.io.Reader;
07:
08: public class JLS1_4 implements JLSVersion {
09: public JavaParser createParser(InputStream in) {
10: return new JavaParser(in);
11: }
12:
13: public JavaParser createParser(Reader in) {
14: return new JavaParser(in);
15: }
16: }
|