Class Java1_0Validator
- java.lang.Object
-
- com.github.javaparser.ast.validator.Validators
-
- com.github.javaparser.ast.validator.Java1_0Validator
-
- All Implemented Interfaces:
TypedValidator<Node>,Validator,BiConsumer<Node,ProblemReporter>
- Direct Known Subclasses:
Java1_1Validator
public class Java1_0Validator extends Validators
This validator validates according to Java 1.0 syntax rules.
-
-
Field Summary
Fields Modifier and Type Field Description protected ValidatormodifiersWithoutStrictfpAndDefaultAndStaticInterfaceMethodsAndPrivateInterfaceMethodsprotected ValidatornoAnnotationsprotected ValidatornoAssertKeywordprotected ValidatornoBinaryIntegerLiteralsprotected ValidatornoEnumsprotected ValidatornoForEachprotected ValidatornoGenericsprotected ValidatornoInnerClassesprotected ValidatornoLambdasprotected ValidatornoModulesprotected ValidatornoMultiCatchprotected ValidatornoReflectionprotected ValidatornoStaticImportsprotected ValidatornoStringsInSwitchprotected ValidatornoUnderscoresInIntegerLiteralsprotected ValidatornoVarargsprotected SingleNodeTypeValidator<TryStmt>tryWithoutResources
-
Constructor Summary
Constructors Constructor Description Java1_0Validator()
-
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
-
modifiersWithoutStrictfpAndDefaultAndStaticInterfaceMethodsAndPrivateInterfaceMethods
protected final Validator modifiersWithoutStrictfpAndDefaultAndStaticInterfaceMethodsAndPrivateInterfaceMethods
-
noAssertKeyword
protected final Validator noAssertKeyword
-
noInnerClasses
protected final Validator noInnerClasses
-
noReflection
protected final Validator noReflection
-
noGenerics
protected final Validator noGenerics
-
tryWithoutResources
protected final SingleNodeTypeValidator<TryStmt> tryWithoutResources
-
noAnnotations
protected final Validator noAnnotations
-
noEnums
protected final Validator noEnums
-
noVarargs
protected final Validator noVarargs
-
noForEach
protected final Validator noForEach
-
noStaticImports
protected final Validator noStaticImports
-
noStringsInSwitch
protected final Validator noStringsInSwitch
-
noBinaryIntegerLiterals
protected final Validator noBinaryIntegerLiterals
-
noUnderscoresInIntegerLiterals
protected final Validator noUnderscoresInIntegerLiterals
-
noMultiCatch
protected final Validator noMultiCatch
-
noLambdas
protected final Validator noLambdas
-
noModules
protected final Validator noModules
-
-