Skip to content

Commit

Permalink
Merge tag 'javaparser-parent-3.26.2'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/maven_tests.yml
#	changelog.md
#	javaparser-core-generators/pom.xml
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/CompilationUnitGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/VisitorGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/CoreGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/AcceptGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/PropertyGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/TypeCastingGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/other/BndGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/quality/NotNullGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/utils/CodeUtils.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/GenericListVisitorAdapterGenerator.java
#	javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/ModifierVisitorGenerator.java
#	javaparser-core-generators/src/test/java/com/github/javaparser/generator/core/quality/NotNullGeneratorTest.java
#	javaparser-core-generators/src/test/java/com/github/javaparser/generator/core/utils/CodeUtilsTest.java
#	javaparser-core-metamodel-generator/pom.xml
#	javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/MetaModelGenerator.java
#	javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/NodeMetaModelGenerator.java
#	javaparser-core-serialization/pom.xml
#	javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/JavaParserJsonDeserializer.java
#	javaparser-core-serialization/src/test/java/com/github/javaparser/serialization/JavaParserJsonSerializerTest.java
#	javaparser-core-testing-bdd/pom.xml
#	javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/ManipulationSteps.java
#	javaparser-core-testing/pom.xml
#	javaparser-core-testing/src/test/java/com/github/javaparser/Issue2482Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/JavaParserTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/LineSeparatorProcessorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/PositionMappingTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/RangeTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/TokenTypesTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/UnicodeEscapeProcessingProviderTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/CompilationUnitTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/ParseResultTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/WalkFindTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/ClassOrInterfaceDeclarationTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/FieldDeclarationTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/RecordDeclarationTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/expr/NameTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/nodeTypes/NodeWithArgumentsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/nodeTypes/NodeWithModifiersTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/stmt/SwitchStmtTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/type/ArrayTypeTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/GenericVisitorWithDefaultsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/HashCodeVisitorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/NoCommentHashCodeVisitorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/ObjectIdentityHashCodeVisitorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/VoidVisitorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/VoidVisitorWithDefaultsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/builders/CompilationUnitBuildersTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/builders/FieldDeclarationBuildersTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/builders/NodeWithMembersBuildersTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/builders/NodeWithParametersBuildersTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/ConcreteSyntaxModelAcceptanceTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/DefaultPrettyPrinterTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/PrettyPrintVisitorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/PrettyPrinterTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/XmlPrinterTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/YamlPrinterTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/AbstractLexicalPreservingTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/AnnotationSpaceTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/DifferenceElementCalculatorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue1467Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue1634Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue1766Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue1793Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue2137Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue2290Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue2374Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue2517Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue2610Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue2806Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3296Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3358Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3387Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3440Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3441Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3721Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3746Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3750Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3761Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3773Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3796Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue3818Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue4104Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/Issue4163Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/LexicalDifferenceCalculatorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/LexicalPreservingPrinterTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/PeekingIteratorTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/PrettyPrinterIssue2340Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/PrettyPrinterIssue2351Test.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/TransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/changes/NoChangeTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/ArrayCreationLevelTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/CompilationUnitTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/AnnotationDeclarationTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/AnnotationMemberDeclarationTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ClassOrInterfaceDeclarationTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ConstructorDeclarationTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/EnumDeclarationTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/FieldDeclarationTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/MethodDeclarationTransformationsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/quality/PreconditionsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/remove/NodeRemovalTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/utils/PositionUtilsTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/utils/SourceRootTest.java
#	javaparser-core-testing/src/test/java/com/github/javaparser/utils/VisitorMapTest.java
#	javaparser-core/pom.xml
#	javaparser-core/src/main/java/com/github/javaparser/CommentsInserter.java
#	javaparser-core/src/main/java/com/github/javaparser/HasParentNode.java
#	javaparser-core/src/main/java/com/github/javaparser/JavaParser.java
#	javaparser-core/src/main/java/com/github/javaparser/JavaToken.java
#	javaparser-core/src/main/java/com/github/javaparser/JavadocParser.java
#	javaparser-core/src/main/java/com/github/javaparser/LineEndingProcessingProvider.java
#	javaparser-core/src/main/java/com/github/javaparser/ParseProblemException.java
#	javaparser-core/src/main/java/com/github/javaparser/ParseResult.java
#	javaparser-core/src/main/java/com/github/javaparser/ParserConfiguration.java
#	javaparser-core/src/main/java/com/github/javaparser/Problem.java
#	javaparser-core/src/main/java/com/github/javaparser/Providers.java
#	javaparser-core/src/main/java/com/github/javaparser/StaticJavaParser.java
#	javaparser-core/src/main/java/com/github/javaparser/TokenRange.java
#	javaparser-core/src/main/java/com/github/javaparser/TokenTypes.java
#	javaparser-core/src/main/java/com/github/javaparser/UnicodeEscapeProcessingProvider.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/ArrayCreationLevel.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/CompilationUnit.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/Generated.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/ImportDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/Modifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/Node.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/PackageDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/AnnotationMemberDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/BodyDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/CallableDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/ClassOrInterfaceDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/CompactConstructorDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/ConstructorDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/EnumConstantDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/EnumDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/FieldDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/InitializerDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/MethodDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/Parameter.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/ReceiverParameter.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/RecordDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/body/VariableDeclarator.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/comments/Comment.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/comments/CommentsCollection.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/comments/JavadocComment.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/AnnotationExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/ArrayAccessExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/ArrayCreationExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/ArrayInitializerExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/AssignExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/BinaryExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/CastExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/ClassExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/ConditionalExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/EnclosedExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/Expression.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/FieldAccessExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/InstanceOfExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/LambdaExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/LiteralStringValueExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/LongLiteralExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/MarkerAnnotationExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/MemberValuePair.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/MethodCallExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/MethodReferenceExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/Name.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/NameExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/NormalAnnotationExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/ObjectCreationExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/PatternExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/SimpleName.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/SingleMemberAnnotationExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/StringLiteralExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/SwitchExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/TextBlockLiteralExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/TypeExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/UnaryExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/expr/VariableDeclarationExpr.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/modules/ModuleDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/modules/ModuleDirective.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/modules/ModuleExportsDirective.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/modules/ModuleOpensDirective.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/modules/ModuleProvidesDirective.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/modules/ModuleRequiresDirective.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/modules/ModuleUsesDirective.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithAnnotations.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithArguments.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithExpression.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithExtends.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithIdentifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithImplements.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithMembers.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithModifiers.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithName.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithOptionalLabel.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithParameters.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithSimpleName.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithStatements.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithThrownExceptions.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithType.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithTypeArguments.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithTypeParameters.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/modifiers/NodeWithAbstractModifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/modifiers/NodeWithFinalModifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/modifiers/NodeWithPrivateModifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/modifiers/NodeWithProtectedModifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/modifiers/NodeWithPublicModifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/modifiers/NodeWithStaticModifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/modifiers/NodeWithStrictfpModifier.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/observer/ObservableProperty.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/AssertStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/BlockStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/CatchClause.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/DoStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ExplicitConstructorInvocationStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ExpressionStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ForEachStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ForStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/IfStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/LabeledStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/LocalClassDeclarationStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/LocalRecordDeclarationStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/Statement.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/SwitchEntry.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/SwitchStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/SynchronizedStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ThrowStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/TryStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/UnparsableStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/WhileStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/stmt/YieldStmt.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/ArrayType.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/ClassOrInterfaceType.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/IntersectionType.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/PrimitiveType.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/Type.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/TypeParameter.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/UnionType.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/type/VarType.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/validator/ReservedKeywordValidator.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/validator/language_level_validations/Java17Validator.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/validator/language_level_validations/Java1_0Validator.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/validator/language_level_validations/UpgradeJavaMessage.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/validator/language_level_validations/chunks/ModifierValidator.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/validator/postprocessors/Java10PostProcessor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/CloneVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/EqualsVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/GenericVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/GenericVisitorWithDefaults.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/HashCodeVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ModifierVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/NoCommentEqualsVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/NoCommentHashCodeVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/NodeFinderVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ObjectIdentityEqualsVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ObjectIdentityHashCodeVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/VoidVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/VoidVisitorAdapter.java
#	javaparser-core/src/main/java/com/github/javaparser/ast/visitor/VoidVisitorWithDefaults.java
#	javaparser-core/src/main/java/com/github/javaparser/javadoc/Javadoc.java
#	javaparser-core/src/main/java/com/github/javaparser/javadoc/JavadocBlockTag.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/AnnotationDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/AnnotationExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/AnnotationMemberDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ArrayAccessExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ArrayCreationExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ArrayCreationLevelMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ArrayInitializerExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ArrayTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/AssertStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/AssignExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/BaseNodeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/BinaryExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/BlockCommentMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/BlockStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/BodyDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/BooleanLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/BreakStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/CallableDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/CastExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/CatchClauseMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/CharLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ClassExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ClassOrInterfaceDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ClassOrInterfaceTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/CommentMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/CompactConstructorDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/CompilationUnitMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ConditionalExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ConstructorDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ContinueStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/DerivedProperty.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/DoStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/DoubleLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/EmptyStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/EnclosedExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/EnumConstantDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/EnumDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ExplicitConstructorInvocationStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ExpressionMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ExpressionStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/FieldAccessExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/FieldDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ForEachStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ForStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/IfStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ImportDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/InitializerDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/InstanceOfExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/IntegerLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/InternalProperty.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/IntersectionTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/JavaParserMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/JavadocCommentMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LabeledStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LambdaExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LineCommentMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LiteralStringValueExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LocalClassDeclarationStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LocalRecordDeclarationStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/LongLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/MarkerAnnotationExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/MemberValuePairMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/MethodCallExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/MethodDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/MethodReferenceExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModifierMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModuleDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModuleDirectiveMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModuleExportsDirectiveMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModuleOpensDirectiveMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModuleProvidesDirectiveMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModuleRequiresDirectiveMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ModuleUsesDirectiveMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/NameExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/NameMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/NodeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/NonEmptyProperty.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/NormalAnnotationExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/NullLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ObjectCreationExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/OptionalProperty.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/PackageDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ParameterMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/PatternExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/PrimitiveTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/PropertyMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ReceiverParameterMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/RecordDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ReferenceTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ReturnStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/SimpleNameMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/SingleMemberAnnotationExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/StatementMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/StringLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/SuperExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/SwitchEntryMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/SwitchExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/SwitchStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/SynchronizedStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/TextBlockLiteralExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ThisExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/ThrowStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/TryStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/TypeDeclarationMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/TypeExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/TypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/TypeParameterMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/UnaryExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/UnionTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/UnknownTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/UnparsableStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/VarTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/VariableDeclarationExprMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/VariableDeclaratorMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/VoidTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/WhileStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/WildcardTypeMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/metamodel/YieldStmtMetaModel.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/ConcreteSyntaxModel.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/DefaultPrettyPrinterVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/DotPrinter.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/PrettyPrintVisitor.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/XmlPrinter.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/YamlPrinter.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/CsmAttribute.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/CsmConditional.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/CsmElement.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/CsmOrphanCommentsEnding.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/CsmToken.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/configuration/DefaultPrinterConfiguration.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/configuration/PrettyPrinterConfiguration.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/configuration/imports/DefaultImportOrderingStrategy.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ChildTextElement.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/Difference.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/DifferenceElementCalculator.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/LexicalDifferenceCalculator.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/LexicalPreservingPrinter.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/PeekingIterator.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/PhantomNodeLogic.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ReshuffledDiffElementExtractor.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/TextElement.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/TokenTextElement.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/Change.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/ListAdditionChange.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/ListRemovalChange.java
#	javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/ListReplacementChange.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/Context.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/MethodUsage.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/Navigator.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/Solver.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/ResolvedReferenceTypeDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/ResolvedTypeParameterDeclaration.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/logic/ConstructorResolutionLogic.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/logic/FunctionalInterfaceLogic.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/logic/InferenceContext.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/logic/InferenceVariableType.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/logic/MethodResolutionCapability.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/logic/MethodResolutionLogic.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/model/SymbolReference.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/model/typesystem/LazyType.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/model/typesystem/ReferenceTypeImpl.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/ResolvedArrayType.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/ResolvedIntersectionType.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/ResolvedPrimitiveType.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/ResolvedReferenceType.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/ResolvedTypeVariable.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/ResolvedUnionType.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/ResolvedWildcard.java
#	javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/ResolvedTypeParameterValueProvider.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/CodeGenerationUtils.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/Log.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/Pair.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/ParserCollectionStrategy.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/PositionUtils.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/SourceRoot.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/SourceZip.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/StringEscapeUtils.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/Utils.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/VisitorList.java
#	javaparser-core/src/main/java/com/github/javaparser/utils/VisitorSet.java
#	javaparser-core/src/main/javacc/java.jj
#	javaparser-symbol-solver-core/pom.xml
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/JavaSymbolSolver.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/core/resolution/MethodUsageResolutionCapability.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/core/resolution/SymbolResolutionCapability.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/FailureHandler.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFactory.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/TypeExtractor.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AbstractJavaParserContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/AnonymousClassDeclarationContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/BlockStmtContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/CompilationUnitContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/EnclosedExprContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/FieldAccessContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ForEachStatementContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/IfStatementContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/InstanceOfExprContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/JavaParserTypeDeclarationAdapter.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/LambdaExprContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/MethodCallExprContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/MethodReferenceExprContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/StatementContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/SwitchEntryContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/UnaryExprContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/VariableDeclarationExprContext.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/AstResolutionUtils.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserEnumDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeAdapter.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserTypeParameter.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistAnnotationMemberDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistClassDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistEnumDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistFactory.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistInterfaceDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistTypeDeclarationAdapter.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistUtils.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionAnnotationDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionClassAdapter.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionClassDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionEnumDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionFactory.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionInterfaceDeclaration.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionMethodResolutionLogic.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/SymbolSolver.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/promotion/ConditionalExprResolver.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/promotion/NumericConditionalExprHandler.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/BoundSet.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/LeastUpperBoundLogic.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeInference.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/ExpressionCompatibleWithType.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/ClassLoaderTypeSolver.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/CombinedTypeSolver.java
#	javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/JarTypeSolver.java
#	javaparser-symbol-solver-testing/pom.xml
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue128Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1364Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1370Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue144Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1479Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1511Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1518Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1526Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue156Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1599Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1713Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1757Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1769Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1774Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1817Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1868Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1945Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue1946Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2083Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2132Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2162Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2210Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2236Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2259Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2284Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2289Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue228Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue235Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2360.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2362Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2397Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2406Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue241Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2477Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2481Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2740Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue276Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2781Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2878Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue2909Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3028Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3038Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3045Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3083Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3087Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3099Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue314Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3159Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3184Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3308Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue343Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue347Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3866Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue3976Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue4037Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue4124Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue4284Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue4358Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/Issue546Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/JavaParserAPIIntegrationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/PullRequest2398Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/ConvertToUsageTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacadeTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/JavaParserTypeDeclarationAdapterTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserAnnotationDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserAnonymousClassDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserClassDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserEnumDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserInterfaceDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/JavaParserMethodDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/Issue257Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistClassDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistEnumDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistFieldDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistInterfaceDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/JavassistTypeParameterDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/LazyTypeTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/ReferenceTypeTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/TypeVariableUsageTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/WildcardUsageTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionAnnotationDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionClassDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionEnumDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ReflectionInterfaceDeclarationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/AbstractResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ArrayExprTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/CompilationUnitContextResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ConditionalExprTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ContextTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/DefaultPackageTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/EnumResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ImplementedOrExtendedTypeResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/JavaParserFacadeResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/MethodDescriptorTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/MethodLikeSignaturesTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/MethodReferenceResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/NotQuiteCyclicParentTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ReferenceTypeResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/SymbolSolverWithJavassistClassTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/SymbolSolverWithJavassistEnumTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/SymbolSolverWithJavassistInterfaceTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/TypeDescriptorTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/TypeInClassWithAnnotationAncestorTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/TypeResolutionWithSameNameTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/UnknownMethodsResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/VariableResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/VarTypeTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ClassOrInterfaceDeclarationContextResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/CompilationUnitContextResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/MethodCallExprContextResolutionTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/logic/FunctionalInterfaceLogicTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/NameLogicDisambiguationTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/NameLogicTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/NameLogicTestingJss060Test.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/LeastUpperBoundTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typesolvers/CombinedTypeSolverTest.java
#	javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typesolvers/ReflectionTypeSolverTest.java
#	pom.xml
#	readme.md
  • Loading branch information
