Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base validation method on a functional interface
Add stubs for all Java versions
- Loading branch information
Showing
21 changed files
with
107 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
javaparser-core/src/main/java/com/github/javaparser/ast/validator/Java1_1Validator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.javaparser.ast.validator; | ||
|
||
/** | ||
* This validator validates according to Java 8 syntax rules. | ||
*/ | ||
public class Java1_1Validator extends Validators { | ||
public Java1_1Validator() { | ||
super( | ||
new Java1_0Validator() | ||
); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
javaparser-core/src/main/java/com/github/javaparser/ast/validator/Java1_2Validator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.javaparser.ast.validator; | ||
|
||
/** | ||
* This validator validates according to Java 8 syntax rules. | ||
*/ | ||
public class Java1_2Validator extends Validators { | ||
public Java1_2Validator() { | ||
super( | ||
new Java1_1Validator() | ||
); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
javaparser-core/src/main/java/com/github/javaparser/ast/validator/Java1_3Validator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.javaparser.ast.validator; | ||
|
||
/** | ||
* This validator validates according to Java 8 syntax rules. | ||
*/ | ||
public class Java1_3Validator extends Validators { | ||
public Java1_3Validator() { | ||
super( | ||
new Java1_2Validator() | ||
); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
javaparser-core/src/main/java/com/github/javaparser/ast/validator/Java1_4Validator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.javaparser.ast.validator; | ||
|
||
/** | ||
* This validator validates according to Java 8 syntax rules. | ||
*/ | ||
public class Java1_4Validator extends Validators { | ||
public Java1_4Validator() { | ||
super( | ||
new Java1_3Validator() | ||
); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
javaparser-core/src/main/java/com/github/javaparser/ast/validator/Java5Validator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.javaparser.ast.validator; | ||
|
||
/** | ||
* This validator validates according to Java 8 syntax rules. | ||
*/ | ||
public class Java5Validator extends Validators { | ||
public Java5Validator() { | ||
super( | ||
new Java1_4Validator() | ||
); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
javaparser-core/src/main/java/com/github/javaparser/ast/validator/Java6Validator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.javaparser.ast.validator; | ||
|
||
/** | ||
* This validator validates according to Java 8 syntax rules. | ||
*/ | ||
public class Java6Validator extends Validators { | ||
public Java6Validator() { | ||
super( | ||
new Java5Validator() | ||
); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
javaparser-core/src/main/java/com/github/javaparser/ast/validator/Java7Validator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.javaparser.ast.validator; | ||
|
||
/** | ||
* This validator validates according to Java 8 syntax rules. | ||
*/ | ||
public class Java7Validator extends Validators { | ||
public Java7Validator() { | ||
super( | ||
new Java6Validator() | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters