net.sourceforge.pmd.lang.java

## Class Java17Parser

- java.lang.Object
- - net.sourceforge.pmd.lang.AbstractParser
  - - net.sourceforge.pmd.lang.java.AbstractJavaParser
    - - net.sourceforge.pmd.lang.java.Java17Parser

All Implemented Interfaces:
  Parser

    public class Java17Parser
    extends AbstractJavaParser

Adapter for the JavaParser, using Java 1.7 grammar.

### Field Summary

### Fields inherited from class net.sourceforge.pmd.lang.AbstractParser

`parserOptions`

### Constructor Summary

Constructors
Constructor and Description
`Java17Parser(ParserOptions parserOptions)`

### Method Summary

Methods
`protected JavaParser` `createJavaParser(Reader source)` Subclass should override this method to modify the JavaParser as needed.

### Methods inherited from class net.sourceforge.pmd.lang.java.AbstractJavaParser

`canParse, createTokenManager, getSuppressMap, parse`

### Methods inherited from class net.sourceforge.pmd.lang.AbstractParser

`getParserOptions, getTokenManager`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Constructor Detail

#### Java17Parser

    public Java17Parser(ParserOptions parserOptions)

### Method Detail

#### createJavaParser

    protected JavaParser createJavaParser(Reader source)
                                   throws ParseException

Description copied from class: `AbstractJavaParser`
Subclass should override this method to modify the JavaParser as needed.

Overrides:
  `createJavaParser` in class `AbstractJavaParser`
Throws:
  `ParseException`