wadoon committed Nov 15, 2024
2 parents 7250734 + 0ed1932 commit e7b9523
Show file tree
Hide file tree
Showing 1,203 changed files with 44,991 additions and 27,910 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Applied automatic formatting to the entire project
# See https://github.com/javaparser/javaparser/issues/4408 for details
5106428130cd3ff052a57d37a3d192f040da5edf
2 changes: 1 addition & 1 deletion .github/workflows/create_github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected].2
uses: actions/[email protected].7

- name: Create Release
id: create_release
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/formatting_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Check codegen and formatting

#on: [push, pull_request]
#on: [pull_request]
on:
# Trigger the workflow on push to master (ignoring .md only changes)
push:
branches:
- master
paths-ignore:
- '**.md'

# Trigger the workflow on any pull_request (ignoring .md only changes)
pull_request:
paths-ignore:
- '**.md'

# Enable manual triggering (important for contributors to enable a check on their fork)
workflow_dispatch:

# If a build is running in the current branch, and the branch is updated, we cancel the previous build and start
# a new one with the updated changes.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
# Run checkstyle validations for pipeline
checkstyle_check:
name: Validate checkstyle
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
uses: actions/[email protected]
with:
fetch-depth: "0"
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
- name: Validate Project Checkstyle
run: ./mvnw -B checkstyle:check

spotless_check:
name: Spotless check
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
uses: actions/[email protected]
with:
fetch-depth: "0"
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
- name: Generate code and format
run: |
./run_core_metamodel_generator.sh
# ./run_core_generators.sh automatically runs ./mvnw spotless:apply
./run_core_generators.sh
git diff --exit-code
14 changes: 13 additions & 1 deletion .github/workflows/maven_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ jobs:
### exclude pre-8 (min development version jdk8)
### exclude post-12 (changes to jdk causes reflection tests to fail due to added methods #1701 )
jdk: [ 17 ]
# The below configurations are no longer available on github runners and is not supported by the
# setup-java action, nor are they available from the supported distributions.
# See https://github.com/actions/setup-java for details
exclude:
- os: macos-latest
jdk: 9
- os: macos-latest
jdk: 10
- os: macos-latest
jdk: 12
- os: macos-latest
jdk: 14
env:
OS: ${{ matrix.os }}
JDK: ${{ matrix.jdk }}
Expand All @@ -46,7 +58,7 @@ jobs:
steps:
## Checkout the current version of the code from the repo.
- name: Checkout latest code
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4.1.7
with:
fetch-depth: "0"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

# Check out current repository
- name: Fetch Sources
uses: actions/[email protected].2
uses: actions/[email protected].7

