Class Java7Validator
- java.lang.Object
-
- com.github.javaparser.ast.validator.Validators
-
- com.github.javaparser.ast.validator.Java1_0Validator
-
- com.github.javaparser.ast.validator.Java1_1Validator
-
- com.github.javaparser.ast.validator.Java1_2Validator
-
- com.github.javaparser.ast.validator.Java1_3Validator
-
- com.github.javaparser.ast.validator.Java1_4Validator
-
- com.github.javaparser.ast.validator.Java5Validator
-
- com.github.javaparser.ast.validator.Java6Validator
-
- com.github.javaparser.ast.validator.Java7Validator
-
- All Implemented Interfaces:
TypedValidator<Node>
,Validator
,BiConsumer<Node,ProblemReporter>
- Direct Known Subclasses:
Java8Validator
public class Java7Validator extends Java6Validator
This validator validates according to Java 7 syntax rules.
-
-
Field Summary
Fields Modifier and Type Field Description protected SingleNodeTypeValidator<UnionType>
multiCatch
protected SingleNodeTypeValidator<TryStmt>
tryWithLimitedResources
-
Fields inherited from class com.github.javaparser.ast.validator.Java5Validator
enumNotAllowed, noPrimitiveGenericArguments
-
Fields inherited from class com.github.javaparser.ast.validator.Java1_2Validator
modifiersWithoutDefaultAndStaticInterfaceMethodsAndPrivateInterfaceMethods, strictfpNotAllowed
-
Fields inherited from class com.github.javaparser.ast.validator.Java1_1Validator
innerClasses
-
Fields inherited from class com.github.javaparser.ast.validator.Java1_0Validator
modifiersWithoutStrictfpAndDefaultAndStaticInterfaceMethodsAndPrivateInterfaceMethods, noAnnotations, noAssertKeyword, noBinaryIntegerLiterals, noEnums, noForEach, noGenerics, noInnerClasses, noLambdas, noModules, noMultiCatch, noReflection, noStaticImports, noStringsInSwitch, noUnderscoresInIntegerLiterals, noVarargs, tryWithoutResources
-
-
Constructor Summary
Constructors Constructor Description Java7Validator()
-
Method Summary
-
Methods inherited from class com.github.javaparser.ast.validator.Validators
accept, add, getValidators, remove, replace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface com.github.javaparser.ast.validator.TypedValidator
postProcessor
-
-
-
-
Field Detail
-
tryWithLimitedResources
protected final SingleNodeTypeValidator<TryStmt> tryWithLimitedResources
-
multiCatch
protected final SingleNodeTypeValidator<UnionType> multiCatch
-
-