# Setup Java 11 environment for the next steps
- name: Setup Java
Expand Down
5 changes: 3 additions & 2 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
49 changes: 49 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Here is some information that's good to know when contributing to JavaParser:
Here are [some fun project ideas](https://github.com/javaparser/javaparser/labels/fun%20project%20idea).
- If you start working on an issue, please say so with a comment in the issue.
- If you know how to fix a problem, please fix it and open a pull request instead of opening an issue.
- If you would like to add new nodes, or new fields to existing nodes, check out the [Guide to Adding New Nodes and Fields](https://github.com/javaparser/javaparser/wiki/A-Detailed-Guide-to-Adding-New-Nodes-and-Fields).

Thanks for helping!

Expand All @@ -37,3 +38,51 @@ checkout the [Github Documentation](https://help.github.com/articles/creating-a-
- Pull requests often stay open for at least a few days to give people a chance to review it.
- A pull request is merged when all comments on it have been resolved.
- If you create a pull request for an issue, mention the issue in the format #123 to make github link it automatically.
- Before creating a commit (or at least before submitting a pull request), please reformat the project with the instructions given below
to avoid any formatting-related issues during the review.

### Note on formatting the project:

- If you are developing on a machine with bash installed, execute `./run_core_metamodel_generator.sh && ./run_core_generators.sh`. This
will re-run all of the code generators and then re-format the entire project as a final step. This ensures that:
- All the code that needs to be generated has been generated correctly.
- None of the changes you've added will be overwritten by code generation in the future.
- All of your changes are correctly formatted (including changes made during code generation, for example whitespace changes).

The PR check for style runs these generators and checks that the diff after doing so is empty, so if you've run this on your machine,
then that check should not fail.

- If you are developing on a machine without bash, execute `./mvnw spotless:apply`. This will re-format the project, but without
running the code generators. This will be sufficient in many cases, but it's still possible that changes are introduced during
code generation which would cause the PR style check to fail. If this happens, some manual changes are required.

To fix this:
1. Go to the job output for the failed `Spotless check` job by clicking the red cross next to the job.
2. Scroll to the bottom of the `Generate code and format` output tab.
3. There, you will see output from the diff command showing what failed. For example, in https://github.com/javaparser/javaparser/actions/runs/10389076737/job/28766249645,
that output is:
```
[INFO] ------------------------------------------------------------------------
diff --git a/javaparser-core/src/main/java/com/github/javaparser/ast/expr/RecordPatternExpr.java b/javaparser-core/src/main/java/com/github/javaparser/ast/expr/RecordPatternExpr.java
index 7bc7f46b9..429889e35 100644
--- a/javaparser-core/src/main/java/com/github/javaparser/ast/expr/RecordPatternExpr.java
+++ b/javaparser-core/src/main/java/com/github/javaparser/ast/expr/RecordPatternExpr.java
@@ -17,7 +17,6 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*/
-
package com.github.javaparser.ast.expr;
import static com.github.javaparser.utils.Utils.assertNotNull;
Error: Process completed with exit code 1.
```
4. Verify that this output does not overwrite any code you wrote which would change the behaviour. If it does, you probably implemented
something manually when it should've been generated and this will be overwritten next time the code generators are run. This requires
a manual fix to your code to prevent issues in the future.
5. If no major issues are found, copy this output, excluding the `[INFO] --...` line and the `Error: Process complete with exit code 1.`
line and paste that into a patch file (for example, `/tmp/style.patch`, but the name and location aren't important).
6. From the javaparser project directory, run `git apply /tmp/style.patch` (substituting `/tmp/style.patch` for the path of your
patch file). `git status` should now show that all the files mentioned in the patch are modified.
7. Add and commit the changes and push to update the PR.
Loading

0 comments on commit e7b9523

Please sign in to comment.