From 0268e924aa9fe2725a9cc136a8089a97244a98d1 Mon Sep 17 00:00:00 2001 From: malte_langkabel Date: Thu, 25 Aug 2016 15:18:00 +0200 Subject: [PATCH] data: java sample project * added javaparser as sample project * fixed crash in utility::isPrefix when prefix is longer than the actual string * fixed crash when inserting a meta value that contains a special character * added "language" to project settings of tutorial * changed separators in serialized name hierarchy * added javaparser project to windows installers * enabled the checkbox for start menu shortcut in installer by default * removed autorefresh icon * removed JavaSmallTest project --- JavaSmallTest/JavaSmallTest.coatiproject | 15 - JavaSmallTest/src/foo/JavaTest.java | 6 - JavaSmallTest/src/foos/JavaTestBase.java | 13 - .../gui/refresh_view/images/auto_refresh.png | Bin 915 -> 0 bytes .../javaparser/javaparser.coatiproject | 33 + .../github/javaparser/CommentsInserter.java | 232 + .../com/github/javaparser/JavaParser.java | 563 + .../java/com/github/javaparser/Position.java | 137 + .../java/com/github/javaparser/Range.java | 89 + .../javaparser/ast/AccessSpecifier.java | 47 + .../javaparser/ast/CompilationUnit.java | 404 + .../javaparser/ast/ImportDeclaration.java | 185 + .../com/github/javaparser/ast/Modifier.java | 46 + .../java/com/github/javaparser/ast/Node.java | 372 + .../javaparser/ast/PackageDeclaration.java | 127 + .../github/javaparser/ast/TypeArguments.java | 56 + .../github/javaparser/ast/TypeParameter.java | 136 + .../ast/body/AnnotationDeclaration.java | 65 + .../ast/body/AnnotationMemberDeclaration.java | 149 + .../javaparser/ast/body/BaseParameter.java | 133 + .../javaparser/ast/body/BodyDeclaration.java | 69 + .../ast/body/ClassOrInterfaceDeclaration.java | 200 + .../ast/body/ConstructorDeclaration.java | 261 + .../ast/body/EmptyMemberDeclaration.java | 61 + .../ast/body/EmptyTypeDeclaration.java | 53 + .../ast/body/EnumConstantDeclaration.java | 126 + .../javaparser/ast/body/EnumDeclaration.java | 132 + .../javaparser/ast/body/FieldDeclaration.java | 251 + .../ast/body/InitializerDeclaration.java | 90 + .../ast/body/MethodDeclaration.java | 338 + .../ast/body/MultiTypeParameter.java | 67 + .../github/javaparser/ast/body/Parameter.java | 105 + .../javaparser/ast/body/TypeDeclaration.java | 160 + .../ast/body/VariableDeclarator.java | 90 + .../ast/body/VariableDeclaratorId.java | 81 + .../javaparser/ast/comments/BlockComment.java | 59 + .../javaparser/ast/comments/Comment.java | 108 + .../ast/comments/CommentsCollection.java | 104 + .../ast/comments/CommentsParser.java | 223 + .../ast/comments/JavadocComment.java | 53 + .../javaparser/ast/comments/LineComment.java | 64 + .../javaparser/ast/expr/AnnotationExpr.java | 47 + .../javaparser/ast/expr/ArrayAccessExpr.java | 78 + .../ast/expr/ArrayCreationExpr.java | 147 + .../ast/expr/ArrayInitializerExpr.java | 70 + .../javaparser/ast/expr/AssignExpr.java | 105 + .../javaparser/ast/expr/BinaryExpr.java | 112 + .../ast/expr/BooleanLiteralExpr.java | 64 + .../github/javaparser/ast/expr/CastExpr.java | 83 + .../javaparser/ast/expr/CharLiteralExpr.java | 61 + .../github/javaparser/ast/expr/ClassExpr.java | 75 + .../javaparser/ast/expr/ConditionalExpr.java | 91 + .../ast/expr/DoubleLiteralExpr.java | 51 + .../javaparser/ast/expr/EnclosedExpr.java | 63 + .../javaparser/ast/expr/Expression.java | 39 + .../javaparser/ast/expr/FieldAccessExpr.java | 102 + .../javaparser/ast/expr/InstanceOfExpr.java | 81 + .../ast/expr/IntegerLiteralExpr.java | 61 + .../ast/expr/IntegerLiteralMinValueExpr.java | 49 + .../javaparser/ast/expr/LambdaExpr.java | 96 + .../javaparser/ast/expr/LiteralExpr.java | 37 + .../javaparser/ast/expr/LongLiteralExpr.java | 62 + .../ast/expr/LongLiteralMinValueExpr.java | 49 + .../ast/expr/MarkerAnnotationExpr.java | 53 + .../javaparser/ast/expr/MemberValuePair.java | 80 + .../javaparser/ast/expr/MethodCallExpr.java | 141 + .../ast/expr/MethodReferenceExpr.java | 94 + .../github/javaparser/ast/expr/NameExpr.java | 85 + .../ast/expr/NormalAnnotationExpr.java | 93 + .../javaparser/ast/expr/NullLiteralExpr.java | 47 + .../ast/expr/ObjectCreationExpr.java | 140 + .../ast/expr/QualifiedNameExpr.java | 64 + .../ast/expr/SingleMemberAnnotationExpr.java | 65 + .../ast/expr/StringLiteralExpr.java | 75 + .../github/javaparser/ast/expr/SuperExpr.java | 63 + .../github/javaparser/ast/expr/ThisExpr.java | 63 + .../github/javaparser/ast/expr/TypeExpr.java | 70 + .../github/javaparser/ast/expr/UnaryExpr.java | 86 + .../ast/expr/VariableDeclarationExpr.java | 152 + .../ast/nodeTypes/NodeWithAnnotations.java | 159 + .../ast/nodeTypes/NodeWithArrays.java | 18 + .../ast/nodeTypes/NodeWithBlockStmt.java | 17 + .../ast/nodeTypes/NodeWithDeclaration.java | 57 + .../ast/nodeTypes/NodeWithJavaDoc.java | 48 + .../ast/nodeTypes/NodeWithMembers.java | 285 + .../ast/nodeTypes/NodeWithModifiers.java | 73 + .../ast/nodeTypes/NodeWithName.java | 35 + .../ast/nodeTypes/NodeWithParameters.java | 81 + .../ast/nodeTypes/NodeWithThrowable.java | 57 + .../ast/nodeTypes/NodeWithType.java | 63 + .../javaparser/ast/stmt/AssertStmt.java | 83 + .../github/javaparser/ast/stmt/BlockStmt.java | 89 + .../github/javaparser/ast/stmt/BreakStmt.java | 62 + .../javaparser/ast/stmt/CatchClause.java | 88 + .../javaparser/ast/stmt/ContinueStmt.java | 62 + .../github/javaparser/ast/stmt/DoStmt.java | 77 + .../github/javaparser/ast/stmt/EmptyStmt.java | 47 + .../ExplicitConstructorInvocationStmt.java | 113 + .../javaparser/ast/stmt/ExpressionStmt.java | 65 + .../github/javaparser/ast/stmt/ForStmt.java | 114 + .../javaparser/ast/stmt/ForeachStmt.java | 96 + .../github/javaparser/ast/stmt/IfStmt.java | 91 + .../javaparser/ast/stmt/LabeledStmt.java | 75 + .../javaparser/ast/stmt/ReturnStmt.java | 64 + .../github/javaparser/ast/stmt/Statement.java | 39 + .../javaparser/ast/stmt/SwitchEntryStmt.java | 85 + .../javaparser/ast/stmt/SwitchStmt.java | 86 + .../javaparser/ast/stmt/SynchronizedStmt.java | 80 + .../github/javaparser/ast/stmt/ThrowStmt.java | 64 + .../github/javaparser/ast/stmt/TryStmt.java | 112 + .../ast/stmt/TypeDeclarationStmt.java | 64 + .../github/javaparser/ast/stmt/WhileStmt.java | 77 + .../ast/type/ClassOrInterfaceType.java | 125 + .../javaparser/ast/type/IntersectionType.java | 58 + .../javaparser/ast/type/PrimitiveType.java | 113 + .../javaparser/ast/type/ReferenceType.java | 172 + .../com/github/javaparser/ast/type/Type.java | 64 + .../github/javaparser/ast/type/UnionType.java | 50 + .../javaparser/ast/type/UnknownType.java | 48 + .../github/javaparser/ast/type/VoidType.java | 50 + .../javaparser/ast/type/WildcardType.java | 82 + .../javaparser/ast/visitor/CloneVisitor.java | 1288 +++ .../javaparser/ast/visitor/DumpVisitor.java | 1745 +++ .../javaparser/ast/visitor/EqualsVisitor.java | 1537 +++ .../ast/visitor/GenericVisitor.java | 258 + .../ast/visitor/GenericVisitorAdapter.java | 1680 +++ .../ast/visitor/ModifierVisitorAdapter.java | 1042 ++ .../javaparser/ast/visitor/TreeVisitor.java | 44 + .../javaparser/ast/visitor/VoidVisitor.java | 258 + .../ast/visitor/VoidVisitorAdapter.java | 900 ++ .../github/javaparser/utils/ClassUtils.java | 69 + .../javaparser/utils/PositionUtils.java | 134 + .../com/github/javaparser/utils/Utils.java | 76 + .../javaparser/src/main/javacc/java_1_8.jj | 3386 ++++++ .../com/github/javaparser/ASTParser.java | 9781 +++++++++++++++++ .../github/javaparser/ASTParserConstants.java | 438 + .../javaparser/ASTParserTokenManager.java | 2612 +++++ .../com/github/javaparser/JavaCharStream.java | 560 + .../com/github/javaparser/ParseException.java | 227 + .../com/github/javaparser/Provider.java | 39 + .../com/github/javaparser/StreamProvider.java | 70 + .../com/github/javaparser/StringProvider.java | 60 + .../javacc/com/github/javaparser/Token.java | 143 + .../github/javaparser/TokenMgrException.java | 158 + .../projects/tictactoe/tictactoe.coatiproject | 8 +- .../projects/tutorial/tutorial.coatiproject | 6 +- .../user/ApplicationSettings_for_package.xml | 27 +- .../CoatiSetup/CoatiSetup.vdproj | 4579 +++++++- .../SetupApplicationSettings.cs | 4 + .../CoatiSetup/CoatiSetup.vdproj | 4509 +++++++- .../SetupApplicationSettings.cs | 4 + java_indexer/src/io/coati/JavaAstVisitor.java | 14 +- java_indexer/src/io/coati/JavaDeclName.java | 6 +- .../src/io/coati/JavaDeclNameResolver.java | 1 - java_indexer/src/io/coati/JavaTypeName.java | 4 +- script/deploy_windows.sh | 7 +- src/lib/JavaProject.cpp | 17 +- src/lib/data/SqliteStorage.cpp | 14 +- src/lib/data/name/NameElement.cpp | 4 +- src/lib/data/name/NameHierarchy.cpp | 8 +- src/lib/utility/ResourcePaths.cpp | 5 + src/lib/utility/ResourcePaths.h | 1 + src/lib/utility/utilityString.cpp | 10 +- src/test/SearchIndexTestSuite.h | 22 +- 164 files changed, 47237 insertions(+), 403 deletions(-) delete mode 100644 JavaSmallTest/JavaSmallTest.coatiproject delete mode 100644 JavaSmallTest/src/foo/JavaTest.java delete mode 100644 JavaSmallTest/src/foos/JavaTestBase.java delete mode 100644 bin/app/data/gui/refresh_view/images/auto_refresh.png create mode 100644 bin/app/data/projects/javaparser/javaparser.coatiproject create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/CommentsInserter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/JavaParser.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Position.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Range.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/AccessSpecifier.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/CompilationUnit.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/ImportDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Modifier.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Node.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/PackageDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeArguments.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeParameter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationMemberDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BaseParameter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BodyDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ClassOrInterfaceDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ConstructorDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyMemberDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyTypeDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumConstantDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/FieldDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/InitializerDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MethodDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MultiTypeParameter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/Parameter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclarator.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclaratorId.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/BlockComment.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/Comment.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsCollection.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsParser.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/JavadocComment.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/LineComment.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AnnotationExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayAccessExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayCreationExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayInitializerExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AssignExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BinaryExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BooleanLiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CastExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CharLiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ClassExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ConditionalExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/DoubleLiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/EnclosedExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/Expression.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/FieldAccessExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/InstanceOfExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralMinValueExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LambdaExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralMinValueExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MarkerAnnotationExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MemberValuePair.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodCallExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodReferenceExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NameExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NormalAnnotationExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NullLiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ObjectCreationExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/QualifiedNameExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SingleMemberAnnotationExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/StringLiteralExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SuperExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ThisExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/TypeExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/UnaryExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/VariableDeclarationExpr.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithAnnotations.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithArrays.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithBlockStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithDeclaration.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithJavaDoc.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithMembers.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithModifiers.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithName.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithParameters.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithThrowable.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/AssertStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BlockStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BreakStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/CatchClause.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ContinueStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/DoStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/EmptyStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExplicitConstructorInvocationStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExpressionStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForeachStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/IfStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/LabeledStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ReturnStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/Statement.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchEntryStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SynchronizedStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ThrowStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TryStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TypeDeclarationStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/WhileStmt.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ClassOrInterfaceType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/IntersectionType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/PrimitiveType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ReferenceType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/Type.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnionType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnknownType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/VoidType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/WildcardType.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/CloneVisitor.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/DumpVisitor.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/EqualsVisitor.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitor.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitorAdapter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/ModifierVisitorAdapter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/TreeVisitor.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitor.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitorAdapter.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/ClassUtils.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/PositionUtils.java create mode 100644 bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/Utils.java create mode 100644 bin/app/data/projects/javaparser/src/main/javacc/java_1_8.jj create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParser.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserConstants.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserTokenManager.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/JavaCharStream.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ParseException.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Provider.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StreamProvider.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StringProvider.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Token.java create mode 100644 bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/TokenMgrException.java diff --git a/JavaSmallTest/JavaSmallTest.coatiproject b/JavaSmallTest/JavaSmallTest.coatiproject deleted file mode 100644 index 675eb3da..00000000 --- a/JavaSmallTest/JavaSmallTest.coatiproject +++ /dev/null @@ -1,15 +0,0 @@ - - - - Java - 1.8 - - - - .java - - - ./src - - - diff --git a/JavaSmallTest/src/foo/JavaTest.java b/JavaSmallTest/src/foo/JavaTest.java deleted file mode 100644 index df74ff23..00000000 --- a/JavaSmallTest/src/foo/JavaTest.java +++ /dev/null @@ -1,6 +0,0 @@ -package foo; - -public class JavaTest { - public void foo() { - } -} \ No newline at end of file diff --git a/JavaSmallTest/src/foos/JavaTestBase.java b/JavaSmallTest/src/foos/JavaTestBase.java deleted file mode 100644 index f3e82e7e..00000000 --- a/JavaSmallTest/src/foos/JavaTestBase.java +++ /dev/null @@ -1,13 +0,0 @@ -package foos; - -public interface JavaTestBaseBase -{ - default void bar() - { - } -} - -public interface JavaTestBase extends JavaTestBaseBase -{ - -} \ No newline at end of file diff --git a/bin/app/data/gui/refresh_view/images/auto_refresh.png b/bin/app/data/gui/refresh_view/images/auto_refresh.png deleted file mode 100644 index 6ad64edc2dcb98e759a99fa3adacde13d836756f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 915 zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw0wgDV75oXLSkfJR9T^xl_H+M9WCijSl0AZa z85pWm85kOx85n;42huMY7)lKo7+xhXFj&oCU=Yur6o1qWsFo?o+ueoXe|!I#{XiaP zfk$L91B0G22s2hJwJ!q-vX^-Jy0SlDWfEjIa!a?p3)Ix+>Eaj?aro`bi-n6Fc-oGh z6?Nd8;=tZ+y?|x9180c?=Mv`W4(piiFurRj`EcLaz%43MTukqdk6+zMi`~B_{7}v` z=X@dayHM!6{g2mgo_}snIhyn&!-hW}KMOl8I>@k}H)8_( zpFI_c23#c(`LbQi2Tqtd#(&5Wmk>S1p~KL#Lg}DKVRwt&+qNrg>i#K88?JD^E!usV zT~KgoW9alJ&CPSu1ulMb6S37=8S`YtnKxf-vhr8)zUeqN>5R(Zs8AN?-v?*)<=eer zTIYIiEz{z#B;CUoD(hDsiDf@{LNsTeob^u$8U0F*J8zHrX-#}_j{DeGjyED(eSTbJ zpLTxd!@E{5+wn$Pzve`)8jZ(Q5{hjcT!X-;!H zy1IjlVORRsO9%E8d1BF$K5E6f^>SvEf(<-xR2X*ZQAM9Mk>t%nfbd7BigN>E+w6n=E%kEq#T%Bm%Jkjc$`f+-jHSiqBJ&R~+Sj6!t22;_QoJQy2GIwt8KC zFUJyLEwN@N&&&$Lw~UL=$E>f~>m(>>Ia8BQ^4o+(o4J$)ch1__zE}A8?Za$U;;-dj z@LM11>6>oDVE6XIvSrdgx{_b@HCJx_oFG>!nz-Ko=B=Nf^JDk<1m53pe$RDZwHYs# zaBqt=ie)K#KlRa;A3fezDi1%reynYk?w>;Or=A+u_NU%|KVR`a{~z|8Z~n@ACamoM zCQ{WB*NBpo#FA92<^^AvZrI YGp!Q02F=+17eEaRp00i_>zopr0K7$na{vGU diff --git a/bin/app/data/projects/javaparser/javaparser.coatiproject b/bin/app/data/projects/javaparser/javaparser.coatiproject new file mode 100644 index 00000000..06eed98c --- /dev/null +++ b/bin/app/data/projects/javaparser/javaparser.coatiproject @@ -0,0 +1,33 @@ + + + + + WHAT IS THIS?\n + \tJavaParser is an open-source Java project for parsing Java code and\n + \tgenerating an Abstract Syntax Tree (AST). Additionally it supports a\n + \tvisitor pattern to traverse the generated AST. For more information on\n + \tthis project please visit javaparser.org\n + \n + LET'S GET STARTED!\n + \tHave you ever wondered what a parser for a real programming language\n + \tmay look like? Go ahead and find out!\n + \n + \tIf you ask yourself where to start, click the symbol linked below.\n + \n + [com\ts\tp\tngithub\ts\tp\tnjavaparser\ts\tp\tnast\ts\tp\tnbody\ts\tp\tnClassOrInterfaceDeclaration\ts\tp] // <- start here!\n\n + + + + Java + 8 + + + + .java + + + ./src/main/java + ./target/generated-sources/javacc + + + diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/CommentsInserter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/CommentsInserter.java new file mode 100644 index 00000000..5236ae7d --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/CommentsInserter.java @@ -0,0 +1,232 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.comments.Comment; +import com.github.javaparser.ast.comments.CommentsCollection; +import com.github.javaparser.ast.comments.CommentsParser; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.utils.PositionUtils; + +import java.io.IOException; +import java.util.Collections; +import java.util.LinkedList; +import java.util.List; + +/** + * Assigns comments to nodes of the AST. + * + * @author Sebastian Kuerten + * @author Júlio Vilmar Gesser + */ +class CommentsInserter { + private boolean doNotAssignCommentsPreceedingEmptyLines = true; + private boolean doNotConsiderAnnotationsAsNodeStartForCodeAttribution = false; + + CommentsInserter() { + } + + /** + * Adds the comments found in the source code of a compilation unit to that compilation unit. + * @param cu an already created compilation unit + * @param cuSourceCode the source code of the compilation unit. It will be parsed to find comments. + */ + public void insertComments(CompilationUnit cu, String cuSourceCode) throws IOException { + CommentsParser commentsParser = new CommentsParser(); + CommentsCollection allComments = commentsParser.parse(cuSourceCode); + + insertCommentsInCu(cu, allComments); + } + + public boolean getDoNotConsiderAnnotationsAsNodeStartForCodeAttribution() { + return doNotConsiderAnnotationsAsNodeStartForCodeAttribution; + } + + public void setDoNotConsiderAnnotationsAsNodeStartForCodeAttribution(boolean newValue) { + this.doNotConsiderAnnotationsAsNodeStartForCodeAttribution = newValue; + } + + public boolean getDoNotAssignCommentsPreceedingEmptyLines() { + return doNotAssignCommentsPreceedingEmptyLines; + } + + public void setDoNotAssignCommentsPreceedingEmptyLines(boolean newValue) { + this.doNotAssignCommentsPreceedingEmptyLines = newValue; + } + + /** + * Comments are attributed to the thing the comment and are removed from + * allComments. + */ + private void insertCommentsInCu(CompilationUnit cu, + CommentsCollection commentsCollection) { + if (commentsCollection.size() == 0) + return; + + // I should sort all the direct children and the comments, if a comment + // is the first thing then it + // a comment to the CompilationUnit + // FIXME if there is no package it could be also a comment to the + // following class... + // so I could use some heuristics in these cases to distinguish the two + // cases + + List comments = commentsCollection.getAll(); + PositionUtils.sortByBeginPosition(comments); + List children = cu.getChildrenNodes(); + PositionUtils.sortByBeginPosition(children); + + if (cu.getPackage() != null + && (children.isEmpty() || PositionUtils.areInOrder( + comments.get(0), children.get(0)))) { + cu.setComment(comments.get(0)); + comments.remove(0); + } + + insertCommentsInNode(cu, comments); + } + + /** + * This method try to attributes the nodes received to child of the node. It + * returns the node that were not attributed. + */ + private void insertCommentsInNode(Node node, + List commentsToAttribute) { + if (commentsToAttribute.isEmpty()) + return; + + // the comments can: + // 1) Inside one of the child, then it is the child that have to + // associate them + // 2) If they are not inside a child they could be preceeding nothing, a + // comment or a child + // if they preceed a child they are assigned to it, otherweise they + // remain "orphans" + + List children = node.getChildrenNodes(); + PositionUtils.sortByBeginPosition(children); + + for (Node child : children) { + List commentsInsideChild = new LinkedList(); + for (Comment c : commentsToAttribute) { + if (PositionUtils.nodeContains(child, c, + doNotConsiderAnnotationsAsNodeStartForCodeAttribution)) { + commentsInsideChild.add(c); + } + } + commentsToAttribute.removeAll(commentsInsideChild); + insertCommentsInNode(child, commentsInsideChild); + } + + // I can attribute in line comments to elements preceeding them, if + // there + // is something contained in their line + List attributedComments = new LinkedList(); + for (Comment comment : commentsToAttribute) { + if (comment.isLineComment()) { + for (Node child : children) { + if (child.getEnd().line == comment.getBegin().line + && attributeLineCommentToNodeOrChild(child, + comment.asLineComment())) { + attributedComments.add(comment); + } + } + } + } + + // at this point I create an ordered list of all remaining comments and + // children + Comment previousComment = null; + attributedComments = new LinkedList(); + List childrenAndComments = new LinkedList(); + childrenAndComments.addAll(children); + childrenAndComments.addAll(commentsToAttribute); + PositionUtils.sortByBeginPosition(childrenAndComments, + doNotConsiderAnnotationsAsNodeStartForCodeAttribution); + + for (Node thing : childrenAndComments) { + if (thing instanceof Comment) { + previousComment = (Comment) thing; + if (!previousComment.isOrphan()) { + previousComment = null; + } + } else { + if (previousComment != null && !thing.hasComment()) { + if (!doNotAssignCommentsPreceedingEmptyLines + || !thereAreLinesBetween(previousComment, thing)) { + thing.setComment(previousComment); + attributedComments.add(previousComment); + previousComment = null; + } + } + } + } + + commentsToAttribute.removeAll(attributedComments); + + // all the remaining are orphan nodes + for (Comment c : commentsToAttribute) { + if (c.isOrphan()) { + node.addOrphanComment(c); + } + } + } + + private boolean attributeLineCommentToNodeOrChild(Node node, + LineComment lineComment) { + // The node start and end at the same line as the comment, + // let's give to it the comment + if (node.getBegin().line == lineComment.getBegin().line + && !node.hasComment()) { + if(!(node instanceof Comment)) { + node.setComment(lineComment); + } + return true; + } else { + // try with all the children, sorted by reverse position (so the + // first one is the nearest to the comment + List children = new LinkedList(); + children.addAll(node.getChildrenNodes()); + PositionUtils.sortByBeginPosition(children); + Collections.reverse(children); + + for (Node child : children) { + if (attributeLineCommentToNodeOrChild(child, lineComment)) { + return true; + } + } + + return false; + } + } + + private boolean thereAreLinesBetween(Node a, Node b) { + if (!PositionUtils.areInOrder(a, b)) { + return thereAreLinesBetween(b, a); + } + int endOfA = a.getEnd().line; + return b.getBegin().line > (endOfA + 1); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/JavaParser.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/JavaParser.java new file mode 100644 index 00000000..2862e257 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/JavaParser.java @@ -0,0 +1,563 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser; + +import java.io.*; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.Statement; + +import java.nio.charset.Charset; +import java.util.List; + +import static com.github.javaparser.utils.Utils.readerToString; + +/** + * Parse Java source code and creates Abstract Syntax Tree classes. + * + * @author Júlio Vilmar Gesser + */ +public final class JavaParser { + private static final CommentsInserter commentsInserter = new CommentsInserter(); + private static final Charset UTF8 = Charset.forName("utf-8"); + + private ASTParser astParser = null; + private Provider provider = null; + + /** + * Instantiate the parser. Note that parsing can also be done with the static methods on this class. + * Creating an instance will reduce setup time between parsing files. + */ + public JavaParser() { + // No specific constructors for this class. + } + + public JavaParser setSource(Provider provider) { + this.provider=provider; + if(astParser==null) { + astParser = new ASTParser(provider); + }else{ + astParser.ReInit(provider); + } + return this; + } + + public JavaParser setSource(Reader reader) { + return setSource(new StreamProvider(reader)); + } + + public JavaParser setSource(InputStream input) throws IOException { + return setSource(new StreamProvider(input)); + } + + public JavaParser setSource(InputStream input, Charset encoding) throws IOException { + return setSource(new StreamProvider(input, encoding.name())); + } + + public JavaParser setSource(File file) throws IOException { + return setSource(new FileInputStream(file)); + } + + public JavaParser setSource(File file, Charset encoding) throws IOException { + return setSource(new FileInputStream(file), encoding); + } + + public JavaParser setSource(String source) { + return setSource(new StringReader(source)); + } + + /** + * Return the list of tokens that have been encountered while parsing code + * using this parser. + * + * @return a list of tokens + */ + public List getTokens() { + checkSourceSet(); + return astParser.getTokens(); + } + + private void checkSourceSet() { + if (astParser == null || provider == null) { + throw new IllegalStateException("Please setSource() before doing any parsing."); + } + } + + /** + * Parses the Java code and returns a {@link CompilationUnit} that + * represents it. + * + * @return CompilationUnit representing the Java source code + * @throws ParseException + * if the source code has parser errors + */ + public CompilationUnit parse() throws ParseException { + try { + checkSourceSet(); + return astParser.CompilationUnit(); + } finally { + closeProvider(); + } + } + + private void closeProvider() { + try { + checkSourceSet(); + provider.close(); + } catch (IOException e) { + // Since we're done parsing and have our result, we don't care about any errors. + } + } + + /** + * Parses the Java block and returns a {@link BlockStmt} that represents it. + * + * @return BlockStmt representing the Java block + * @throws ParseException + * if the source code has parser errors + */ + public BlockStmt parseBlock() throws ParseException { + try{ + checkSourceSet(); + return astParser.Block(); + } finally { + closeProvider(); + } + } + + /** + * Parses the Java block and returns a {@link List} of {@link Statement}s + * that represents it. + * + * @return Statement representing the Java statement + * @throws ParseException + * if the source code has parser errors + */ + public List parseStatements() throws ParseException { + try { + checkSourceSet(); + return astParser.Statements(); + } finally { + closeProvider(); + } + } + + /** + * Parses the Java statement and returns a {@link Statement} that represents + * it. + * + * @return Statement representing the Java statement + * @throws ParseException + * if the source code has parser errors + */ + public Statement parseStatement() throws ParseException { + try { + checkSourceSet(); + return astParser.Statement(); + } finally { + closeProvider(); + } + } + + /** + * Parses the Java import and returns a {@link ImportDeclaration} that + * represents it. + * + * @return ImportDeclaration representing the Java import declaration + * @throws ParseException + * if the source code has parser errors + */ + public ImportDeclaration parseImport() throws ParseException { + try { + checkSourceSet(); + return astParser.ImportDeclaration(); + } finally { + closeProvider(); + } + } + + /** + * Parses the Java expression and returns a {@link Expression} that + * represents it. + * + * @return Expression representing the Java expression + * @throws ParseException + * if the source code has parser errors + */ + public Expression parseExpression() throws ParseException { + try { + checkSourceSet(); + return astParser.Expression(); + } finally { + closeProvider(); + } + } + + /** + * Parses the Java annotation and returns a {@link AnnotationExpr} that + * represents it. + * + * @return AnnotationExpr representing the Java annotation + * @throws ParseException + * if the source code has parser errors + */ + public AnnotationExpr parseAnnotation() throws ParseException { + try { + checkSourceSet(); + return astParser.Annotation(); + } finally { + closeProvider(); + } + } + + /** + * Parses the Java body declaration(e.g fields or methods) and returns a + * {@link BodyDeclaration} that represents it. + * + * @return BodyDeclaration representing the Java body + * @throws ParseException + * if the source code has parser errors + */ + public BodyDeclaration parseBodyDeclaration() throws ParseException { + try { + checkSourceSet(); + return astParser.AnnotationBodyDeclaration(); + } finally { + closeProvider(); + } + } + + /** + * Parses a Java class body declaration(e.g fields or methods) and returns a + * {@link BodyDeclaration} that represents it. + * + * @return BodyDeclaration representing the Java class body + * @throws ParseException + * if the source code has parser errors + */ + public BodyDeclaration parseClassBodyDeclaration() throws ParseException { + try { + checkSourceSet(); + return astParser.ClassOrInterfaceBodyDeclaration(false); + } finally { + closeProvider(); + } + } + + /** + * Parses a Java interface body declaration(e.g fields or methods) and returns a + * {@link BodyDeclaration} that represents it. + * + * @return BodyDeclaration representing the Java interface body + * @throws ParseException + * if the source code has parser errors + */ + public BodyDeclaration parseInterfaceBodyDeclaration() throws ParseException { + try { + checkSourceSet(); + return astParser.ClassOrInterfaceBodyDeclaration(true); + } finally { + closeProvider(); + } + } + + public static boolean getDoNotConsiderAnnotationsAsNodeStartForCodeAttribution() { + return commentsInserter.getDoNotConsiderAnnotationsAsNodeStartForCodeAttribution(); + } + + public static void setDoNotConsiderAnnotationsAsNodeStartForCodeAttribution(boolean newValue) { + commentsInserter.setDoNotConsiderAnnotationsAsNodeStartForCodeAttribution(newValue); + } + + public static boolean getDoNotAssignCommentsPreceedingEmptyLines() { + return commentsInserter.getDoNotAssignCommentsPreceedingEmptyLines(); + } + + public static void setDoNotAssignCommentsPreceedingEmptyLines(boolean newValue) { + commentsInserter.setDoNotAssignCommentsPreceedingEmptyLines(newValue); + } + + public static CompilationUnit parse(final InputStream in, + final Charset encoding) throws ParseException { + return parse(in,encoding,true); + } + + /** + * Parses the Java code contained in the {@link InputStream} and returns a + * {@link CompilationUnit} that represents it. + * + * @param in + * {@link InputStream} containing Java source code + * @param encoding + * encoding of the source code + * @return CompilationUnit representing the Java source code + * @throws ParseException + * if the source code has parser errors + */ + public static CompilationUnit parse(final InputStream in, + Charset encoding, + boolean considerComments) throws ParseException { + try { + try (InputStreamReader inputStreamReader = new InputStreamReader(in, encoding)) { + return parse(inputStreamReader, considerComments); + } + } catch (IOException ioe) { + throw new ParseException(ioe.getMessage()); + } + } + + /** + * Parses the Java code contained in the {@link InputStream} and returns a + * {@link CompilationUnit} that represents it.
+ * Note: Uses UTF-8 encoding + * + * @param in + * {@link InputStream} containing Java source code + * @return CompilationUnit representing the Java source code + * @throws ParseException + * if the source code has parser errors + */ + public static CompilationUnit parse(final InputStream in) + throws ParseException { + return parse(in, UTF8, true); + } + + public static CompilationUnit parse(final File file, final Charset encoding) + throws ParseException, IOException { + return parse(file,encoding,true); + } + + /** + * Parses the Java code contained in a {@link File} and returns a + * {@link CompilationUnit} that represents it. + * + * @param file + * {@link File} containing Java source code + * @param encoding + * encoding of the source code + * @return CompilationUnit representing the Java source code + * @throws ParseException + * if the source code has parser errors + */ + public static CompilationUnit parse(final File file, final Charset encoding, boolean considerComments) + throws ParseException { + try { + try (FileInputStream in = new FileInputStream(file)) { + return parse(in, encoding, considerComments); + } + } catch (IOException ioe) { + throw new ParseException(ioe.getMessage()); + } + } + + /** + * Parses the Java code contained in a {@link File} and returns a + * {@link CompilationUnit} that represents it.
+ * Note: Uses UTF-8 encoding + * + * + * @param file + * {@link File} containing Java source code + * @return CompilationUnit representing the Java source code + * @throws ParseException + * if the source code has parser errors + * @throws IOException + */ + public static CompilationUnit parse(final File file) throws ParseException, + IOException { + return parse(file, UTF8, true); + } + + public static CompilationUnit parse(final Reader reader) + throws ParseException { + return parse(reader, true); + } + + public static CompilationUnit parse(final Reader reader, boolean considerComments) + throws ParseException { + try { + String comments = readerToString(reader); + CompilationUnit cu = new JavaParser().setSource(comments).parse(); + if (considerComments){ + commentsInserter.insertComments(cu, comments); + } + return cu; + } catch (IOException ioe){ + throw new ParseException(ioe.getMessage()); + } + } + + /** + * Parses the Java code contained in code and returns a + * {@link CompilationUnit} that represents it. + * + * @param code Java source code + * @param considerComments parse or ignore comments + * @return CompilationUnit representing the Java source code + * @throws ParseException if the source code has parser errors + */ + public static CompilationUnit parse(String code, boolean considerComments) throws ParseException { + return parse(new StringReader(code), considerComments); + } + + /** + * Parses the Java code contained in code and returns a + * {@link CompilationUnit} that represents it. + * + * @param code Java source code + * @return CompilationUnit representing the Java source code + * @throws ParseException if the source code has parser errors + */ + public static CompilationUnit parse(String code) throws ParseException { + return parse(code, true); + } + + /** + * Parses the Java block contained in a {@link String} and returns a + * {@link BlockStmt} that represents it. + * + * @param blockStatement + * {@link String} containing Java block code + * @return BlockStmt representing the Java block + * @throws ParseException + * if the source code has parser errors + */ + public static BlockStmt parseBlock(final String blockStatement) + throws ParseException { + return new JavaParser().setSource(blockStatement).parseBlock(); + } + + /** + * Parses the Java statement contained in a {@link String} and returns a + * {@link Statement} that represents it. + * + * @param statement + * {@link String} containing Java statement code + * @return Statement representing the Java statement + * @throws ParseException + * if the source code has parser errors + */ + public static Statement parseStatement(final String statement) throws ParseException { + return new JavaParser().setSource(statement).parseStatement(); + } + + /** + * Parses the Java statements contained in a {@link String} and returns a + * list of {@link Statement} that represents it. + * + * @param statements + * {@link String} containing Java statements + * @return list of Statement representing the Java statement + * @throws ParseException + * if the source code has parser errors + */ + public static List parseStatements(final String statements) throws ParseException { + return new JavaParser().setSource(statements).parseStatements(); + } + + /** + * Parses the Java import contained in a {@link String} and returns a + * {@link ImportDeclaration} that represents it. + * + * @param importDeclaration + * {@link String} containing Java import code + * @return ImportDeclaration representing the Java import declaration + * @throws ParseException + * if the source code has parser errors + */ + public static ImportDeclaration parseImport(final String importDeclaration) throws ParseException { + return new JavaParser().setSource(importDeclaration).parseImport(); + } + + /** + * Parses the Java expression contained in a {@link String} and returns a + * {@link Expression} that represents it. + * + * @param expression + * {@link String} containing Java expression + * @return Expression representing the Java expression + * @throws ParseException + * if the source code has parser errors + */ + public static Expression parseExpression(final String expression) throws ParseException { + return new JavaParser().setSource(expression).parseExpression(); + } + + /** + * Parses the Java annotation contained in a {@link String} and returns a + * {@link AnnotationExpr} that represents it. + * + * @param annotation + * {@link String} containing Java annotation + * @return AnnotationExpr representing the Java annotation + * @throws ParseException + * if the source code has parser errors + */ + public static AnnotationExpr parseAnnotation(final String annotation) throws ParseException { + return new JavaParser().setSource(annotation).parseAnnotation(); + } + + /** + * Parses the Java body declaration(e.g fields or methods) contained in a + * {@link String} and returns a {@link BodyDeclaration} that represents it. + * + * @param body + * {@link String} containing Java body declaration + * @return BodyDeclaration representing the Java annotation + * @throws ParseException + * if the source code has parser errors + */ + public static BodyDeclaration parseBodyDeclaration(final String body) throws ParseException { + return new JavaParser().setSource(body).parseBodyDeclaration(); + } + + /** + * Parses a Java class body declaration(e.g fields or methods) and returns a + * {@link BodyDeclaration} that represents it. + * + * @param body the body of a class + * @return BodyDeclaration representing the Java class body + * @throws ParseException + * if the source code has parser errors + */ + public static BodyDeclaration parseClassBodyDeclaration(String body) throws ParseException { + return new JavaParser().setSource(body).parseClassBodyDeclaration(); + } + + /** + * Parses a Java interface body declaration(e.g fields or methods) and returns a + * {@link BodyDeclaration} that represents it. + * + * @param body the body of an interface + * @return BodyDeclaration representing the Java interface body + * @throws ParseException + * if the source code has parser errors + */ + public static BodyDeclaration parseInterfaceBodyDeclaration(String body) throws ParseException { + return new JavaParser().setSource(body).parseInterfaceBodyDeclaration(); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Position.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Position.java new file mode 100644 index 00000000..54d455f7 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Position.java @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser; + +import com.github.javaparser.ast.Node; + +/** + * A position in a source file. Lines and columns start counting at 1. + */ +public class Position implements Comparable { + public final int line; + public final int column; + + public static final Position ABSOLUTE_START = new Position(Node.ABSOLUTE_BEGIN_LINE, -1); + public static final Position ABSOLUTE_END = new Position(Node.ABSOLUTE_END_LINE, -1); + + /** + * The first position in the file + */ + public static final Position HOME = new Position(1, 1); + public static final Position UNKNOWN = new Position(0, 0); + + public Position(int line, int column) { + if (line < Node.ABSOLUTE_END_LINE) { + throw new IllegalArgumentException("Can't position at line " + line); + } + if (column < -1) { + throw new IllegalArgumentException("Can't position at column " + column); + } + this.line = line; + this.column = column; + } + + /** + * Convenient factory method. + */ + public static Position pos(int line, int column) { + return new Position(line, column); + } + + public Position withColumn(int column) { + return new Position(this.line, column); + } + + public Position withLine(int line) { + return new Position(line, this.column); + } + + /** + * Check if the position is usable. Does not know what it is pointing at, so it can't check if the position is after the end of the source. + */ + public boolean valid() { + return line > 0 && column > 0; + } + + public boolean invalid() { + return !valid(); + } + + public Position orIfInvalid(Position anotherPosition) { + if (valid()) { + return this; + } + return anotherPosition; + } + + public boolean isAfter(Position position) { + if (position.line == Node.ABSOLUTE_BEGIN_LINE) return true; + if (line > position.line) { + return true; + } else if (line == position.line) { + return column > position.column; + } + return false; + + } + + public boolean isBefore(Position position) { + if (position.line == Node.ABSOLUTE_END_LINE) return true; + if (line < position.line) { + return true; + } else if (line == position.line) { + return column < position.column; + } + return false; + } + + @Override + public int compareTo(Position o) { + if (isBefore(o)) { + return -1; + } + if (isAfter(o)) { + return 1; + } + return 0; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + + Position position = (Position) o; + + return line == position.line && column == position.column; + } + + @Override + public int hashCode() { + return 31 * line + column; + } + + @Override + public String toString() { + return "(line " + line + ",col " + column + ")"; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Range.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Range.java new file mode 100644 index 00000000..68e364ae --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/Range.java @@ -0,0 +1,89 @@ +package com.github.javaparser; + +import static com.github.javaparser.Position.pos; + +/** + * A range of characters in a source file, from "begin" to "end", including the characters at "begin" and "end". + */ +public class Range { + public static final Range UNKNOWN = range(Position.UNKNOWN, Position.UNKNOWN); + + public final Position begin; + public final Position end; + + public Range(Position begin, Position end) { + if (begin == null) { + throw new IllegalArgumentException("begin can't be null"); + } + if (end == null) { + throw new IllegalArgumentException("end can't be null"); + } + this.begin = begin; + this.end = end; + } + + public static Range range(Position begin, Position end) { + return new Range(begin, end); + } + + public static Range range(int beginLine, int beginColumn, int endLine, int endColumn) { + return new Range(pos(beginLine, beginColumn), pos(endLine, endColumn)); + } + + public Range withBeginColumn(int column) { + return range(begin.withColumn(column), end); + } + + public Range withBeginLine(int line) { + return range(begin.withLine(line), end); + } + + public Range withEndColumn(int column) { + return range(begin, end.withColumn(column)); + } + + public Range withEndLine(int line) { + return range(begin, end.withLine(line)); + } + + public Range withBegin(Position begin) { + return range(begin, this.end); + } + + public Range withEnd(Position end) { + return range(this.begin, end); + } + + public boolean contains(Range other) { + return begin.isBefore(other.begin) && end.isAfter(other.end); + } + + public boolean isBefore(Position position) { + return end.isBefore(position); + } + + public boolean isAfter(Position position) { + return begin.isAfter(position); + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + + Range range = (Range) o; + + return begin.equals(range.begin) && end.equals(range.end); + + } + + @Override + public int hashCode() { + return 31 * begin.hashCode() + end.hashCode(); + } + + @Override + public String toString() { + return begin+"-"+end; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/AccessSpecifier.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/AccessSpecifier.java new file mode 100644 index 00000000..f23f8631 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/AccessSpecifier.java @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast; + +/** + * Access specifier. Represents one of the possible levels of + * access permitted by the language. + * + * @author Federico Tomassetti + * @since July 2014 + */ +public enum AccessSpecifier { + + PUBLIC("public"), + PRIVATE("private"), + PROTECTED("protected"), + DEFAULT(""); + + private String codeRepresenation; + + AccessSpecifier(String codeRepresentation) { + this.codeRepresenation = codeRepresentation; + } + + public String getCodeRepresenation(){ + return this.codeRepresenation; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/CompilationUnit.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/CompilationUnit.java new file mode 100644 index 00000000..485558a5 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/CompilationUnit.java @@ -0,0 +1,404 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.Arrays; +import java.util.EnumSet; +import java.util.List; +import java.util.stream.Collectors; + +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.utils.ClassUtils; +import com.github.javaparser.Range; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.comments.Comment; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + *

+ * This class represents the entire compilation unit. Each java file denotes a + * compilation unit. + *

+ * The CompilationUnit is constructed following the syntax:
+ * + *
+ * {@code
+ * CompilationUnit ::=  ( }{@link PackageDeclaration}{@code )?
+ *                      ( }{@link ImportDeclaration}{@code )*
+ *                      ( }{@link TypeDeclaration}{@code )*
+ * }
+ * 
+ * + * @author Julio Vilmar Gesser + */ +public final class CompilationUnit extends Node { + + private PackageDeclaration pakage; + + private List imports; + + private List> types; + + public CompilationUnit() { + } + + public CompilationUnit(PackageDeclaration pakage, List imports, List> types) { + setPackage(pakage); + setImports(imports); + setTypes(types); + } + + public CompilationUnit(Range range, PackageDeclaration pakage, List imports, + List> types) { + super(range); + setPackage(pakage); + setImports(imports); + setTypes(types); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + /** + * Return a list containing all comments declared in this compilation unit. + * Including javadocs, line comments and block comments of all types, + * inner-classes and other members.
+ * If there is no comment, null is returned. + * + * @return list with all comments of this compilation unit or + * null + * @see JavadocComment + * @see com.github.javaparser.ast.comments.LineComment + * @see com.github.javaparser.ast.comments.BlockComment + */ + public List getComments() { + return this.getAllContainedComments(); + } + + /** + * Retrieves the list of imports declared in this compilation unit or + * null if there is no import. + * + * @return the list of imports or null if there is no import + */ + public List getImports() { + imports = ensureNotNull(imports); + return imports; + } + + /** + * Retrieves the package declaration of this compilation unit.
+ * If this compilation unit has no package declaration (default package), + * null is returned. + * + * @return the package declaration or null + */ + public PackageDeclaration getPackage() { + return pakage; + } + + /** + * Return the list of types declared in this compilation unit.
+ * If there is no types declared, null is returned. + * + * @return the list of types or null null if there is no type + * @see AnnotationDeclaration + * @see ClassOrInterfaceDeclaration + * @see EmptyTypeDeclaration + * @see EnumDeclaration + */ + public List> getTypes() { + types = ensureNotNull(types); + return types; + } + + /** + * Sets the list of comments of this compilation unit. + * + * @param comments + * the list of comments + */ + public void setComments(List comments) { + throw new RuntimeException("Not implemented!"); + } + + /** + * Sets the list of imports of this compilation unit. The list is initially + * null. + * + * @param imports + * the list of imports + */ + public void setImports(List imports) { + this.imports = imports; + setAsParentNodeOf(this.imports); + } + + /** + * Sets or clear the package declarations of this compilation unit. + * + * @param pakage + * the pakage declaration to set or null to default + * package + */ + public void setPackage(PackageDeclaration pakage) { + this.pakage = pakage; + setAsParentNodeOf(this.pakage); + } + + /** + * Sets the list of types declared in this compilation unit. + * + * @param types + * the lis of types + */ + public void setTypes(List> types) { + this.types = types; + setAsParentNodeOf(this.types); + } + + /** + * sets the package declaration of this compilation unit + * + * @param name the name of the package + * @return this, the {@link CompilationUnit} + */ + public CompilationUnit setPackageName(String name) { + setPackage(new PackageDeclaration(NameExpr.create(name))); + return this; + } + + /** + * Add an import to the list of {@link ImportDeclaration} of this compilation unit
+ * shorthand for {@link #addImport(String, boolean, boolean)} with name,false,false + * + * @param name the import name + * @return this, the {@link CompilationUnit} + */ + public CompilationUnit addImport(String name) { + return addImport(name, false, false); + } + + /** + * Add an import to the list of {@link ImportDeclaration} of this compilation unit
+ * shorthand for {@link #addImport(String)} with clazz.getName() + * + * @param clazz the class to import + * @return this, the {@link CompilationUnit} + */ + public CompilationUnit addImport(Class clazz) { + if (ClassUtils.isPrimitiveOrWrapper(clazz) || clazz.getName().startsWith("java.lang")) + return this; + else if (clazz.isArray() && !ClassUtils.isPrimitiveOrWrapper(clazz.getComponentType()) + && !clazz.getComponentType().getName().startsWith("java.lang")) + return addImport(clazz.getComponentType().getName()); + return addImport(clazz.getName()); + } + + /** + * Add an import to the list of {@link ImportDeclaration} of this compilation unit
+ * This method check if no import with the same name is already in the list + * + * @param name the import name + * @param isStatic is it an "import static" + * @param isAsterisk does the import end with ".*" + * @return this, the {@link CompilationUnit} + */ + public CompilationUnit addImport(String name, boolean isStatic, boolean isAsterisk) { + if (getImports().stream().anyMatch(i -> i.getName().toString().equals(name))) + return this; + else { + ImportDeclaration importDeclaration = new ImportDeclaration(NameExpr.create(name), isStatic, + isAsterisk); + getImports().add(importDeclaration); + importDeclaration.setParentNode(this); + return this; + } + } + + /** + * Add a public class to the types of this compilation unit + * + * @param name the class name + * @return the newly created class + */ + public ClassOrInterfaceDeclaration addClass(String name) { + return addClass(name, Modifier.PUBLIC); + } + + /** + * Add a class to the types of this compilation unit + * + * @param name the class name + * @param modifiers the modifiers (like Modifier.PUBLIC) + * @return the newly created class + */ + public ClassOrInterfaceDeclaration addClass(String name, Modifier... modifiers) { + ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration( + Arrays.stream(modifiers) + .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), + false, name); + getTypes().add(classOrInterfaceDeclaration); + classOrInterfaceDeclaration.setParentNode(this); + return classOrInterfaceDeclaration; + } + + /** + * Add a public interface class to the types of this compilation unit + * + * @param name the interface name + * @return the newly created class + */ + public ClassOrInterfaceDeclaration addInterface(String name) { + return addInterface(name, Modifier.PUBLIC); + } + + /** + * Add an interface to the types of this compilation unit + * + * @param name the interface name + * @param modifiers the modifiers (like Modifier.PUBLIC) + * @return the newly created class + */ + public ClassOrInterfaceDeclaration addInterface(String name, Modifier... modifiers) { + ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration( + Arrays.stream(modifiers) + .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), + true, name); + getTypes().add(classOrInterfaceDeclaration); + classOrInterfaceDeclaration.setParentNode(this); + return classOrInterfaceDeclaration; + } + + /** + * Add a public enum to the types of this compilation unit + * + * @param name the enum name + * @return the newly created class + */ + public EnumDeclaration addEnum(String name) { + return addEnum(name, Modifier.PUBLIC); + } + + /** + * Add an enum to the types of this compilation unit + * + * @param name the enum name + * @param modifiers the modifiers (like Modifier.PUBLIC) + * @return the newly created class + */ + public EnumDeclaration addEnum(String name, Modifier... modifiers) { + EnumDeclaration enumDeclaration = new EnumDeclaration(Arrays.stream(modifiers) + .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), name); + getTypes().add(enumDeclaration); + enumDeclaration.setParentNode(this); + return enumDeclaration; + } + + /** + * Add a public annotation declaration to the types of this compilation unit + * + * @param name the annotation name + * @return the newly created class + */ + public AnnotationDeclaration addAnnotationDeclaration(String name) { + return addAnnotationDeclaration(name, Modifier.PUBLIC); + } + + /** + * Add an annotation declaration to the types of this compilation unit + * + * @param name the annotation name + * @param modifiers the modifiers (like Modifier.PUBLIC) + * @return the newly created class + */ + public AnnotationDeclaration addAnnotationDeclaration(String name, Modifier... modifiers) { + AnnotationDeclaration annotationDeclaration = new AnnotationDeclaration(Arrays.stream(modifiers) + .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), name); + getTypes().add(annotationDeclaration); + annotationDeclaration.setParentNode(this); + return annotationDeclaration; + } + + /** + * Try to get a class by its name + * + * @param className the class name (case-sensitive) + * @return null if not found, the class otherwise + */ + public ClassOrInterfaceDeclaration getClassByName(String className) { + return (ClassOrInterfaceDeclaration) getTypes().stream().filter(type -> type.getName().equals(className) + && type instanceof ClassOrInterfaceDeclaration && !((ClassOrInterfaceDeclaration) type).isInterface()) + .findFirst().orElse(null); + } + + /** + * Try to get an interface by its name + * + * @param interfaceName the interface name (case-sensitive) + * @return null if not found, the interface otherwise + */ + public ClassOrInterfaceDeclaration getInterfaceByName(String interfaceName) { + return (ClassOrInterfaceDeclaration) getTypes().stream().filter(type -> type.getName().equals(interfaceName) + && type instanceof ClassOrInterfaceDeclaration && ((ClassOrInterfaceDeclaration) type).isInterface()) + .findFirst().orElse(null); + } + + /** + * Try to get an enum by its name + * + * @param enumName the enum name (case-sensitive) + * @return null if not found, the enum otherwise + */ + public EnumDeclaration getEnumByName(String enumName) { + return (EnumDeclaration) getTypes().stream().filter(type -> type.getName().equals(enumName) + && type instanceof EnumDeclaration) + .findFirst().orElse(null); + } + + /** + * Try to get an annotation by its name + * + * @param annotationName the annotation name (case-sensitive) + * @return null if not found, the annotation otherwise + */ + public AnnotationDeclaration getAnnotationDeclarationByName(String annotationName) { + return (AnnotationDeclaration) getTypes().stream().filter(type -> type.getName().equals(annotationName) + && type instanceof AnnotationDeclaration) + .findFirst().orElse(null); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/ImportDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/ImportDeclaration.java new file mode 100644 index 00000000..62820035 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/ImportDeclaration.java @@ -0,0 +1,185 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + *

+ * This class represents a import declaration or an empty import declaration. Imports are optional for the + * {@link CompilationUnit}. + *

+ * The ImportDeclaration is constructed following the syntax:
+ *
+ * {@code
+ * ImportDeclaration ::= "import" ( "static" )? }{@link NameExpr}{@code ( "." "*" )? ";"
+ * }
+ * 
+ * An enmpty import declaration is simply a semicolon among the import declarations. + * @author Julio Vilmar Gesser + */ +public final class ImportDeclaration extends Node { + + private NameExpr name; + private boolean static_; + private boolean asterisk; + private boolean isEmptyImportDeclaration; + + private ImportDeclaration() { + this.isEmptyImportDeclaration = true; + static_ = false; + asterisk = false; + } + + private ImportDeclaration(Range range) { + super(range); + this.isEmptyImportDeclaration = true; + static_ = false; + asterisk = false; + } + + /** + * Create an empty import declaration without specifying its position. + */ + public static ImportDeclaration createEmptyDeclaration(){ + return new ImportDeclaration(); + } + + /** + * Create an empty import declaration specifying its position. + */ + public static ImportDeclaration createEmptyDeclaration(Range range){ + return new ImportDeclaration(range); + } + + public ImportDeclaration(NameExpr name, boolean isStatic, boolean isAsterisk) { + setAsterisk(isAsterisk); + setName(name); + setStatic(isStatic); + this.isEmptyImportDeclaration = false; + } + + public ImportDeclaration(Range range, NameExpr name, boolean isStatic, boolean isAsterisk) { + super(range); + setAsterisk(isAsterisk); + setName(name); + setStatic(isStatic); + this.isEmptyImportDeclaration = false; + } + + /** + * Is this an empty import declaration or a normal import declaration? + */ + public boolean isEmptyImportDeclaration(){ + return this.isEmptyImportDeclaration; + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public
void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + /** + * Retrieves the name of the import. + * + * @return the name of the import + * @throws UnsupportedOperationException when invoked on an empty import declaration + */ + public NameExpr getName() { + if (isEmptyImportDeclaration) { + throw new UnsupportedOperationException("Empty import declarations have no name"); + } + return name; + } + + /** + * Return if the import ends with "*". + * + * @return true if the import ends with "*", false + * otherwise + */ + public boolean isAsterisk() { + return asterisk; + } + + /** + * Return if the import is static. + * + * @return true if the import is static, false + * otherwise + */ + public boolean isStatic() { + return static_; + } + + /** + * Sets if this import is asterisk. + * + * @param asterisk + * true if this import is asterisk + * @throws UnsupportedOperationException when setting true on an empty import declaration + */ + public void setAsterisk(boolean asterisk) { + if (isEmptyImportDeclaration && asterisk) { + throw new UnsupportedOperationException("Empty import cannot have asterisk"); + } + this.asterisk = asterisk; + } + + /** + * Sets the name this import. + * + * @param name + * the name to set + * @throws UnsupportedOperationException when invoked on an empty import declaration + */ + public void setName(NameExpr name) { + if (isEmptyImportDeclaration) { + throw new UnsupportedOperationException("Empty import cannot have name"); + } + this.name = name; + setAsParentNodeOf(this.name); + } + + /** + * Sets if this import is static. + * + * @param static_ + * true if this import is static + * @throws UnsupportedOperationException when setting true on an empty import declaration + */ + public void setStatic(boolean static_) { + if (isEmptyImportDeclaration && static_) { + throw new UnsupportedOperationException("Empty import cannot be static"); + } + this.static_ = static_; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Modifier.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Modifier.java new file mode 100644 index 00000000..3f5a50b4 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Modifier.java @@ -0,0 +1,46 @@ +package com.github.javaparser.ast; + +import java.util.EnumSet; + +public enum Modifier { + PUBLIC("public"), + PROTECTED("protected"), + PRIVATE("private"), + ABSTRACT("abstract"), + STATIC("static"), + FINAL("final"), + TRANSIENT("transient"), + VOLATILE("volatile"), + SYNCHRONIZED("synchronized"), + NATIVE("native"), + STRICTFP("strictfp"); + + String lib; + + private Modifier(String lib) { + this.lib = lib; + } + + /** + * @return the lib + */ + public String getLib() { + return lib; + } + + public EnumSet toEnumSet() { + return EnumSet.of(this); + } + + public static AccessSpecifier getAccessSpecifier(EnumSet modifiers) { + if (modifiers.contains(Modifier.PUBLIC)) { + return AccessSpecifier.PUBLIC; + } else if (modifiers.contains(Modifier.PROTECTED)) { + return AccessSpecifier.PROTECTED; + } else if (modifiers.contains(Modifier.PRIVATE)) { + return AccessSpecifier.PRIVATE; + } else { + return AccessSpecifier.DEFAULT; + } + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Node.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Node.java new file mode 100644 index 00000000..8cb2a209 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/Node.java @@ -0,0 +1,372 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast; + +import com.github.javaparser.Position; +import com.github.javaparser.Range; +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.comments.Comment; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.visitor.*; + +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; + +/** + * Abstract class for all nodes of the AST. + * + * Each Node can have one associated comment which describe it and + * a number of "orphan comments" which it contains but are not specifically + * associated to any element. + * + * @author Julio Vilmar Gesser + */ +public abstract class Node implements Cloneable { + private Range range; + + private Node parentNode; + + private List childrenNodes = new LinkedList<>(); + private List orphanComments = new LinkedList<>(); + + /** + * This attribute can store additional information from semantic analysis. + */ + private Object data; + + private Comment comment; + + public Node() { + this(Range.UNKNOWN); + } + + public Node(Range range) { + this.range = range; + } + + /** + * Accept method for visitor support. + * + * @param + * the type the return value of the visitor + * @param + * the type the argument passed to the visitor + * @param v + * the visitor implementation + * @param arg + * the argument passed to the visitor + * @return the result of the visit + */ + public abstract R accept(GenericVisitor v, A arg); + + /** + * Accept method for visitor support. + * + * @param + * the type the argument passed for the visitor + * @param v + * the visitor implementation + * @param arg + * any value relevant for the visitor + */ + public abstract void accept(VoidVisitor v, A arg); + + /** + * This is a comment associated with this node. + * + * @return comment property + */ + public final Comment getComment() { + return comment; + } + + /** + * Use this to retrieve additional information associated to this node. + * + * @return data property + */ + public final Object getData() { + return data; + } + + /** + * The begin position of this node in the source file. + */ + public Position getBegin() { + return range.begin; + } + + /** + * The end position of this node in the source file. + */ + public Position getEnd() { + return range.end; + } + + /** + * Sets the begin position of this node in the source file. + */ + public void setBegin(Position begin) { + range = range.withBegin(begin); + } + + /** + * Sets the end position of this node in the source file. + */ + public void setEnd(Position end) { + range = range.withEnd(end); + } + + /** + * @return the range of characters in the source code that this node covers. + */ + public Range getRange() { + return range; + } + + /** + * @param range the range of characters in the source code that this node covers. + */ + public void setRange(Range range) { + this.range = range; + } + + /** + * Use this to store additional information to this node. + * + * @param comment to be set + */ + public final void setComment(final Comment comment) { + if (comment != null && (this instanceof Comment)) { + throw new RuntimeException("A comment can not be commented"); + } + if (this.comment != null) { + this.comment.setCommentedNode(null); + } + this.comment = comment; + if (comment != null) { + this.comment.setCommentedNode(this); + } + } + + + + /** + * Use this to store additional information to this node. + * + * @param comment to be set + */ + public final void setLineComment(String comment) { + setComment(new LineComment(comment)); + } + + /** + * Use this to store additional information to this node. + * + * @param comment to be set + */ + public final void setBlockComment(String comment) { + setComment(new BlockComment(comment)); + } + + /** + * Use this to store additional information to this node. + * + * @param data to be set + */ + public final void setData(final Object data) { + this.data = data; + } + + /** + * Return the String representation of this node. + * + * @return the String representation of this node + */ + @Override + public final String toString() { + final DumpVisitor visitor = new DumpVisitor(); + accept(visitor, null); + return visitor.getSource(); + } + + public final String toStringWithoutComments() { + final DumpVisitor visitor = new DumpVisitor(false); + accept(visitor, null); + return visitor.getSource(); + } + + @Override + public final int hashCode() { + return toString().hashCode(); + } + + @Override + public boolean equals(final Object obj) { + if (obj == null || !(obj instanceof Node)) { + return false; + } + return EqualsVisitor.equals(this, (Node) obj); + } + + @Override + public Node clone() { + return this.accept(new CloneVisitor(), null); + } + + public Node getParentNode() { + return parentNode; + } + + @SuppressWarnings("unchecked") + public T getParentNodeOfType(Class classType) { + Node parent = parentNode; + while (parent != null) { + if (classType.isAssignableFrom(parent.getClass())) + return (T) parent; + parent = parent.parentNode; + } + return null; + } + + public List getChildrenNodes() { + return childrenNodes; + } + + public boolean contains(Node other) { + return range.contains(other.range); + } + + public void addOrphanComment(Comment comment) { + orphanComments.add(comment); + comment.setParentNode(this); + } + + /** + * This is a list of Comment which are inside the node and are not associated + * with any meaningful AST Node. + * + * For example, comments at the end of methods (immediately before the parenthesis) + * or at the end of CompilationUnit are orphan comments. + * + * When more than one comment preceeds a statement, the one immediately preceding it + * it is associated with the statements, while the others are orphans. + * + * @return all comments that cannot be attributed to a concept + */ + public List getOrphanComments() { + return orphanComments; + } + + /** + * This is the list of Comment which are contained in the Node either because + * they are properly associated to one of its children or because they are floating + * around inside the Node + * + * @return all Comments within the node as a list + */ + public List getAllContainedComments() { + List comments = new LinkedList<>(); + comments.addAll(getOrphanComments()); + + for (Node child : getChildrenNodes()) { + if (child.getComment() != null) { + comments.add(child.getComment()); + } + comments.addAll(child.getAllContainedComments()); + } + + return comments; + } + + /** + * Assign a new parent to this node, removing it + * from the list of children of the previous parent, if any. + * + * @param parentNode node to be set as parent + */ + public void setParentNode(Node parentNode) { + // remove from old parent, if any + if (this.parentNode != null) { + this.parentNode.childrenNodes.remove(this); + } + this.parentNode = parentNode; + // add to new parent, if any + if (this.parentNode != null) { + this.parentNode.childrenNodes.add(this); + } + } + + protected void setAsParentNodeOf(List childNodes) { + if (childNodes != null) { + for (Node current : childNodes) { + current.setParentNode(this); + } + } + } + + protected void setAsParentNodeOf(Node childNode) { + if (childNode != null) { + childNode.setParentNode(this); + } + } + + public static final int ABSOLUTE_BEGIN_LINE = -1; + public static final int ABSOLUTE_END_LINE = -2; + + public boolean isPositionedAfter(Position position) { + return range.isAfter(position); + } + + public boolean isPositionedBefore(Position position) { + return range.isBefore(position); + } + + public boolean hasComment() { + return comment != null; + } + + public void tryAddImportToParentCompilationUnit(Class clazz) { + CompilationUnit parentNode = getParentNodeOfType(CompilationUnit.class); + if (parentNode != null) { + parentNode.addImport(clazz); + } + } + + /** + * Recursively finds all nodes of a certain type. + * + * @param clazz the type of node to find. + */ + public List getNodesByType(Class clazz) { + List nodes = new ArrayList<>(); + for (Node child : getChildrenNodes()) { + if (clazz.isInstance(child)) { + nodes.add(clazz.cast(child)); + } + nodes.addAll(child.getNodesByType(clazz)); + } + return nodes; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/PackageDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/PackageDeclaration.java new file mode 100644 index 00000000..5d0bcdd2 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/PackageDeclaration.java @@ -0,0 +1,127 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.utils.Utils; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +/** + *

+ * This class represents the package declaration. The package declaration is + * optional for the {@link CompilationUnit}. + *

+ * The PackageDeclaration is constructed following the syntax:
+ *
+ * {@code
+ * PackageDeclaration ::= ( }{@link AnnotationExpr}{@code )* "package" }{@link NameExpr}{@code ) ";"
+ * }
+ * 
+ * @author Julio Vilmar Gesser + */ +public final class PackageDeclaration extends Node { + + private List annotations; + + private NameExpr name; + + public PackageDeclaration() { + } + + public PackageDeclaration(NameExpr name) { + setName(name); + } + + public PackageDeclaration(List annotations, NameExpr name) { + setAnnotations(annotations); + setName(name); + } + + public PackageDeclaration(Range range, List annotations, NameExpr name) { + super(range); + setAnnotations(annotations); + setName(name); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public
void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + /** + * Retrieves the list of annotations declared before the package + * declaration. Return null if there are no annotations. + * + * @return list of annotations or null + */ + public List getAnnotations() { + annotations = Utils.ensureNotNull(annotations); + return annotations; + } + + /** + * Return the name expression of the package. + * + * @return the name of the package + */ + public NameExpr getName() { + return name; + } + + /** + * Get full package name. + */ + public String getPackageName() { + return name.toString(); + } + + /** + * @param annotations + * the annotations to set + */ + public void setAnnotations(List annotations) { + this.annotations = annotations; + setAsParentNodeOf(this.annotations); + } + + /** + * Sets the name of this package declaration. + * + * @param name + * the name to set + */ + public void setName(NameExpr name) { + this.name = name; + setAsParentNodeOf(this.name); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeArguments.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeArguments.java new file mode 100644 index 00000000..f0498f99 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeArguments.java @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast; + +import com.github.javaparser.ast.type.Type; + +import java.util.Collections; +import java.util.List; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +public class TypeArguments { + public static final TypeArguments EMPTY = withArguments(Collections.emptyList()); + + private final List typeArguments; + private final boolean usesDiamondOperator; + + private TypeArguments(List typeArguments, boolean usesDiamondOperator) { + this.typeArguments = ensureNotNull(typeArguments); + this.usesDiamondOperator = usesDiamondOperator; + } + + public List getTypeArguments() { + return typeArguments; + } + + public boolean isUsingDiamondOperator() { + return usesDiamondOperator; + } + + public static TypeArguments withDiamondOperator() { + return new TypeArguments(Collections.emptyList(), true); + } + + public static TypeArguments withArguments(List typeArguments) { + return new TypeArguments(typeArguments, false); + } +} \ No newline at end of file diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeParameter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeParameter.java new file mode 100644 index 00000000..8b6b6f56 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/TypeParameter.java @@ -0,0 +1,136 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + *

+ * This class represents the declaration of a generics argument. + *

+ * The TypeParameter is constructed following the syntax:
+ *
+ * {@code
+ * TypeParameter ::=  ( "extends" }{@link ClassOrInterfaceType}{@code ( "&" }{@link ClassOrInterfaceType}{@code )* )?
+ * }
+ * 
+ * @author Julio Vilmar Gesser + */ +public final class TypeParameter extends Node implements NodeWithName { + + private String name; + + private List annotations; + + private List typeBound; + + public TypeParameter() { + } + + public TypeParameter(final String name, final List typeBound) { + setName(name); + setTypeBound(typeBound); + } + + public TypeParameter(Range range, final String name, final List typeBound) { + super(range); + setName(name); + setTypeBound(typeBound); + } + + public TypeParameter(Range range, String name, List typeBound, List annotations) { + this(range, name, typeBound); + setTypeBound(typeBound); + setAnnotations(annotations); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public
void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + /** + * Return the name of the paramenter. + * + * @return the name of the paramenter + */ + @Override + public String getName() { + return name; + } + + /** + * Return the list of {@link ClassOrInterfaceType} that this parameter + * extends. Return null null if there are no type. + * + * @return list of types that this paramente extends or null + */ + public List getTypeBound() { + typeBound = ensureNotNull(typeBound); + return typeBound; + } + + /** + * Sets the name of this type parameter. + * + * @param name + * the name to set + */ + @Override + public TypeParameter setName(final String name) { + this.name = name; + return this; + } + + /** + * Sets the list o types. + * + * @param typeBound + * the typeBound to set + */ + public void setTypeBound(final List typeBound) { + this.typeBound = typeBound; + setAsParentNodeOf(typeBound); + } + + public List getAnnotations() { + annotations = ensureNotNull(annotations); + return annotations; + } + + public void setAnnotations(List annotations) { + this.annotations = annotations; + setAsParentNodeOf(this.annotations); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationDeclaration.java new file mode 100644 index 00000000..74d84e82 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationDeclaration.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import java.util.List; + +import java.util.EnumSet; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class AnnotationDeclaration extends TypeDeclaration { + + public AnnotationDeclaration() { + } + + public AnnotationDeclaration(EnumSet modifiers, String name) { + super(modifiers, name); + } + + public AnnotationDeclaration(EnumSet modifiers, List annotations, String name, + List> members) { + super(annotations, modifiers, name, members); + } + + public AnnotationDeclaration(Range range, EnumSet modifiers, List annotations, String name, + List> members) { + super(range, annotations, modifiers, name, members); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationMemberDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationMemberDeclaration.java new file mode 100644 index 00000000..58a78f41 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/AnnotationMemberDeclaration.java @@ -0,0 +1,149 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class AnnotationMemberDeclaration extends BodyDeclaration + implements NodeWithJavaDoc, NodeWithName, + NodeWithType, NodeWithModifiers { + + private EnumSet modifiers = EnumSet.noneOf(Modifier.class); + + private Type type; + + private String name; + + private Expression defaultValue; + + public AnnotationMemberDeclaration() { + } + + public AnnotationMemberDeclaration(EnumSet modifiers, Type type, String name, Expression defaultValue) { + setModifiers(modifiers); + setType(type); + setName(name); + setDefaultValue(defaultValue); + } + + public AnnotationMemberDeclaration(EnumSet modifiers, List annotations, Type type, String name, + Expression defaultValue) { + super(annotations); + setModifiers(modifiers); + setType(type); + setName(name); + setDefaultValue(defaultValue); + } + + public AnnotationMemberDeclaration(Range range, EnumSet modifiers, List annotations, Type type, + String name, Expression defaultValue) { + super(range, annotations); + setModifiers(modifiers); + setType(type); + setName(name); + setDefaultValue(defaultValue); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public Expression getDefaultValue() { + return defaultValue; + } + + /** + * Return the modifiers of this member declaration. + * + * @see Modifier + * @return modifiers + */ + @Override + public EnumSet getModifiers() { + return modifiers; + } + + @Override + public String getName() { + return name; + } + + @Override + public Type getType() { + return type; + } + + public void setDefaultValue(Expression defaultValue) { + this.defaultValue = defaultValue; + setAsParentNodeOf(defaultValue); + } + + @Override + public AnnotationMemberDeclaration setModifiers(EnumSet modifiers) { + this.modifiers = modifiers; + return this; + } + + @Override + public AnnotationMemberDeclaration setName(String name) { + this.name = name; + return this; + } + + @Override + public AnnotationMemberDeclaration setType(Type type) { + this.type = type; + setAsParentNodeOf(type); + return this; + } + + @Override + public JavadocComment getJavaDoc() { + if (getComment() instanceof JavadocComment) { + return (JavadocComment) getComment(); + } + return null; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BaseParameter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BaseParameter.java new file mode 100644 index 00000000..0010f44b --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BaseParameter.java @@ -0,0 +1,133 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithAnnotations; +import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; +import com.github.javaparser.ast.nodeTypes.NodeWithName; + +public abstract class BaseParameter + extends Node + implements NodeWithAnnotations, NodeWithName, NodeWithModifiers { + private EnumSet modifiers = EnumSet.noneOf(Modifier.class); + + private List annotations; + + private VariableDeclaratorId id; + + public BaseParameter() { + } + + public BaseParameter(VariableDeclaratorId id) { + setId(id); + } + + public BaseParameter(EnumSet modifiers, VariableDeclaratorId id) { + setModifiers(modifiers); + setId(id); + } + + public BaseParameter(EnumSet modifiers, List annotations, VariableDeclaratorId id) { + setModifiers(modifiers); + setAnnotations(annotations); + setId(id); + } + + public BaseParameter(final Range range, EnumSet modifiers, List annotations, VariableDeclaratorId id) { + super(range); + setModifiers(modifiers); + setAnnotations(annotations); + setId(id); + } + + /** + * @return the list returned could be immutable (in that case it will be empty) + */ + @Override + public List getAnnotations() { + annotations = ensureNotNull(annotations); + return annotations; + } + + public VariableDeclaratorId getId() { + return id; + } + + @Override + public String getName() { + return getId().getName(); + } + + @SuppressWarnings("unchecked") + @Override + public T setName(String name) { + if (id != null) + id.setName(name); + else + id = new VariableDeclaratorId(name); + return (T) this; + } + + /** + * Return the modifiers of this parameter declaration. + * + * @see Modifier + * @return modifiers + */ + @Override + public EnumSet getModifiers() { + return modifiers; + } + + /** + * @param annotations a null value is currently treated as an empty list. This behavior could change + * in the future, so please avoid passing null + */ + @Override + @SuppressWarnings("unchecked") + public T setAnnotations(List annotations) { + this.annotations = annotations; + setAsParentNodeOf(this.annotations); + return (T) this; + } + + public void setId(VariableDeclaratorId id) { + this.id = id; + setAsParentNodeOf(this.id); + } + + @Override + @SuppressWarnings("unchecked") + public T setModifiers(EnumSet modifiers) { + this.modifiers = modifiers; + return (T) this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BodyDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BodyDeclaration.java new file mode 100644 index 00000000..9055d96a --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/BodyDeclaration.java @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.utils.Utils; +import com.github.javaparser.ast.nodeTypes.NodeWithAnnotations; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class BodyDeclaration extends Node implements NodeWithAnnotations { + + private List annotations; + + public BodyDeclaration() { + } + + public BodyDeclaration(List annotations) { + setAnnotations(annotations); + } + + public BodyDeclaration(Range range, List annotations) { + super(range); + setAnnotations(annotations); + } + + @Override + public final List getAnnotations() { + annotations = Utils.ensureNotNull(annotations); + return annotations; + } + + /** + * + * @param annotations a null value is currently treated as an empty list. This behavior could change + * in the future, so please avoid passing null + */ + @SuppressWarnings("unchecked") + @Override + public final T setAnnotations(List annotations) { + this.annotations = annotations; + setAsParentNodeOf(this.annotations); + return (T) this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ClassOrInterfaceDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ClassOrInterfaceDeclaration.java new file mode 100644 index 00000000..798e7983 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ClassOrInterfaceDeclaration.java @@ -0,0 +1,200 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ClassOrInterfaceDeclaration extends TypeDeclaration { + + private boolean interface_; + + private List typeParameters; + + // Can contain more than one item if this is an interface + private List extendsList; + + private List implementsList; + + public ClassOrInterfaceDeclaration() { + } + + public ClassOrInterfaceDeclaration(final EnumSet modifiers, final boolean isInterface, + final String name) { + super(modifiers, name); + setInterface(isInterface); + } + + public ClassOrInterfaceDeclaration(final EnumSet modifiers, + final List annotations, final boolean isInterface, + final String name, + final List typeParameters, + final List extendsList, + final List implementsList, + final List> members) { + super(annotations, modifiers, name, members); + setInterface(isInterface); + setTypeParameters(typeParameters); + setExtends(extendsList); + setImplements(implementsList); + } + + public ClassOrInterfaceDeclaration(Range range, final EnumSet modifiers, + final List annotations, final boolean isInterface, + final String name, + final List typeParameters, + final List extendsList, + final List implementsList, + final List> members) { + super(range, annotations, modifiers, name, members); + setInterface(isInterface); + setTypeParameters(typeParameters); + setExtends(extendsList); + setImplements(implementsList); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public List getExtends() { + extendsList = ensureNotNull(extendsList); + return extendsList; + } + + public List getImplements() { + implementsList = ensureNotNull(implementsList); + return implementsList; + } + + public List getTypeParameters() { + typeParameters = ensureNotNull(typeParameters); + return typeParameters; + } + + public boolean isInterface() { + return interface_; + } + + /** + * + * @param extendsList a null value is currently treated as an empty list. This behavior could change + * in the future, so please avoid passing null + */ + public void setExtends(final List extendsList) { + this.extendsList = extendsList; + setAsParentNodeOf(this.extendsList); + } + + /** + * + * @param implementsList a null value is currently treated as an empty list. This behavior could change + * in the future, so please avoid passing null + */ + public void setImplements(final List implementsList) { + this.implementsList = implementsList; + setAsParentNodeOf(this.implementsList); + } + + public void setInterface(final boolean interface_) { + this.interface_ = interface_; + } + + /** + * + * @param typeParameters a null value is currently treated as an empty list. This behavior could change + * in the future, so please avoid passing null + */ + public void setTypeParameters(final List typeParameters) { + this.typeParameters = typeParameters; + setAsParentNodeOf(this.typeParameters); + } + + /** + * Add an extends to this class or interface and automatically add the import + * + * @param clazz the class to extand from + * @return this, the {@link ClassOrInterfaceDeclaration} + */ + public ClassOrInterfaceDeclaration addExtends(Class clazz) { + tryAddImportToParentCompilationUnit(clazz); + return addExtends(clazz.getSimpleName()); + } + + /** + * Add an extends to this class or interface + * + * @param name the name of the type to extends from + * @return this, the {@link ClassOrInterfaceDeclaration} + */ + public ClassOrInterfaceDeclaration addExtends(String name) { + ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(name); + getExtends().add(classOrInterfaceType); + classOrInterfaceType.setParentNode(this); + return this; + } + + /** + * Add an implements to this class or interface + * + * @param name the name of the type to extends from + * @return this, the {@link ClassOrInterfaceDeclaration} + */ + public ClassOrInterfaceDeclaration addImplements(String name) { + ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(name); + getImplements().add(classOrInterfaceType); + classOrInterfaceType.setParentNode(this); + return this; + } + + /** + * Add an implements to this class or interface and automatically add the import + * + * @param clazz the type to implements from + * @return this, the {@link ClassOrInterfaceDeclaration} + */ + public ClassOrInterfaceDeclaration addImplements(Class clazz) { + tryAddImportToParentCompilationUnit(clazz); + return addImplements(clazz.getSimpleName()); + } + + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ConstructorDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ConstructorDeclaration.java new file mode 100644 index 00000000..7fa54a0a --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/ConstructorDeclaration.java @@ -0,0 +1,261 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.AccessSpecifier; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithBlockStmt; +import com.github.javaparser.ast.nodeTypes.NodeWithDeclaration; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.nodeTypes.NodeWithParameters; +import com.github.javaparser.ast.nodeTypes.NodeWithThrowable; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ConstructorDeclaration extends BodyDeclaration + implements NodeWithJavaDoc, NodeWithDeclaration, + NodeWithName, NodeWithModifiers, + NodeWithParameters, NodeWithThrowable, + NodeWithBlockStmt { + + private EnumSet modifiers = EnumSet.noneOf(Modifier.class); + + private List typeParameters; + + private NameExpr name; + + private List parameters; + + private List throws_; + + private BlockStmt body; + + public ConstructorDeclaration() { + } + + public ConstructorDeclaration(EnumSet modifiers, String name) { + setModifiers(modifiers); + setName(name); + } + + public ConstructorDeclaration(EnumSet modifiers, List annotations, + List typeParameters, + String name, List parameters, List throws_, + BlockStmt block) { + super(annotations); + setModifiers(modifiers); + setTypeParameters(typeParameters); + setName(name); + setParameters(parameters); + setThrows(throws_); + setBody(block); + } + + public ConstructorDeclaration(Range range, EnumSet modifiers, + List annotations, List typeParameters, String name, + List parameters, List throws_, BlockStmt block) { + super(range, annotations); + setModifiers(modifiers); + setTypeParameters(typeParameters); + setName(name); + setParameters(parameters); + setThrows(throws_); + setBody(block); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + /** + * Return the modifiers of this member declaration. + * + * @see Modifier + * @return modifiers + */ + @Override + public EnumSet getModifiers() { + return modifiers; + } + + @Override + public String getName() { + return name == null ? null : name.getName(); + } + + public NameExpr getNameExpr() { + return name; + } + + @Override + public List getParameters() { + parameters = ensureNotNull(parameters); + return parameters; + } + + @Override + public List getThrows() { + throws_ = ensureNotNull(throws_); + return throws_; + } + + public List getTypeParameters() { + typeParameters = ensureNotNull(typeParameters); + return typeParameters; + } + + @Override + public ConstructorDeclaration setModifiers(EnumSet modifiers) { + this.modifiers = modifiers; + return this; + } + + @Override + public ConstructorDeclaration setName(String name) { + setNameExpr(new NameExpr(name)); + return this; + } + + public ConstructorDeclaration setNameExpr(NameExpr name) { + this.name = name; + setAsParentNodeOf(this.name); + return this; + } + + @Override + public ConstructorDeclaration setParameters(List parameters) { + this.parameters = parameters; + setAsParentNodeOf(this.parameters); + return this; + } + + @Override + public ConstructorDeclaration setThrows(List throws_) { + this.throws_ = throws_; + setAsParentNodeOf(this.throws_); + return this; + } + + public void setTypeParameters(List typeParameters) { + this.typeParameters = typeParameters; + setAsParentNodeOf(this.typeParameters); + } + + /** + * The declaration returned has this schema: + * + * [accessSpecifier] className ([paramType [paramName]]) + * [throws exceptionsList] + */ + @Override + public String getDeclarationAsString(boolean includingModifiers, boolean includingThrows, + boolean includingParameterName) { + StringBuilder sb = new StringBuilder(); + if (includingModifiers) { + AccessSpecifier accessSpecifier = Modifier.getAccessSpecifier(getModifiers()); + sb.append(accessSpecifier.getCodeRepresenation()); + sb.append(accessSpecifier == AccessSpecifier.DEFAULT ? "" : " "); + } + sb.append(getName()); + sb.append("("); + boolean firstParam = true; + for (Parameter param : getParameters()) { + if (firstParam) { + firstParam = false; + } else { + sb.append(", "); + } + if (includingParameterName) { + sb.append(param.toStringWithoutComments()); + } else { + sb.append(param.getType().toStringWithoutComments()); + } + } + sb.append(")"); + if (includingThrows) { + boolean firstThrow = true; + for (ReferenceType thr : getThrows()) { + if (firstThrow) { + firstThrow = false; + sb.append(" throws "); + } else { + sb.append(", "); + } + sb.append(thr.toStringWithoutComments()); + } + } + return sb.toString(); + } + + @Override + public String getDeclarationAsString(boolean includingModifiers, boolean includingThrows) { + return getDeclarationAsString(includingModifiers, includingThrows, true); + } + + @Override + public String getDeclarationAsString() { + return getDeclarationAsString(true, true, true); + } + + @Override + public JavadocComment getJavaDoc() { + if (getComment() instanceof JavadocComment) { + return (JavadocComment) getComment(); + } + return null; + } + + @Override + public BlockStmt getBody() { + return body; + } + + @Override + public ConstructorDeclaration setBody(BlockStmt body) { + this.body = body; + setAsParentNodeOf(body); + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyMemberDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyMemberDeclaration.java new file mode 100644 index 00000000..102eb7aa --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyMemberDeclaration.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class EmptyMemberDeclaration extends BodyDeclaration + implements NodeWithJavaDoc { + + public EmptyMemberDeclaration() { + super(null); + } + + public EmptyMemberDeclaration(Range range) { + super(range, null); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + @Override + public JavadocComment getJavaDoc() { + if(getComment() instanceof JavadocComment){ + return (JavadocComment) getComment(); + } + return null; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyTypeDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyTypeDeclaration.java new file mode 100644 index 00000000..3a774de9 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EmptyTypeDeclaration.java @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import java.util.EnumSet; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class EmptyTypeDeclaration extends TypeDeclaration { + + public EmptyTypeDeclaration() { + super(null, EnumSet.noneOf(Modifier.class), null, null); + } + + public EmptyTypeDeclaration(Range range) { + super(range, null, EnumSet.noneOf(Modifier.class), null, null); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumConstantDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumConstantDeclaration.java new file mode 100644 index 00000000..becbce6b --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumConstantDeclaration.java @@ -0,0 +1,126 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class EnumConstantDeclaration extends BodyDeclaration + implements NodeWithJavaDoc, NodeWithName { + + private String name; + + private List args; + + private List> classBody; + + public EnumConstantDeclaration() { + } + + public EnumConstantDeclaration(String name) { + setName(name); + } + + public EnumConstantDeclaration(List annotations, String name, List args, + List> classBody) { + super(annotations); + setName(name); + setArgs(args); + setClassBody(classBody); + } + + public EnumConstantDeclaration(Range range, List annotations, String name, List args, + List> classBody) { + super(range, annotations); + setName(name); + setArgs(args); + setClassBody(classBody); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public List getArgs() { + args = ensureNotNull(args); + return args; + } + + public List> getClassBody() { + classBody = ensureNotNull(classBody); + return classBody; + } + + @Override + public String getName() { + return name; + } + + public void setArgs(List args) { + this.args = args; + setAsParentNodeOf(this.args); + } + + public void setClassBody(List> classBody) { + this.classBody = classBody; + setAsParentNodeOf(this.classBody); + } + + @Override + public EnumConstantDeclaration setName(String name) { + this.name = name; + return this; + } + + @Override + public JavadocComment getJavaDoc() { + if(getComment() instanceof JavadocComment){ + return (JavadocComment) getComment(); + } + return null; + } + + public EnumConstantDeclaration addArgument(String valueExpr) { + getArgs().add(NameExpr.create(valueExpr)); + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumDeclaration.java new file mode 100644 index 00000000..b54c6a0e --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/EnumDeclaration.java @@ -0,0 +1,132 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class EnumDeclaration extends TypeDeclaration { + + private List implementsList; + + private List entries; + + public EnumDeclaration() { + } + + public EnumDeclaration(EnumSet modifiers, String name) { + super(modifiers, name); + } + + public EnumDeclaration(EnumSet modifiers, List annotations, String name, + List implementsList, List entries, + List> members) { + super(annotations, modifiers, name, members); + setImplements(implementsList); + setEntries(entries); + } + + public EnumDeclaration(Range range, EnumSet modifiers, List annotations, String name, + List implementsList, List entries, + List> members) { + super(range, annotations, modifiers, name, members); + setImplements(implementsList); + setEntries(entries); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public List getEntries() { + entries = ensureNotNull(entries); + return entries; + } + + public List getImplements() { + implementsList = ensureNotNull(implementsList); + return implementsList; + } + + public EnumDeclaration setEntries(List entries) { + this.entries = entries; + setAsParentNodeOf(this.entries); + return this; + } + + public EnumDeclaration setImplements(List implementsList) { + this.implementsList = implementsList; + setAsParentNodeOf(this.implementsList); + return this; + } + + /** + * Add an implements to this enum + * + * @param name the name of the type to extends from + * @return this, the {@link EnumDeclaration} + */ + public EnumDeclaration addImplements(String name) { + ClassOrInterfaceType classOrInterfaceType = new ClassOrInterfaceType(name); + getImplements().add(classOrInterfaceType); + classOrInterfaceType.setParentNode(this); + return this; + } + + /** + * Add an implements to this enum and automatically add the import + * + * @param clazz the type to implements from + * @return this, the {@link EnumDeclaration} + */ + public EnumDeclaration addImplements(Class clazz) { + tryAddImportToParentCompilationUnit(clazz); + return addImplements(clazz.getSimpleName()); + } + + public EnumConstantDeclaration addEnumConstant(String name) { + EnumConstantDeclaration enumConstant = new EnumConstantDeclaration(name); + getEntries().add(enumConstant); + enumConstant.setParentNode(this); + return enumConstant; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/FieldDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/FieldDeclaration.java new file mode 100644 index 00000000..a85b273c --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/FieldDeclaration.java @@ -0,0 +1,251 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.ast.Modifier.*; +import static com.github.javaparser.ast.type.VoidType.*; +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.ArrayList; +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.AssignExpr.Operator; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.type.VoidType; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class FieldDeclaration extends BodyDeclaration + implements NodeWithJavaDoc, NodeWithType, + NodeWithModifiers { + + private EnumSet modifiers = EnumSet.noneOf(Modifier.class); + + private Type type; + + private List variables; + + public FieldDeclaration() { + } + + public FieldDeclaration(EnumSet modifiers, Type type, VariableDeclarator variable) { + setModifiers(modifiers); + setType(type); + List aux = new ArrayList<>(); + aux.add(variable); + setVariables(aux); + } + + public FieldDeclaration(EnumSet modifiers, Type type, List variables) { + setModifiers(modifiers); + setType(type); + setVariables(variables); + } + + public FieldDeclaration(EnumSet modifiers, List annotations, Type type, + List variables) { + super(annotations); + setModifiers(modifiers); + setType(type); + setVariables(variables); + } + + public FieldDeclaration(Range range, EnumSet modifiers, List annotations, Type type, + List variables) { + super(range, annotations); + setModifiers(modifiers); + setType(type); + setVariables(variables); + } + + /** + * Creates a {@link FieldDeclaration}. + * + * @param modifiers + * modifiers + * @param type + * type + * @param variable + * variable declarator + * @return instance of {@link FieldDeclaration} + */ + public static FieldDeclaration create(EnumSet modifiers, Type type, + VariableDeclarator variable) { + List variables = new ArrayList<>(); + variables.add(variable); + return new FieldDeclaration(modifiers, type, variables); + } + + /** + * Creates a {@link FieldDeclaration}. + * + * @param modifiers + * modifiers + * @param type + * type + * @param name + * field name + * @return instance of {@link FieldDeclaration} + */ + public static FieldDeclaration create(EnumSet modifiers, Type type, String name) { + VariableDeclaratorId id = new VariableDeclaratorId(name); + VariableDeclarator variable = new VariableDeclarator(id); + return create(modifiers, type, variable); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + /** + * Return the modifiers of this member declaration. + * + * @see Modifier + * @return modifiers + */ + @Override + public EnumSet getModifiers() { + return modifiers; + } + + @Override + public Type getType() { + return type; + } + + public List getVariables() { + variables = ensureNotNull(variables); + return variables; + } + + @Override + public FieldDeclaration setModifiers(EnumSet modifiers) { + this.modifiers = modifiers; + return this; + } + + @Override + public FieldDeclaration setType(Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } + + public void setVariables(List variables) { + this.variables = variables; + setAsParentNodeOf(this.variables); + } + + @Override + public JavadocComment getJavaDoc() { + if (getComment() instanceof JavadocComment) { + return (JavadocComment) getComment(); + } + return null; + } + + /** + * Create a getter for this field, will only work if this field declares only 1 identifier and if this field is + * already added to a ClassOrInterfaceDeclaration + * + * @return the {@link MethodDeclaration} created + * @throws IllegalStateException if there is more than 1 variable identifier or if this field isn't attached to a + * class or enum + */ + public MethodDeclaration createGetter() { + if (getVariables().size() != 1) + throw new IllegalStateException("You can use this only when the field declares only 1 variable name"); + ClassOrInterfaceDeclaration parentClass = getParentNodeOfType(ClassOrInterfaceDeclaration.class); + EnumDeclaration parentEnum = getParentNodeOfType(EnumDeclaration.class); + if ((parentClass == null && parentEnum == null) || (parentClass != null && parentClass.isInterface())) + throw new IllegalStateException( + "You can use this only when the field is attached to a class or an enum"); + + String fieldName = getVariables().get(0).getId().getName(); + String fieldNameUpper = fieldName.toUpperCase().substring(0, 1) + fieldName.substring(1, fieldName.length()); + final MethodDeclaration getter; + if (parentClass != null) + getter = parentClass.addMethod("get" + fieldNameUpper, PUBLIC); + else + getter = parentEnum.addMethod("get" + fieldNameUpper, PUBLIC); + getter.setType(getType()); + BlockStmt blockStmt = new BlockStmt(); + getter.setBody(blockStmt); + blockStmt.addStatement(new ReturnStmt(NameExpr.create(fieldName))); + return getter; + } + + /** + * Create a setter for this field, will only work if this field declares only 1 identifier and if this field is + * already added to a ClassOrInterfaceDeclaration + * + * @return the {@link MethodDeclaration} created + * @throws IllegalStateException if there is more than 1 variable identifier or if this field isn't attached to a + * class or enum + */ + public MethodDeclaration createSetter() { + if (getVariables().size() != 1) + throw new IllegalStateException("You can use this only when the field declares only 1 variable name"); + ClassOrInterfaceDeclaration parentClass = getParentNodeOfType(ClassOrInterfaceDeclaration.class); + EnumDeclaration parentEnum = getParentNodeOfType(EnumDeclaration.class); + if ((parentClass == null && parentEnum == null) || (parentClass != null && parentClass.isInterface())) + throw new IllegalStateException( + "You can use this only when the field is attached to a class or an enum"); + + String fieldName = getVariables().get(0).getId().getName(); + String fieldNameUpper = fieldName.toUpperCase().substring(0, 1) + fieldName.substring(1, fieldName.length()); + + final MethodDeclaration setter; + if (parentClass != null) + setter = parentClass.addMethod("set" + fieldNameUpper, PUBLIC); + else + setter = parentEnum.addMethod("set" + fieldNameUpper, PUBLIC); + setter.setType(VOID_TYPE); + setter.getParameters().add(new Parameter(getType(), new VariableDeclaratorId(fieldName))); + BlockStmt blockStmt2 = new BlockStmt(); + setter.setBody(blockStmt2); + blockStmt2.addStatement(new AssignExpr(new NameExpr("this." + fieldName), new NameExpr(fieldName), Operator.assign)); + return setter; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/InitializerDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/InitializerDeclaration.java new file mode 100644 index 00000000..d4ba4319 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/InitializerDeclaration.java @@ -0,0 +1,90 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class InitializerDeclaration extends BodyDeclaration + implements NodeWithJavaDoc { + + private boolean isStatic; + + private BlockStmt block; + + public InitializerDeclaration() { + } + + public InitializerDeclaration(boolean isStatic, BlockStmt block) { + super(null); + setStatic(isStatic); + setBlock(block); + } + + public InitializerDeclaration(Range range, boolean isStatic, BlockStmt block) { + super(range, null); + setStatic(isStatic); + setBlock(block); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public BlockStmt getBlock() { + return block; + } + + public boolean isStatic() { + return isStatic; + } + + public void setBlock(BlockStmt block) { + this.block = block; + setAsParentNodeOf(this.block); + } + + public void setStatic(boolean isStatic) { + this.isStatic = isStatic; + } + + @Override + public JavadocComment getJavaDoc() { + if(getComment() instanceof JavadocComment){ + return (JavadocComment) getComment(); + } + return null; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MethodDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MethodDeclaration.java new file mode 100644 index 00000000..18a6ab4a --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MethodDeclaration.java @@ -0,0 +1,338 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.AccessSpecifier; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithBlockStmt; +import com.github.javaparser.ast.nodeTypes.NodeWithDeclaration; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.nodeTypes.NodeWithParameters; +import com.github.javaparser.ast.nodeTypes.NodeWithThrowable; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class MethodDeclaration extends BodyDeclaration + implements NodeWithJavaDoc, NodeWithDeclaration, NodeWithName, + NodeWithType, + NodeWithModifiers, NodeWithParameters, + NodeWithThrowable, NodeWithBlockStmt { + + private EnumSet modifiers = EnumSet.noneOf(Modifier.class); + + private List typeParameters; + + private Type type; + + private NameExpr name; + + private List parameters; + + private int arrayCount; + + private List throws_; + + private BlockStmt body; + + private boolean isDefault = false; + + public MethodDeclaration() { + } + + public MethodDeclaration(final EnumSet modifiers, final Type type, final String name) { + setModifiers(modifiers); + setType(type); + setName(name); + } + + public MethodDeclaration(final EnumSet modifiers, final Type type, final String name, + final List parameters) { + setModifiers(modifiers); + setType(type); + setName(name); + setParameters(parameters); + } + + public MethodDeclaration(final EnumSet modifiers, final List annotations, + final List typeParameters, final Type type, final String name, + final List parameters, final int arrayCount, final List throws_, + final BlockStmt body) { + super(annotations); + setModifiers(modifiers); + setTypeParameters(typeParameters); + setType(type); + setName(name); + setParameters(parameters); + setArrayCount(arrayCount); + setThrows(throws_); + setBody(body); + } + + public MethodDeclaration(Range range, + final EnumSet modifiers, final List annotations, + final List typeParameters, final Type type, final String name, + final List parameters, final int arrayCount, final List throws_, + final BlockStmt body) { + super(range, annotations); + setModifiers(modifiers); + setTypeParameters(typeParameters); + setType(type); + setName(name); + setParameters(parameters); + setArrayCount(arrayCount); + setThrows(throws_); + setBody(body); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public int getArrayCount() { + return arrayCount; + } + + @Override + public BlockStmt getBody() { + return body; + } + + /** + * Return the modifiers of this member declaration. + * + * @see Modifier + * @return modifiers + */ + @Override + public EnumSet getModifiers() { + return modifiers; + } + + @Override + public String getName() { + return name.getName(); + } + + public NameExpr getNameExpr() { + return name; + } + + @Override + public List getParameters() { + parameters = ensureNotNull(parameters); + return parameters; + } + + @Override + public List getThrows() { + throws_ = ensureNotNull(throws_); + return throws_; + } + + @Override + public Type getType() { + return type; + } + + public List getTypeParameters() { + typeParameters = ensureNotNull(typeParameters); + return typeParameters; + } + + public void setArrayCount(final int arrayCount) { + this.arrayCount = arrayCount; + } + + @Override + public MethodDeclaration setBody(final BlockStmt body) { + this.body = body; + setAsParentNodeOf(this.body); + return this; + } + + @Override + public MethodDeclaration setModifiers(final EnumSet modifiers) { + this.modifiers = modifiers; + return this; + } + + @Override + public MethodDeclaration setName(final String name) { + setNameExpr(new NameExpr(name)); + return this; + } + + public MethodDeclaration setNameExpr(final NameExpr name) { + this.name = name; + setAsParentNodeOf(this.name); + return this; + } + + @Override + public MethodDeclaration setParameters(final List parameters) { + this.parameters = parameters; + setAsParentNodeOf(this.parameters); + return this; + } + + @Override + public MethodDeclaration setThrows(final List throws_) { + this.throws_ = throws_; + setAsParentNodeOf(this.throws_); + return this; + } + + @Override + public MethodDeclaration setType(final Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } + + public MethodDeclaration setTypeParameters(final List typeParameters) { + this.typeParameters = typeParameters; + setAsParentNodeOf(typeParameters); + return this; + } + + public boolean isDefault() { + return isDefault; + } + + public MethodDeclaration setDefault(boolean isDefault) { + this.isDefault = isDefault; + return this; + } + + @Override + public String getDeclarationAsString() { + return getDeclarationAsString(true, true, true); + } + + @Override + public String getDeclarationAsString(boolean includingModifiers, boolean includingThrows) { + return getDeclarationAsString(includingModifiers, includingThrows, true); + } + + /** + * The declaration returned has this schema: + * + * [accessSpecifier] [static] [abstract] [final] [native] + * [synchronized] returnType methodName ([paramType [paramName]]) + * [throws exceptionsList] + * + * @return method declaration as String + */ + @Override + public String getDeclarationAsString(boolean includingModifiers, boolean includingThrows, + boolean includingParameterName) { + StringBuilder sb = new StringBuilder(); + if (includingModifiers) { + AccessSpecifier accessSpecifier = Modifier.getAccessSpecifier(getModifiers()); + sb.append(accessSpecifier.getCodeRepresenation()); + sb.append(accessSpecifier == AccessSpecifier.DEFAULT ? "" : " "); + if (getModifiers().contains(Modifier.STATIC)) { + sb.append("static "); + } + if (getModifiers().contains(Modifier.ABSTRACT)) { + sb.append("abstract "); + } + if (getModifiers().contains(Modifier.FINAL)) { + sb.append("final "); + } + if (getModifiers().contains(Modifier.NATIVE)) { + sb.append("native "); + } + if (getModifiers().contains(Modifier.SYNCHRONIZED)) { + sb.append("synchronized "); + } + } + // TODO verify it does not print comments connected to the type + sb.append(getType().toStringWithoutComments()); + sb.append(" "); + sb.append(getName()); + sb.append("("); + boolean firstParam = true; + for (Parameter param : getParameters()) { + if (firstParam) { + firstParam = false; + } else { + sb.append(", "); + } + if (includingParameterName) { + sb.append(param.toStringWithoutComments()); + } else { + sb.append(param.getType().toStringWithoutComments()); + if (param.isVarArgs()) { + sb.append("..."); + } + } + } + sb.append(")"); + if (includingThrows) { + boolean firstThrow = true; + for (ReferenceType thr : getThrows()) { + if (firstThrow) { + firstThrow = false; + sb.append(" throws "); + } else { + sb.append(", "); + } + sb.append(thr.toStringWithoutComments()); + } + } + return sb.toString(); + } + + @Override + public JavadocComment getJavaDoc() { + if (getComment() instanceof JavadocComment) { + return (JavadocComment) getComment(); + } + return null; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MultiTypeParameter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MultiTypeParameter.java new file mode 100644 index 00000000..44b004c8 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/MultiTypeParameter.java @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import java.util.List; + +import java.util.EnumSet; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.type.UnionType; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +public class MultiTypeParameter extends BaseParameter { + private UnionType type; + + public MultiTypeParameter() {} + + public MultiTypeParameter(EnumSet modifiers, List annotations, UnionType type, VariableDeclaratorId id) { + super(modifiers, annotations, id); + this.type = type; + } + + public MultiTypeParameter(Range range, EnumSet modifiers, List annotations, UnionType type, VariableDeclaratorId id) { + super(range, modifiers, annotations, id); + this.type = type; + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public UnionType getType() { + return type; + } + + public void setType(UnionType type) { + this.type = type; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/Parameter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/Parameter.java new file mode 100644 index 00000000..4e99ac3c --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/Parameter.java @@ -0,0 +1,105 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class Parameter extends BaseParameter implements NodeWithType { + private Type type; + + private boolean isVarArgs; + + public Parameter() { + } + + public Parameter(Type type, VariableDeclaratorId id) { + super(id); + setType(type); + } + + /** + * Creates a new {@link Parameter}. + * + * @param type + * type of the parameter + * @param name + * name of the parameter + * @return instance of {@link Parameter} + */ + public static Parameter create(Type type, String name) { + return new Parameter(type, new VariableDeclaratorId(name)); + } + + public Parameter(EnumSet modifiers, Type type, VariableDeclaratorId id) { + super(modifiers, id); + setType(type); + } + + public Parameter(final Range range, EnumSet modifiers, List annotations, Type type, + boolean isVarArgs, VariableDeclaratorId id) { + super(range, modifiers, annotations, id); + setType(type); + setVarArgs(isVarArgs); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + @Override + public Type getType() { + return type; + } + + public boolean isVarArgs() { + return isVarArgs; + } + + @Override + public Parameter setType(Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } + + public void setVarArgs(boolean isVarArgs) { + this.isVarArgs = isVarArgs; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java new file mode 100644 index 00000000..829d37c2 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/TypeDeclaration.java @@ -0,0 +1,160 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import static com.github.javaparser.utils.Utils.ensureNotNull; +import static com.github.javaparser.utils.Utils.isNullOrEmpty; + +import java.util.ArrayList; +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithJavaDoc; +import com.github.javaparser.ast.nodeTypes.NodeWithMembers; +import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; +import com.github.javaparser.ast.nodeTypes.NodeWithName; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class TypeDeclaration extends BodyDeclaration + implements NodeWithName, NodeWithJavaDoc, NodeWithModifiers, NodeWithMembers { + + private NameExpr name; + + private EnumSet modifiers = EnumSet.noneOf(Modifier.class); + + private List> members; + + public TypeDeclaration() { + } + + public TypeDeclaration(EnumSet modifiers, String name) { + setName(name); + setModifiers(modifiers); + } + + public TypeDeclaration(List annotations, + EnumSet modifiers, String name, + List> members) { + super(annotations); + setName(name); + setModifiers(modifiers); + setMembers(members); + } + + public TypeDeclaration(Range range, List annotations, + EnumSet modifiers, String name, + List> members) { + super(range, annotations); + setName(name); + setModifiers(modifiers); + setMembers(members); + } + + /** + * Adds the given declaration to the specified type. The list of members + * will be initialized if it is null. + * + * @param decl + * member declaration + */ + public TypeDeclaration addMember(BodyDeclaration decl) { + List> members = getMembers(); + if (isNullOrEmpty(members)) { + members = new ArrayList<>(); + setMembers(members); + } + members.add(decl); + decl.setParentNode(this); + return this; + } + + @Override + public List> getMembers() { + members = ensureNotNull(members); + return members; + } + + /** + * Return the modifiers of this type declaration. + * + * @see Modifier + * @return modifiers + */ + @Override + public final EnumSet getModifiers() { + return modifiers; + } + + @Override + public final String getName() { + return name.getName(); + } + + @SuppressWarnings("unchecked") + @Override + public T setMembers(List> members) { + this.members = members; + setAsParentNodeOf(this.members); + return (T) this; + } + + @SuppressWarnings("unchecked") + @Override + public T setModifiers(EnumSet modifiers) { + this.modifiers = modifiers; + return (T) this; + } + + @Override + @SuppressWarnings("unchecked") + public T setName(String name) { + setNameExpr(new NameExpr(name)); + return (T) this; + } + + @SuppressWarnings("unchecked") + public T setNameExpr(NameExpr nameExpr) { + this.name = nameExpr; + setAsParentNodeOf(this.name); + return (T) this; + } + + public final NameExpr getNameExpr() { + return name; + } + + @Override + public JavadocComment getJavaDoc() { + if(getComment() instanceof JavadocComment){ + return (JavadocComment) getComment(); + } + return null; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclarator.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclarator.java new file mode 100644 index 00000000..ffd1a111 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclarator.java @@ -0,0 +1,90 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class VariableDeclarator extends Node { + + private VariableDeclaratorId id; + + private Expression init; + + public VariableDeclarator() { + } + + public VariableDeclarator(VariableDeclaratorId id) { + setId(id); + } + + /** + * Defines the declaration of a variable. + * @param id The identifier for this variable. IE. The variables name. + * @param init What this variable should be initialized to. + * An {@link com.github.javaparser.ast.expr.AssignExpr} is unnecessary as the = operator is already added. + */ + public VariableDeclarator(VariableDeclaratorId id, Expression init) { + setId(id); + setInit(init); + } + + public VariableDeclarator(Range range, VariableDeclaratorId id, Expression init) { + super(range); + setId(id); + setInit(init); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public VariableDeclaratorId getId() { + return id; + } + + public Expression getInit() { + return init; + } + + public void setId(VariableDeclaratorId id) { + this.id = id; + setAsParentNodeOf(this.id); + } + + public void setInit(Expression init) { + this.init = init; + setAsParentNodeOf(this.init); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclaratorId.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclaratorId.java new file mode 100644 index 00000000..28809f34 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/body/VariableDeclaratorId.java @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.body; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class VariableDeclaratorId extends Node implements NodeWithName { + + private String name; + + private int arrayCount; + + public VariableDeclaratorId() { + } + + public VariableDeclaratorId(String name) { + setName(name); + } + + public VariableDeclaratorId(Range range, String name, int arrayCount) { + super(range); + setName(name); + setArrayCount(arrayCount); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public int getArrayCount() { + return arrayCount; + } + + @Override + public String getName() { + return name; + } + + public void setArrayCount(int arrayCount) { + this.arrayCount = arrayCount; + } + + @Override + public VariableDeclaratorId setName(String name) { + this.name = name; + return this; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/BlockComment.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/BlockComment.java new file mode 100644 index 00000000..77157d59 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/BlockComment.java @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.comments; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + *

+ * AST node that represent block comments. + *

+ * Block comments can has multi lines and are delimited by "/*" and + * "*/". + * + * @author Julio Vilmar Gesser + */ +public final class BlockComment extends Comment { + + public BlockComment() { + } + + public BlockComment(String content) { + super(content); + } + + public BlockComment(Range range, String content) { + super(range, content); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public
void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/Comment.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/Comment.java new file mode 100644 index 00000000..3f430fec --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/Comment.java @@ -0,0 +1,108 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.comments; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; + +/** + * Abstract class for all AST nodes that represent comments. + * + * @see BlockComment + * @see LineComment + * @see JavadocComment + * @author Julio Vilmar Gesser + */ +public abstract class Comment extends Node { + + private String content; + private Node commentedNode; + + public Comment() { + } + + public Comment(String content) { + this.content = content; + } + + public Comment(Range range, String content) { + super(range); + this.content = content; + } + + /** + * Return the text of the comment. + * + * @return text of the comment + */ + public final String getContent() { + return content; + } + + /** + * Sets the text of the comment. + * + * @param content + * the text of the comment to set + */ + public void setContent(String content) { + this.content = content; + } + + public boolean isLineComment() + { + return false; + } + + public LineComment asLineComment() { + if (isLineComment()) { + return (LineComment) this; + } else { + throw new UnsupportedOperationException("Not a line comment"); + } + } + + public Node getCommentedNode() + { + return this.commentedNode; + } + + public void setCommentedNode(Node commentedNode) + { + if (commentedNode==null) { + this.commentedNode = null; + return; + } + if (commentedNode==this) { + throw new IllegalArgumentException(); + } + if (commentedNode instanceof Comment) { + throw new IllegalArgumentException(); + } + this.commentedNode = commentedNode; + } + + public boolean isOrphan() + { + return this.commentedNode == null; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsCollection.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsCollection.java new file mode 100644 index 00000000..c4328c5c --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsCollection.java @@ -0,0 +1,104 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.comments; + +import java.util.LinkedList; +import java.util.List; + +/** + * Set of comments produced by CommentsParser. + */ +public class CommentsCollection { + private List lineComments = new LinkedList(); + private List blockComments = new LinkedList(); + private List javadocComments = new LinkedList(); + + public List getLineComments(){ + return lineComments; + } + + public List getBlockComments(){ + return blockComments; + } + + public List getJavadocComments(){ + return javadocComments; + } + + public void addComment(LineComment lineComment){ + this.lineComments.add(lineComment); + } + + public void addComment(BlockComment blockComment){ + this.blockComments.add(blockComment); + } + + public void addComment(JavadocComment javadocComment){ + this.javadocComments.add(javadocComment); + } + + public boolean contains(Comment comment){ + for (Comment c : getAll()){ + // we tolerate a difference of one element in the end column: + // it depends how \r and \n are calculated... + if ( c.getBegin().line==comment.getBegin().line && + c.getBegin().column==comment.getBegin().column && + c.getEnd().line==comment.getEnd().line && + Math.abs(c.getEnd().column-comment.getEnd().column)<2 ){ + return true; + } + } + return false; + } + + public List getAll(){ + List comments = new LinkedList(); + comments.addAll(lineComments); + comments.addAll(blockComments); + comments.addAll(javadocComments); + return comments; + } + + public int size(){ + return lineComments.size()+blockComments.size()+javadocComments.size(); + } + + public CommentsCollection minus(CommentsCollection other){ + CommentsCollection result = new CommentsCollection(); + for (LineComment comment : lineComments){ + if (!other.contains(comment)){ + result.lineComments.add(comment); + } + } + for (BlockComment comment : blockComments){ + if (!other.contains(comment)){ + result.blockComments.add(comment); + } + } + for (JavadocComment comment : javadocComments){ + if (!other.contains(comment)){ + result.javadocComments.add(comment); + } + } + return result; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsParser.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsParser.java new file mode 100644 index 00000000..3c61f561 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/CommentsParser.java @@ -0,0 +1,223 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.comments; + +import java.io.*; +import java.util.*; + +import static com.github.javaparser.Position.pos; +import static com.github.javaparser.Range.range; + +/** + * This parser cares exclusively about comments. + */ +public class CommentsParser { + + private enum State { + CODE, + IN_LINE_COMMENT, + IN_BLOCK_COMMENT, + IN_STRING, + IN_CHAR + } + + private static final int COLUMNS_PER_TAB = 4; + + public CommentsCollection parse(final String source) throws IOException { + return parse(new StringReader(source)); + } + + public CommentsCollection parse(final InputStream in, final String charsetName) throws IOException { + return parse(new InputStreamReader(in, charsetName)); + } + + /** + * Track the internal state of the parser, remembering the last characters observed. + */ + private static class ParserState { + private Deque prevTwoChars = new LinkedList(); + + /** + * Is the last character the one expected? + */ + boolean isLastChar(char expectedChar) { + return !prevTwoChars.isEmpty() && prevTwoChars.peekLast().equals(expectedChar); + } + + /** + * Is the character before the last one the same as expectedChar? + */ + public boolean isSecondToLastChar(char expectedChar) { + return !prevTwoChars.isEmpty() && prevTwoChars.peekFirst().equals(expectedChar); + } + + /** + * Record a new character. It will be the last one. The character that was the last one will + * become the second to last one. + */ + public void update(char c) { + if (prevTwoChars.size() == 2) { + prevTwoChars.remove(); + } + prevTwoChars.add(c); + } + + /** + * Remove all the characters observed. + */ + public void reset() { + while (!prevTwoChars.isEmpty()) { + prevTwoChars.removeFirst(); + } + } + } + + /** + * Collects all comments in a piece of Java source. + */ + public CommentsCollection parse(final Reader in) throws IOException { + boolean lastWasASlashR = false; + BufferedReader br = new BufferedReader(in); + CommentsCollection comments = new CommentsCollection(); + int r; + + ParserState parserState = new ParserState(); + + State state = State.CODE; + LineComment currentLineComment = null; + BlockComment currentBlockComment = null; + StringBuilder currentContent = null; + + int currLine = 1; + int currCol = 1; + + while ((r=br.read()) != -1){ + char c = (char)r; + if (c=='\r'){ + lastWasASlashR = true; + } else if (c=='\n'&&lastWasASlashR){ + lastWasASlashR=false; + continue; + } else { + lastWasASlashR=false; + } + switch (state) { + case CODE: + if (parserState.isLastChar('/') && c == '/') { + currentLineComment = new LineComment(); + currentLineComment.setBegin(pos(currLine, currCol - 1)); + state = State.IN_LINE_COMMENT; + currentContent = new StringBuilder(); + } else if (parserState.isLastChar('/') && c == '*') { + currentBlockComment = new BlockComment(); + currentBlockComment.setBegin(pos(currLine, currCol - 1)); + state = State.IN_BLOCK_COMMENT; + currentContent = new StringBuilder(); + } else if (c == '"') { + state = State.IN_STRING; + } else if (c == '\'') { + state = State.IN_CHAR; + } else { + // nothing to do + } + break; + case IN_LINE_COMMENT: + if (c=='\n' || c=='\r'){ + currentLineComment.setContent(currentContent.toString()); + currentLineComment.setEnd(pos(currLine, currCol)); + comments.addComment(currentLineComment); + state = State.CODE; + } else { + currentContent.append(c); + } + break; + case IN_BLOCK_COMMENT: + // '/*/' is not a valid block comment: it starts the block comment but it does not close it + // However this sequence can be contained inside a comment and in that case it close the comment + // For example: + // /* blah blah /*/ + // At the previous line we had a valid block comment + if (parserState.isLastChar('*') && c=='/' && (!parserState.isSecondToLastChar('/') || currentContent.length() > 0)){ + + // delete last character + String content = currentContent.deleteCharAt(currentContent.toString().length()-1).toString(); + + if (content.startsWith("*")){ + JavadocComment javadocComment = new JavadocComment(); + javadocComment.setContent(content.substring(1)); + javadocComment.setRange(range(pos(currentBlockComment.getBegin().line, currentBlockComment.getBegin().column), pos(currLine, currCol+1))); + comments.addComment(javadocComment); + } else { + currentBlockComment.setContent(content); + currentBlockComment.setEnd(pos(currLine, currCol+1)); + comments.addComment(currentBlockComment); + } + state = State.CODE; + } else { + currentContent.append(c == '\r' ? System.getProperty("line.separator") : c); + } + break; + case IN_STRING: + if (!parserState.isLastChar('\\') && c == '"') { + state = State.CODE; + } + break; + case IN_CHAR: + if (!parserState.isLastChar('\\') && c == '\'') { + state = State.CODE; + } + break; + default: + throw new RuntimeException("Unexpected"); + } + switch (c){ + case '\n': + case '\r': + currLine+=1; + currCol = 1; + break; + case '\t': + currCol+=COLUMNS_PER_TAB; + break; + default: + currCol+=1; + } + // ok we have two slashes in a row inside a string + // we want to replace them with... anything else, to not confuse + // the parser + if (state==State.IN_STRING && parserState.isLastChar('\\') && c == '\\') { + parserState.reset(); + } else { + parserState.update(c); + } + } + + if (state==State.IN_LINE_COMMENT){ + currentLineComment.setContent(currentContent.toString()); + currentLineComment.setEnd(pos(currLine, currCol)); + comments.addComment(currentLineComment); + } + + return comments; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/JavadocComment.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/JavadocComment.java new file mode 100644 index 00000000..18b77af2 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/JavadocComment.java @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.comments; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class JavadocComment extends Comment { + + public JavadocComment() { + } + + public JavadocComment(String content) { + super(content); + } + + public JavadocComment(Range range, String content) { + super(range, content); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/LineComment.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/LineComment.java new file mode 100644 index 00000000..56b8054d --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/comments/LineComment.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.comments; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + *

+ * AST node that represent line comments. + *

+ * Line comments are started with "//" and finish at the end of the line ("\n"). + * + * @author Julio Vilmar Gesser + */ +public final class LineComment extends Comment { + + public LineComment() { + } + + public LineComment(String content) { + super(content); + } + + public LineComment(Range range, String content) { + super(range, content); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public
void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + @Override + public boolean isLineComment() + { + return true; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AnnotationExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AnnotationExpr.java new file mode 100644 index 00000000..5f49b320 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AnnotationExpr.java @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class AnnotationExpr extends Expression { + + protected NameExpr name; + + public AnnotationExpr() {} + + public AnnotationExpr(Range range) { + super(range); + } + + public NameExpr getName() { + return name; + } + + public void setName(NameExpr name) { + this.name = name; + setAsParentNodeOf(name); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayAccessExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayAccessExpr.java new file mode 100644 index 00000000..05009780 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayAccessExpr.java @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ArrayAccessExpr extends Expression { + + private Expression name; + + private Expression index; + + public ArrayAccessExpr() { + } + + public ArrayAccessExpr(Expression name, Expression index) { + setName(name); + setIndex(index); + } + + public ArrayAccessExpr(Range range, Expression name, Expression index) { + super(range); + setName(name); + setIndex(index); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public Expression getIndex() { + return index; + } + + public Expression getName() { + return name; + } + + public void setIndex(Expression index) { + this.index = index; + setAsParentNodeOf(this.index); + } + + public void setName(Expression name) { + this.name = name; + setAsParentNodeOf(this.name); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayCreationExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayCreationExpr.java new file mode 100644 index 00000000..fe0f6e06 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayCreationExpr.java @@ -0,0 +1,147 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.nodeTypes.NodeWithArrays; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +/** + * @author Julio Vilmar Gesser + */ +public final class ArrayCreationExpr extends Expression implements NodeWithType, NodeWithArrays { + + private Type type; + + private int arrayCount; + + private ArrayInitializerExpr initializer; + + private List dimensions; + + private List> arraysAnnotations; + + public ArrayCreationExpr() { + } + + public ArrayCreationExpr(Type type, int arrayCount, ArrayInitializerExpr initializer) { + setType(type); + setArrayCount(arrayCount); + setInitializer(initializer); + setDimensions(null); + } + + public ArrayCreationExpr(Range range, Type type, int arrayCount, ArrayInitializerExpr initializer) { + super(range); + setType(type); + setArrayCount(arrayCount); + setInitializer(initializer); + setDimensions(null); + } + + public ArrayCreationExpr(Type type, List dimensions, int arrayCount) { + setType(type); + setArrayCount(arrayCount); + setDimensions(dimensions); + setInitializer(null); + } + + public ArrayCreationExpr(Range range, Type type, List dimensions, int arrayCount) { + super(range); + setType(type); + setArrayCount(arrayCount); + setDimensions(dimensions); + setInitializer(null); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + @Override + public int getArrayCount() { + return arrayCount; + } + + public List getDimensions() { + dimensions = ensureNotNull(dimensions); + return dimensions; + } + + public ArrayInitializerExpr getInitializer() { + return initializer; + } + + @Override + public Type getType() { + return type; + } + + @Override + public ArrayCreationExpr setArrayCount(int arrayCount) { + this.arrayCount = arrayCount; + return this; + } + + public void setDimensions(List dimensions) { + this.dimensions = dimensions; + setAsParentNodeOf(this.dimensions); + } + + public void setInitializer(ArrayInitializerExpr initializer) { + this.initializer = initializer; + setAsParentNodeOf(this.initializer); + } + + @Override + public ArrayCreationExpr setType(Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } + + @Override + public List> getArraysAnnotations() { + arraysAnnotations = ensureNotNull(arraysAnnotations); + return arraysAnnotations; + } + + @Override + public ArrayCreationExpr setArraysAnnotations( + List> arraysAnnotations) { + this.arraysAnnotations = arraysAnnotations; + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayInitializerExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayInitializerExpr.java new file mode 100644 index 00000000..073b9bfb --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ArrayInitializerExpr.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +/** + * @author Julio Vilmar Gesser + */ +public final class ArrayInitializerExpr extends Expression { + + private List values; + + public ArrayInitializerExpr() { + } + + public ArrayInitializerExpr(List values) { + setValues(values); + } + + public ArrayInitializerExpr(Range range, List values) { + super(range); + setValues(values); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public List getValues() { + values = ensureNotNull(values); + return values; + } + + public void setValues(List values) { + this.values = values; + setAsParentNodeOf(this.values); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AssignExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AssignExpr.java new file mode 100644 index 00000000..23c78da9 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/AssignExpr.java @@ -0,0 +1,105 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class AssignExpr extends Expression { + + public enum Operator { + assign, // = + plus, // += + minus, // -= + star, // *= + slash, // /= + and, // &= + or, // |= + xor, // ^= + rem, // %= + lShift, // <<= + rSignedShift, // >>= + rUnsignedShift, // >>>= + } + + private Expression target; + + private Expression value; + + private Operator op; + + public AssignExpr() { + } + + public AssignExpr(Expression target, Expression value, Operator op) { + setTarget(target); + setValue(value); + setOperator(op); + } + + public AssignExpr(Range range, Expression target, Expression value, Operator op) { + super(range); + setTarget(target); + setValue(value); + setOperator(op); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public Operator getOperator() { + return op; + } + + public Expression getTarget() { + return target; + } + + public Expression getValue() { + return value; + } + + public void setOperator(Operator op) { + this.op = op; + } + + public void setTarget(Expression target) { + this.target = target; + setAsParentNodeOf(this.target); + } + + public void setValue(Expression value) { + this.value = value; + setAsParentNodeOf(this.value); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BinaryExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BinaryExpr.java new file mode 100644 index 00000000..4c412122 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BinaryExpr.java @@ -0,0 +1,112 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class BinaryExpr extends Expression { + + public enum Operator { + or, // || + and, // && + binOr, // | + binAnd, // & + xor, // ^ + equals, // == + notEquals, // != + less, // < + greater, // > + lessEquals, // <= + greaterEquals, // >= + lShift, // << + rSignedShift, // >> + rUnsignedShift, // >>> + plus, // + + minus, // - + times, // * + divide, // / + remainder, // % + } + + private Expression left; + + private Expression right; + + private Operator op; + + public BinaryExpr() { + } + + public BinaryExpr(Expression left, Expression right, Operator op) { + setLeft(left); + setRight(right); + setOperator(op); + } + + public BinaryExpr(Range range, Expression left, Expression right, Operator op) { + super(range); + setLeft(left); + setRight(right); + setOperator(op); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public Expression getLeft() { + return left; + } + + public Operator getOperator() { + return op; + } + + public Expression getRight() { + return right; + } + + public void setLeft(Expression left) { + this.left = left; + setAsParentNodeOf(this.left); + } + + public void setOperator(Operator op) { + this.op = op; + } + + public void setRight(Expression right) { + this.right = right; + setAsParentNodeOf(this.right); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BooleanLiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BooleanLiteralExpr.java new file mode 100644 index 00000000..7eaac8b0 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/BooleanLiteralExpr.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class BooleanLiteralExpr extends LiteralExpr { + + private boolean value; + + public BooleanLiteralExpr() { + } + + public BooleanLiteralExpr(boolean value) { + setValue(value); + } + + public BooleanLiteralExpr(Range range, boolean value) { + super(range); + setValue(value); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public boolean getValue() { + return value; + } + + public void setValue(boolean value) { + this.value = value; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CastExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CastExpr.java new file mode 100644 index 00000000..79890beb --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CastExpr.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class CastExpr extends Expression implements NodeWithType { + + private Type type; + + private Expression expr; + + public CastExpr() { + } + + public CastExpr(Type type, Expression expr) { + setType(type); + setExpr(expr); + } + + public CastExpr(Range range, Type type, Expression expr) { + super(range); + setType(type); + setExpr(expr); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public Expression getExpr() { + return expr; + } + + @Override + public Type getType() { + return type; + } + + public void setExpr(Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } + + @Override + public CastExpr setType(Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CharLiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CharLiteralExpr.java new file mode 100644 index 00000000..e799e887 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/CharLiteralExpr.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.utils.Utils; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class CharLiteralExpr extends StringLiteralExpr { + + public CharLiteralExpr() { + } + + public CharLiteralExpr(String value) { + super(value); + } + + public CharLiteralExpr(Range range, String value) { + super(range, value); + } + + /** + * Utility method that creates a new StringLiteralExpr. Escapes EOL characters. + */ + public static CharLiteralExpr escape(String string) { + return new CharLiteralExpr(Utils.escapeEndOfLines(string)); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ClassExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ClassExpr.java new file mode 100644 index 00000000..a6dc9058 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ClassExpr.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * Defines an expression that accesses the class of a type. + * Example: + * + * Object.class + * + * @author Julio Vilmar Gesser + */ +public final class ClassExpr extends Expression implements NodeWithType { + + private Type type; + + public ClassExpr() { + } + + public ClassExpr(Type type) { + setType(type); + } + + public ClassExpr(Range range, Type type) { + super(range); + setType(type); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + @Override + public Type getType() { + return type; + } + + @Override + public ClassExpr setType(Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ConditionalExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ConditionalExpr.java new file mode 100644 index 00000000..63186a76 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ConditionalExpr.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ConditionalExpr extends Expression { + + private Expression condition; + + private Expression thenExpr; + + private Expression elseExpr; + + public ConditionalExpr() { + } + + public ConditionalExpr(Expression condition, Expression thenExpr, Expression elseExpr) { + setCondition(condition); + setThenExpr(thenExpr); + setElseExpr(elseExpr); + } + + public ConditionalExpr(Range range, Expression condition, Expression thenExpr, Expression elseExpr) { + super(range); + setCondition(condition); + setThenExpr(thenExpr); + setElseExpr(elseExpr); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public Expression getCondition() { + return condition; + } + + public Expression getElseExpr() { + return elseExpr; + } + + public Expression getThenExpr() { + return thenExpr; + } + + public void setCondition(Expression condition) { + this.condition = condition; + setAsParentNodeOf(this.condition); + } + + public void setElseExpr(Expression elseExpr) { + this.elseExpr = elseExpr; + setAsParentNodeOf(this.elseExpr); + } + + public void setThenExpr(Expression thenExpr) { + this.thenExpr = thenExpr; + setAsParentNodeOf(this.thenExpr); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/DoubleLiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/DoubleLiteralExpr.java new file mode 100644 index 00000000..b7892385 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/DoubleLiteralExpr.java @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class DoubleLiteralExpr extends StringLiteralExpr { + + public DoubleLiteralExpr() { + } + + public DoubleLiteralExpr(final String value) { + super(value); + } + + public DoubleLiteralExpr(final Range range, final String value) { + super(range, value); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/EnclosedExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/EnclosedExpr.java new file mode 100644 index 00000000..15b5bd3f --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/EnclosedExpr.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class EnclosedExpr extends Expression { + + private Expression inner; + + public EnclosedExpr() { + } + + public EnclosedExpr(final Expression inner) { + setInner(inner); + } + + public EnclosedExpr(final Range range, final Expression inner) { + super(range); + setInner(inner); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getInner() { + return inner; + } + + public void setInner(final Expression inner) { + this.inner = inner; + setAsParentNodeOf(this.inner); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/Expression.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/Expression.java new file mode 100644 index 00000000..f9745646 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/Expression.java @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class Expression extends Node { + + public Expression() { + } + + public Expression(Range range) { + super(range); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/FieldAccessExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/FieldAccessExpr.java new file mode 100644 index 00000000..61f1cf68 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/FieldAccessExpr.java @@ -0,0 +1,102 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public final class FieldAccessExpr extends Expression { + + private Expression scope; + + private List typeArgs; + + private NameExpr field; + + public FieldAccessExpr() { + } + + public FieldAccessExpr(final Expression scope, final String field) { + setScope(scope); + setField(field); + } + + public FieldAccessExpr(final Range range, final Expression scope, final List typeArgs, final String field) { + super(range); + setScope(scope); + setTypeArgs(typeArgs); + setField(field); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public String getField() { + return field.getName(); + } + + public NameExpr getFieldExpr() { + return field; + } + + public Expression getScope() { + return scope; + } + + public List getTypeArgs() { + typeArgs = ensureNotNull(typeArgs); + return typeArgs; + } + + public void setField(final String field) { + setFieldExpr(new NameExpr(field)); + } + + public void setFieldExpr(NameExpr field) { + this.field = field; + setAsParentNodeOf(this.field); + } + + public void setScope(final Expression scope) { + this.scope = scope; + setAsParentNodeOf(this.scope); + } + + public void setTypeArgs(final List typeArgs) { + this.typeArgs = typeArgs; + setAsParentNodeOf(this.typeArgs); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/InstanceOfExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/InstanceOfExpr.java new file mode 100644 index 00000000..d14b8d06 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/InstanceOfExpr.java @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class InstanceOfExpr extends Expression implements NodeWithType { + + private Expression expr; + + private Type type; + + public InstanceOfExpr() { + } + + public InstanceOfExpr(final Expression expr, final Type type) { + setExpr(expr); + setType(type); + } + + public InstanceOfExpr(final Range range, final Expression expr, final Type type) { + super(range); + setExpr(expr); + setType(type); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getExpr() { + return expr; + } + + @Override + public Type getType() { + return type; + } + + public void setExpr(final Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } + + @Override + public InstanceOfExpr setType(final Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralExpr.java new file mode 100644 index 00000000..91f5dec7 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralExpr.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public class IntegerLiteralExpr extends StringLiteralExpr { + + private static final String UNSIGNED_MIN_VALUE = "2147483648"; + + protected static final String MIN_VALUE = "-" + UNSIGNED_MIN_VALUE; + + public IntegerLiteralExpr() { + } + + public IntegerLiteralExpr(final String value) { + super(value); + } + + public IntegerLiteralExpr(final Range range, final String value) { + super(range, value); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public final boolean isMinValue() { + return value != null && // + value.length() == 10 && // + value.equals(UNSIGNED_MIN_VALUE); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralMinValueExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralMinValueExpr.java new file mode 100644 index 00000000..2665aafe --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/IntegerLiteralMinValueExpr.java @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class IntegerLiteralMinValueExpr extends IntegerLiteralExpr { + + public IntegerLiteralMinValueExpr() { + super(MIN_VALUE); + } + + public IntegerLiteralMinValueExpr(final Range range) { + super(range, MIN_VALUE); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LambdaExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LambdaExpr.java new file mode 100644 index 00000000..4e5f9687 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LambdaExpr.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.stmt.Statement; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * Lambda expression. + * + * @author Raquel Pau + */ +public class LambdaExpr extends Expression { + + private List parameters; + + private boolean parametersEnclosed; + + private Statement body; + + public LambdaExpr() { + } + + public LambdaExpr(Range range, List parameters, Statement body, + boolean parametersEnclosed) { + + super(range); + setParameters(parameters); + setBody(body); + setParametersEnclosed(parametersEnclosed); + } + + public List getParameters() { + parameters = ensureNotNull(parameters); + return parameters; + } + + public void setParameters(List parameters) { + this.parameters = parameters; + setAsParentNodeOf(this.parameters); + } + + public Statement getBody() { + return body; + } + + public void setBody(Statement body) { + this.body = body; + setAsParentNodeOf(this.body); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public boolean isParametersEnclosed() { + return parametersEnclosed; + } + + public void setParametersEnclosed(boolean parametersEnclosed) { + this.parametersEnclosed = parametersEnclosed; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LiteralExpr.java new file mode 100644 index 00000000..9cafefdc --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LiteralExpr.java @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class LiteralExpr extends Expression { + + public LiteralExpr() { + } + + public LiteralExpr(Range range) { + super(range); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralExpr.java new file mode 100644 index 00000000..0e2e8f29 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralExpr.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public class LongLiteralExpr extends StringLiteralExpr { + + private static final String UNSIGNED_MIN_VALUE = "9223372036854775808"; + + protected static final String MIN_VALUE = "-" + UNSIGNED_MIN_VALUE + "L"; + + public LongLiteralExpr() { + } + + public LongLiteralExpr(final String value) { + super(value); + } + + public LongLiteralExpr(final Range range, final String value) { + super(range, value); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public final boolean isMinValue() { + return value != null && // + value.length() == 20 && // + value.startsWith(UNSIGNED_MIN_VALUE) && // + (value.charAt(19) == 'L' || value.charAt(19) == 'l'); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralMinValueExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralMinValueExpr.java new file mode 100644 index 00000000..d46145a4 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/LongLiteralMinValueExpr.java @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class LongLiteralMinValueExpr extends LongLiteralExpr { + + public LongLiteralMinValueExpr() { + super(MIN_VALUE); + } + + public LongLiteralMinValueExpr(final Range range) { + super(range, MIN_VALUE); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MarkerAnnotationExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MarkerAnnotationExpr.java new file mode 100644 index 00000000..1a117ff9 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MarkerAnnotationExpr.java @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class MarkerAnnotationExpr extends AnnotationExpr { + + public MarkerAnnotationExpr() { + } + + public MarkerAnnotationExpr(final NameExpr name) { + setName(name); + } + + public MarkerAnnotationExpr(final Range range, final NameExpr name) { + super(range); + setName(name); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MemberValuePair.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MemberValuePair.java new file mode 100644 index 00000000..c6cbc419 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MemberValuePair.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class MemberValuePair extends Node implements NodeWithName { + + private String name; + + private Expression value; + + public MemberValuePair() { + } + + public MemberValuePair(final String name, final Expression value) { + setName(name); + setValue(value); + } + + public MemberValuePair(final Range range, final String name, final Expression value) { + super(range); + setName(name); + setValue(value); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + @Override + public String getName() { + return name; + } + + public Expression getValue() { + return value; + } + + @Override + public MemberValuePair setName(final String name) { + this.name = name; + return this; + } + + public void setValue(final Expression value) { + this.value = value; + setAsParentNodeOf(this.value); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodCallExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodCallExpr.java new file mode 100644 index 00000000..c28065ed --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodCallExpr.java @@ -0,0 +1,141 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.ArrayList; +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public final class MethodCallExpr extends Expression { + + private Expression scope; + + private List typeArgs; + + private NameExpr name; + + private List args; + + public MethodCallExpr() { + } + + public MethodCallExpr(final Expression scope, final String name) { + setScope(scope); + setName(name); + } + + public MethodCallExpr(final Expression scope, final String name, final List args) { + setScope(scope); + setName(name); + setArgs(args); + } + + public MethodCallExpr(final Range range, final Expression scope, final List typeArgs, final String name, final List args) { + super(range); + setScope(scope); + setTypeArgs(typeArgs); + setName(name); + setArgs(args); + } + + + /** + * Adds the given argument to the method call. The list of arguments will be + * initialized if it is null. + * + * @param arg + * argument value + */ + public MethodCallExpr addArgument(Expression arg) { + List args = getArgs(); + if (isNullOrEmpty(args)) { + args = new ArrayList<>(); + setArgs(args); + } + args.add(arg); + arg.setParentNode(this); + return this; + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public List getArgs() { + args = ensureNotNull(args); + return args; + } + + public String getName() { + return name.getName(); + } + + public NameExpr getNameExpr() { + return name; + } + + public Expression getScope() { + return scope; + } + + public List getTypeArgs() { + typeArgs = ensureNotNull(typeArgs); + return typeArgs; + } + + public void setArgs(final List args) { + this.args = args; + setAsParentNodeOf(this.args); + } + + public void setName(final String name) { + setNameExpr(new NameExpr(name)); + } + + public void setNameExpr(NameExpr name) { + this.name = name; + setAsParentNodeOf(this.name); + } + + public void setScope(final Expression scope) { + this.scope = scope; + setAsParentNodeOf(this.scope); + } + + public void setTypeArgs(final List typeArgs) { + this.typeArgs = typeArgs; + setAsParentNodeOf(this.typeArgs); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodReferenceExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodReferenceExpr.java new file mode 100644 index 00000000..d8c78f8e --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/MethodReferenceExpr.java @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.TypeArguments; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * Method reference expressions introduced in Java 8 specifically designed to simplify lambda Expressions. + * These are some examples: + * + * System.out::println; + * + * (test ? stream.map(String::trim) : stream)::toArray; + * @author Raquel Pau + * + */ +public class MethodReferenceExpr extends Expression { + + private Expression scope; + + private TypeArguments typeArguments; + + private String identifier; + + public MethodReferenceExpr() { + } + + public MethodReferenceExpr(Range range, Expression scope, + TypeArguments typeArguments, String identifier) { + super(range); + setIdentifier(identifier); + setScope(scope); + setTypeArguments(typeArguments); + } + + @Override + public R accept(GenericVisitor v, A arg) { + + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public Expression getScope() { + return scope; + } + + public void setScope(Expression scope) { + this.scope = scope; + setAsParentNodeOf(this.scope); + } + + public TypeArguments getTypeArguments() { + return typeArguments; + } + + public void setTypeArguments(TypeArguments typeArguments) { + this.typeArguments = typeArguments; + } + + public String getIdentifier() { + return identifier; + } + + public void setIdentifier(String identifier) { + this.identifier = identifier; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NameExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NameExpr.java new file mode 100644 index 00000000..6a6b9220 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NameExpr.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public class NameExpr extends Expression implements NodeWithName { + + private String name; + + public NameExpr() { + } + + public NameExpr(final String name) { + this.name = name; + } + + public NameExpr(Range range, final String name) { + super(range); + this.name = name; + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + @Override + public final String getName() { + return name; + } + + @Override + public NameExpr setName(final String name) { + this.name = name; + return this; + } + + + /** + * Creates a new {@link NameExpr} from a qualified name.
+ * The qualified name can contains "." (dot) characters. + * + * @param qualifiedName + * qualified name + * @return instanceof {@link NameExpr} + */ + public static NameExpr create(String qualifiedName) { + String[] split = qualifiedName.split("\\."); + NameExpr ret = new NameExpr(split[0]); + for (int i = 1; i < split.length; i++) { + ret = new QualifiedNameExpr(ret, split[i]); + } + return ret; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NormalAnnotationExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NormalAnnotationExpr.java new file mode 100644 index 00000000..e7e6d24f --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NormalAnnotationExpr.java @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * 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.ensureNotNull; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class NormalAnnotationExpr extends AnnotationExpr { + + private List pairs; + + public NormalAnnotationExpr() { + } + + public NormalAnnotationExpr(final NameExpr name, final List pairs) { + setName(name); + setPairs(pairs); + } + + public NormalAnnotationExpr(final Range range, final NameExpr name, final List pairs) { + super(range); + setName(name); + setPairs(pairs); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public
void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public List getPairs() { + pairs = ensureNotNull(pairs); + return pairs; + } + + public void setPairs(final List pairs) { + this.pairs = pairs; + setAsParentNodeOf(this.pairs); + } + + /** + * adds a pair to this annotation + * + * @return this, the {@link NormalAnnotationExpr} + */ + public NormalAnnotationExpr addPair(String key, String value) { + return addPair(key, NameExpr.create(value)); + } + + /** + * adds a pair to this annotation + * + * @return this, the {@link NormalAnnotationExpr} + */ + public NormalAnnotationExpr addPair(String key, NameExpr value) { + MemberValuePair memberValuePair = new MemberValuePair(key, value); + getPairs().add(memberValuePair); + memberValuePair.setParentNode(this); + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NullLiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NullLiteralExpr.java new file mode 100644 index 00000000..cb0a92b8 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/NullLiteralExpr.java @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class NullLiteralExpr extends LiteralExpr { + + public NullLiteralExpr() { + } + + public NullLiteralExpr(final Range range) { + super(range); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ObjectCreationExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ObjectCreationExpr.java new file mode 100644 index 00000000..edc41cae --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ObjectCreationExpr.java @@ -0,0 +1,140 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * 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.ensureNotNull; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * Defines constructor call expression. + * Example: + * + * new Object() + * + * + * @author Julio Vilmar Gesser + */ +public final class ObjectCreationExpr extends Expression { + + private Expression scope; + + private ClassOrInterfaceType type; + + private List typeArgs; + + private List args; + + // This can be null, to indicate there is no body + private List> anonymousClassBody; + + public ObjectCreationExpr() { + } + + /** + * Defines a call to a constructor. + * @param scope may be null + * @param type this is the class that the constructor is being called for. + * @param args Any arguments to pass to the constructor + */ + public ObjectCreationExpr(final Expression scope, final ClassOrInterfaceType type, final List args) { + setScope(scope); + setType(type); + setArgs(args); + } + + public ObjectCreationExpr(final Range range, + final Expression scope, final ClassOrInterfaceType type, final List typeArgs, + final List args, final List> anonymousBody) { + super(range); + setScope(scope); + setType(type); + setTypeArgs(typeArgs); + setArgs(args); + setAnonymousClassBody(anonymousBody); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + /** + * This can be null, to indicate there is no body + */ + public List> getAnonymousClassBody() { + return anonymousClassBody; + } + + public List getArgs() { + args = ensureNotNull(args); + return args; + } + + public Expression getScope() { + return scope; + } + + public ClassOrInterfaceType getType() { + return type; + } + + public List getTypeArgs() { + typeArgs = ensureNotNull(typeArgs); + return typeArgs; + } + + public void setAnonymousClassBody(final List> anonymousClassBody) { + this.anonymousClassBody = anonymousClassBody; + setAsParentNodeOf(this.anonymousClassBody); + } + + public void setArgs(final List args) { + this.args = args; + setAsParentNodeOf(this.args); + } + + public void setScope(final Expression scope) { + this.scope = scope; + setAsParentNodeOf(this.scope); + } + + public void setType(final ClassOrInterfaceType type) { + this.type = type; + setAsParentNodeOf(this.type); + } + + public void setTypeArgs(final List typeArgs) { + this.typeArgs = typeArgs; + setAsParentNodeOf(this.typeArgs); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/QualifiedNameExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/QualifiedNameExpr.java new file mode 100644 index 00000000..9c9600f2 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/QualifiedNameExpr.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class QualifiedNameExpr extends NameExpr { + + private NameExpr qualifier; + + public QualifiedNameExpr() { + } + + public QualifiedNameExpr(final NameExpr scope, final String name) { + super(name); + setQualifier(scope); + } + + public QualifiedNameExpr(final Range range, final NameExpr scope, final String name) { + super(range, name); + setQualifier(scope); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public NameExpr getQualifier() { + return qualifier; + } + + public void setQualifier(final NameExpr qualifier) { + this.qualifier = qualifier; + setAsParentNodeOf(this.qualifier); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SingleMemberAnnotationExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SingleMemberAnnotationExpr.java new file mode 100644 index 00000000..0aa88ce7 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SingleMemberAnnotationExpr.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class SingleMemberAnnotationExpr extends AnnotationExpr { + + private Expression memberValue; + + public SingleMemberAnnotationExpr() { + } + + public SingleMemberAnnotationExpr(final NameExpr name, final Expression memberValue) { + setName(name); + setMemberValue(memberValue); + } + + public SingleMemberAnnotationExpr(final Range range, final NameExpr name, final Expression memberValue) { + super(range); + setName(name); + setMemberValue(memberValue); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getMemberValue() { + return memberValue; + } + + public void setMemberValue(final Expression memberValue) { + this.memberValue = memberValue; + setAsParentNodeOf(this.memberValue); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/StringLiteralExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/StringLiteralExpr.java new file mode 100644 index 00000000..5b433db3 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/StringLiteralExpr.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.utils.Utils; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * Java® Language Specification 3.10.5 String Literals + * @author Julio Vilmar Gesser + */ +public class StringLiteralExpr extends LiteralExpr { + + protected String value; + + public StringLiteralExpr() { + this.value = ""; + } + + public StringLiteralExpr(final String value) { + if (value.contains("\n") || value.contains("\r")) { + throw new IllegalArgumentException("Illegal literal expression: newlines (line feed or carriage return) have to be escaped"); + } + this.value = value; + } + + /** + * Utility method that creates a new StringLiteralExpr. Escapes EOL characters. + */ + public static StringLiteralExpr escape(String string) { + return new StringLiteralExpr(Utils.escapeEndOfLines(string)); + } + + public StringLiteralExpr(final Range range, final String value) { + super(range); + this.value = value; + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public final String getValue() { + return value; + } + + public final void setValue(final String value) { + this.value = value; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SuperExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SuperExpr.java new file mode 100644 index 00000000..3067bae9 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/SuperExpr.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class SuperExpr extends Expression { + + private Expression classExpr; + + public SuperExpr() { + } + + public SuperExpr(final Expression classExpr) { + setClassExpr(classExpr); + } + + public SuperExpr(final Range range, final Expression classExpr) { + super(range); + setClassExpr(classExpr); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getClassExpr() { + return classExpr; + } + + public void setClassExpr(final Expression classExpr) { + this.classExpr = classExpr; + setAsParentNodeOf(this.classExpr); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ThisExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ThisExpr.java new file mode 100644 index 00000000..89be4ada --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/ThisExpr.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ThisExpr extends Expression { + + private Expression classExpr; + + public ThisExpr() { + } + + public ThisExpr(final Expression classExpr) { + setClassExpr(classExpr); + } + + public ThisExpr(final Range range, final Expression classExpr) { + super(range); + setClassExpr(classExpr); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getClassExpr() { + return classExpr; + } + + public void setClassExpr(final Expression classExpr) { + this.classExpr = classExpr; + setAsParentNodeOf(this.classExpr); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/TypeExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/TypeExpr.java new file mode 100644 index 00000000..c6cd74ce --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/TypeExpr.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * This class is just instantiated as scopes for MethodReferenceExpr nodes to encapsulate Types. + * @author Raquel Pau + * + */ +public class TypeExpr extends Expression implements NodeWithType { + + private Type type; + + public TypeExpr(){} + + public TypeExpr(Range range, Type type) { + super(range); + setType(type); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + @Override + public Type getType() { + return type; + } + + @Override + public TypeExpr setType(Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } + + + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/UnaryExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/UnaryExpr.java new file mode 100644 index 00000000..c784080a --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/UnaryExpr.java @@ -0,0 +1,86 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.expr; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class UnaryExpr extends Expression { + + public enum Operator { + positive, // + + negative, // - + preIncrement, // ++ + preDecrement, // -- + not, // ! + inverse, // ~ + posIncrement, // ++ + posDecrement, // -- + } + + private Expression expr; + + private Operator op; + + public UnaryExpr() { + } + + public UnaryExpr(final Expression expr, final Operator op) { + setExpr(expr); + setOperator(op); + } + + public UnaryExpr(final Range range, final Expression expr, final Operator op) { + super(range); + setExpr(expr); + setOperator(op); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getExpr() { + return expr; + } + + public Operator getOperator() { + return op; + } + + public void setExpr(final Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } + + public void setOperator(final Operator op) { + this.op = op; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/VariableDeclarationExpr.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/VariableDeclarationExpr.java new file mode 100644 index 00000000..559342f3 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/expr/VariableDeclarationExpr.java @@ -0,0 +1,152 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * 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.ensureNotNull; + +import java.util.ArrayList; +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.nodeTypes.NodeWithAnnotations; +import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class VariableDeclarationExpr extends Expression + implements NodeWithType, NodeWithModifiers, + NodeWithAnnotations { + + private EnumSet modifiers = EnumSet.noneOf(Modifier.class); + + private List annotations; + + private Type type; + + private List vars; + + public VariableDeclarationExpr() { + } + + public VariableDeclarationExpr(final Type type, final List vars) { + setType(type); + setVars(vars); + } + + public VariableDeclarationExpr(final EnumSet modifiers, final Type type, + final List vars) { + setModifiers(modifiers); + setType(type); + setVars(vars); + } + + public VariableDeclarationExpr(final Range range, + final EnumSet modifiers, final List annotations, + final Type type, + final List vars) { + super(range); + setModifiers(modifiers); + setAnnotations(annotations); + setType(type); + setVars(vars); + } + + /** + * Creates a {@link VariableDeclarationExpr}. + * + * @return instance of {@link VariableDeclarationExpr} + */ + public static VariableDeclarationExpr create(Type type, String name) { + List vars = new ArrayList<>(); + vars.add(new VariableDeclarator(new VariableDeclaratorId(name))); + return new VariableDeclarationExpr(type, vars); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + @Override + public List getAnnotations() { + annotations = ensureNotNull(annotations); + return annotations; + } + + /** + * Return the modifiers of this variable declaration. + * + * @see Modifier + * @return modifiers + */ + @Override + public EnumSet getModifiers() { + return modifiers; + } + + @Override + public Type getType() { + return type; + } + + public List getVars() { + vars = ensureNotNull(vars); + return vars; + } + + @Override + public VariableDeclarationExpr setAnnotations(final List annotations) { + this.annotations = annotations; + setAsParentNodeOf(this.annotations); + return this; + } + + @Override + public VariableDeclarationExpr setModifiers(final EnumSet modifiers) { + this.modifiers = modifiers; + return this; + } + + @Override + public VariableDeclarationExpr setType(final Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } + + public void setVars(final List vars) { + this.vars = vars; + setAsParentNodeOf(this.vars); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithAnnotations.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithAnnotations.java new file mode 100644 index 00000000..d57b3635 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithAnnotations.java @@ -0,0 +1,159 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2015 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.nodeTypes; + +import java.lang.annotation.Annotation; +import java.util.List; + +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.expr.*; + +/** + * An element which can be the target of annotations. + * + * @author Federico Tomassetti + * @since July 2014 + */ +public interface NodeWithAnnotations { + List getAnnotations(); + + T setAnnotations(List annotations); + + /** + * Annotates this + * + * @param name the name of the annotation + * @return the {@link NormalAnnotationExpr} added + */ + public default NormalAnnotationExpr addAnnotation(String name) { + NormalAnnotationExpr normalAnnotationExpr = new NormalAnnotationExpr( + NameExpr.create(name), null); + getAnnotations().add(normalAnnotationExpr); + normalAnnotationExpr.setParentNode((Node) this); + return normalAnnotationExpr; + } + + /** + * Annotates this and automatically add the import + * + * @param clazz the class of the annotation + * @return the {@link NormalAnnotationExpr} added + */ + public default NormalAnnotationExpr addAnnotation(Class clazz) { + ((Node) this).tryAddImportToParentCompilationUnit(clazz); + return addAnnotation(clazz.getSimpleName()); + } + + /** + * Annotates this with a marker annotation + * + * @param name the name of the annotation + * @return this + */ + @SuppressWarnings("unchecked") + public default T addMarkerAnnotation(String name) { + MarkerAnnotationExpr markerAnnotationExpr = new MarkerAnnotationExpr( + NameExpr.create(name)); + getAnnotations().add(markerAnnotationExpr); + markerAnnotationExpr.setParentNode((Node) this); + return (T) this; + } + + /** + * Annotates this with a marker annotation and automatically add the import + * + * @param clazz the class of the annotation + * @return this + */ + public default T addMarkerAnnotation(Class clazz) { + ((Node) this).tryAddImportToParentCompilationUnit(clazz); + return addMarkerAnnotation(clazz.getSimpleName()); + } + + /** + * Annotates this with a single member annotation + * + * @param name the name of the annotation + * @return this + */ + @SuppressWarnings("unchecked") + public default T addSingleMemberAnnotation(String name, String value) { + SingleMemberAnnotationExpr singleMemberAnnotationExpr = new SingleMemberAnnotationExpr( + NameExpr.create(name), NameExpr.create(value)); + getAnnotations().add(singleMemberAnnotationExpr); + singleMemberAnnotationExpr.setParentNode((Node) this); + return (T) this; + } + + /** + * Annotates this with a single member annotation and automatically add the import + * + * @param clazz the class of the annotation + * @return this + */ + public default T addSingleMemberAnnotation(Class clazz, + String value) { + ((Node) this).tryAddImportToParentCompilationUnit(clazz); + return addSingleMemberAnnotation(clazz.getSimpleName(), value); + } + + /** + * Check whether an annotation with this name is present on this element + * + * @param annotationName the name of the annotation + * @return true if found, false if not + */ + public default boolean isAnnotationPresent(String annotationName) { + return getAnnotations().stream().anyMatch(a -> a.getName().getName().equals(annotationName)); + } + + /** + * Check whether an annotation with this class is present on this element + * + * @param annotationClass the class of the annotation + * @return true if found, false if not + */ + public default boolean isAnnotationPresent(Class annotationClass) { + return isAnnotationPresent(annotationClass.getSimpleName()); + } + + /** + * Try to find an annotation by its name + * + * @param annotationName the name of the annotation + * @return null if not found, the annotation otherwise + */ + public default AnnotationExpr getAnnotationByName(String annotationName) { + return getAnnotations().stream().filter(a -> a.getName().getName().equals(annotationName)).findFirst() + .orElse(null); + } + + /** + * Try to find an annotation by its class + * + * @param annotationClass the class of the annotation + * @return null if not found, the annotation otherwise + */ + public default AnnotationExpr getAnnotationByClass(Class annotationClass) { + return getAnnotationByName(annotationClass.getSimpleName()); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithArrays.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithArrays.java new file mode 100644 index 00000000..62e1d1b8 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithArrays.java @@ -0,0 +1,18 @@ +package com.github.javaparser.ast.nodeTypes; + +import com.github.javaparser.ast.expr.AnnotationExpr; + +import java.util.List; + +/** + * A node that has array brackets behind it [][][] + */ +public interface NodeWithArrays { + int getArrayCount(); + + T setArrayCount(int arrayCount); + + List> getArraysAnnotations(); + + T setArraysAnnotations(List> arraysAnnotations); +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithBlockStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithBlockStmt.java new file mode 100644 index 00000000..e353a671 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithBlockStmt.java @@ -0,0 +1,17 @@ +package com.github.javaparser.ast.nodeTypes; + +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.stmt.BlockStmt; + +public interface NodeWithBlockStmt { + BlockStmt getBody(); + + T setBody(BlockStmt block); + + default BlockStmt createBody() { + BlockStmt block = new BlockStmt(); + setBody(block); + block.setParentNode((Node) this); + return block; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithDeclaration.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithDeclaration.java new file mode 100644 index 00000000..875d28de --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithDeclaration.java @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2015 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.nodeTypes; + +/** + * Element with a declaration representable as a String. + * + * @author Federico Tomassetti + * @since July 2014 + */ +public interface NodeWithDeclaration { + + /** + * As {@link NodeWithDeclaration#getDeclarationAsString(boolean, boolean, boolean)} including + * the modifiers, the throws clause and the parameters with both type and name. + * @return String representation of declaration + */ + String getDeclarationAsString(); + + /** + * As {@link NodeWithDeclaration#getDeclarationAsString(boolean, boolean, boolean)} including + * the parameters with both type and name. + * @param includingModifiers flag to include the modifiers (if present) in the string produced + * @param includingThrows flag to include the throws clause (if present) in the string produced + * @return String representation of declaration based on parameter flags + */ + String getDeclarationAsString(boolean includingModifiers, boolean includingThrows); + + /** + * A simple representation of the element declaration. + * It should fit one string. + * @param includingModifiers flag to include the modifiers (if present) in the string produced + * @param includingThrows flag to include the throws clause (if present) in the string produced + * @param includingParameterName flag to include the parameter name (while the parameter type is always included) in the string produced + * @return String representation of declaration based on parameter flags + */ + String getDeclarationAsString(boolean includingModifiers, boolean includingThrows, boolean includingParameterName); +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithJavaDoc.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithJavaDoc.java new file mode 100644 index 00000000..b00cffa5 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithJavaDoc.java @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2015 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.nodeTypes; + +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.comments.JavadocComment; + +/** + * Node which can be documented through a Javadoc comment. + */ +public interface NodeWithJavaDoc { + /** + * Gets the JavaDoc for this node. You can set the JavaDoc by calling setComment with a JavadocComment. + * + * @return The JavaDoc for this node if it exists, null if it doesn't. + */ + JavadocComment getJavaDoc(); + + /** + * Use this to store additional information to this node. + * + * @param comment to be set + */ + @SuppressWarnings("unchecked") + public default T setJavaDocComment(String comment) { + ((Node) this).setComment(new JavadocComment(comment)); + return (T) this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithMembers.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithMembers.java new file mode 100644 index 00000000..123e3cfb --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithMembers.java @@ -0,0 +1,285 @@ +package com.github.javaparser.ast.nodeTypes; + +import java.util.Arrays; +import java.util.Collections; +import java.util.EnumSet; +import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.Type; + +import static java.util.Collections.unmodifiableList; +import static java.util.stream.Collectors.*; + +import static com.github.javaparser.ast.type.VoidType.VOID_TYPE; + +/** + * A node having members. + * + * The main reason for this interface is to permit users to manipulate homogeneously all nodes with a getMembers + * method. + * + */ +public interface NodeWithMembers { + List> getMembers(); + + T setMembers(List> members); + + /** + * Add a field to this and automatically add the import of the type if needed + * + * @param typeClass the type of the field + * @param name the name of the field + * @param modifiers the modifiers like {@link Modifier#PUBLIC} + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addField(Class typeClass, String name, Modifier... modifiers) { + ((Node) this).tryAddImportToParentCompilationUnit(typeClass); + return addField(typeClass.getSimpleName(), name, modifiers); + } + + /** + * Add a field to this + * + * @param type the type of the field + * @param name the name of the field + * @param modifiers the modifiers like {@link Modifier#PUBLIC} + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addField(String type, String name, Modifier... modifiers) { + return addField(new ClassOrInterfaceType(type), name, modifiers); + } + + /** + * Add a field to this + * + * @param type the type of the field + * @param name the name of the field + * @param modifiers the modifiers like {@link Modifier#PUBLIC} + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addField(Type type, String name, Modifier... modifiers) { + FieldDeclaration fieldDeclaration = new FieldDeclaration(); + fieldDeclaration.getVariables().add(new VariableDeclarator(new VariableDeclaratorId(name))); + fieldDeclaration.setModifiers(Arrays.stream(modifiers) + .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); + fieldDeclaration.setType(type); + getMembers().add(fieldDeclaration); + fieldDeclaration.setParentNode((Node) this); + return fieldDeclaration; + } + + /** + * Add a private field to this + * + * @param typeClass the type of the field + * @param name the name of the field + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addPrivateField(Class typeClass, String name) { + return addField(typeClass, name, Modifier.PRIVATE); + } + + /** + * Add a private field to this and automatically add the import of the type if + * needed + * + * @param type the type of the field + * @param name the name of the field + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addPrivateField(String type, String name) { + return addField(type, name, Modifier.PRIVATE); + } + + /** + * Add a public field to this + * + * @param typeClass the type of the field + * + * @param typeClass the type of the field + * @param name the name of the field + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addPublicField(Class typeClass, String name) { + return addField(typeClass, name, Modifier.PUBLIC); + } + + /** + * Add a public field to this and automatically add the import of the type if + * needed + * + * @param type the type of the field + * @param name the name of the field + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addPublicField(String type, String name) { + return addField(type, name, Modifier.PUBLIC); + } + + /** + * Add a protected field to this + * + * @param typeClass the type of the field + * @param name the name of the field + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addProtectedField(Class typeClass, String name) { + return addField(typeClass, name, Modifier.PROTECTED); + } + + /** + * Add a protected field to this and automatically add the import of the type + * if needed + * + * @param type the type of the field + * @param name the name of the field + * @return the {@link FieldDeclaration} created + */ + default FieldDeclaration addProtectedField(String type, String name) { + return addField(type, name, Modifier.PROTECTED); + } + + /** + * Adds a methods with void return by default to this + * + * @param methodName the method name + * @param modifiers the modifiers like {@link Modifier#PUBLIC} + * @return the {@link MethodDeclaration} created + */ + default MethodDeclaration addMethod(String methodName, Modifier... modifiers) { + MethodDeclaration methodDeclaration = new MethodDeclaration(); + methodDeclaration.setName(methodName); + methodDeclaration.setType(VOID_TYPE); + methodDeclaration.setModifiers(Arrays.stream(modifiers) + .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); + getMembers().add(methodDeclaration); + methodDeclaration.setParentNode((Node) this); + return methodDeclaration; + } + + /** + * Adds a constructor to this + * + * @param modifiers the modifiers like {@link Modifier#PUBLIC} + * @return the {@link MethodDeclaration} created + */ + default ConstructorDeclaration addCtor(Modifier... modifiers) { + ConstructorDeclaration constructorDeclaration = new ConstructorDeclaration(); + constructorDeclaration.setModifiers(Arrays.stream(modifiers) + .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); + constructorDeclaration.setName(((TypeDeclaration) this).getName()); + getMembers().add(constructorDeclaration); + constructorDeclaration.setParentNode((Node) this); + return constructorDeclaration; + } + + default BlockStmt addInitializer() { + BlockStmt block = new BlockStmt(); + InitializerDeclaration initializerDeclaration = new InitializerDeclaration(false, block); + getMembers().add(initializerDeclaration); + initializerDeclaration.setParentNode((Node) this); + return block; + } + + default BlockStmt addStaticInitializer() { + BlockStmt block = new BlockStmt(); + InitializerDeclaration initializerDeclaration = new InitializerDeclaration(true, block); + getMembers().add(initializerDeclaration); + initializerDeclaration.setParentNode((Node) this); + return block; + } + + /** + * Try to find a {@link MethodDeclaration} by its name + * + * @param name the name of the method + * @return the methods found (multiple in case of polymorphism) + */ + default List getMethodsByName(String name) { + return getMembers().stream() + .filter(m -> m instanceof MethodDeclaration && ((MethodDeclaration) m).getName().equals(name)) + .map(m -> (MethodDeclaration) m).collect(toList()); + } + + /** + * Find all methods in the members of this node. + * + * @return the methods found. This list is immutable. + */ + default List getMethods() { + return unmodifiableList(getMembers().stream() + .filter(m -> m instanceof MethodDeclaration) + .map(m -> (MethodDeclaration) m) + .collect(toList())); + } + + /** + * Try to find a {@link MethodDeclaration} by its parameters types + * + * @param paramTypes the types of parameters like "Map<Integer,String>","int" to match
+ * void foo(Map<Integer,String> myMap,int number) + * @return the methods found (multiple in case of polymorphism) + */ + default List getMethodsByParameterTypes(String... paramTypes) { + return getMembers().stream() + .filter(m -> m instanceof MethodDeclaration + && ((MethodDeclaration) m).getParameters().stream().map(p -> p.getType().toString()) + .collect(toSet()).equals(Stream.of(paramTypes).collect(toSet()))) + .map(m -> (MethodDeclaration) m).collect(toList()); + } + + /** + * Try to find a {@link MethodDeclaration} by its parameters types + * + * @param paramTypes the types of parameters like "Map<Integer,String>","int" to match
+ * void foo(Map<Integer,String> myMap,int number) + * @return the methods found (multiple in case of polymorphism) + */ + default List getMethodsByParameterTypes(Class... paramTypes) { + return getMembers().stream() + .filter(m -> m instanceof MethodDeclaration + && ((MethodDeclaration) m).getParameters().stream().map(p -> p.getType().toString()) + .collect(toSet()) + .equals(Stream.of(paramTypes).map(Class::getSimpleName).collect(toSet()))) + .map(m -> (MethodDeclaration) m).collect(toList()); + } + + /** + * Try to find a {@link FieldDeclaration} by its name + * + * @param name the name of the field + * @return null if not found, the FieldDeclaration otherwise + */ + default FieldDeclaration getFieldByName(String name) { + return (FieldDeclaration) getMembers().stream() + .filter(m -> m instanceof FieldDeclaration && ((FieldDeclaration) m).getVariables().stream() + .anyMatch(var -> var.getId().getName().equals(name))) + .findFirst().orElse(null); + } + + /** + * Find all fields in the members of this node. + * + * @return the fields found. This list is immutable. + */ + default List getFields() { + return unmodifiableList(getMembers().stream() + .filter(m -> m instanceof FieldDeclaration ) + .map(m -> (FieldDeclaration) m) + .collect(toList())); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithModifiers.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithModifiers.java new file mode 100644 index 00000000..6a1959ec --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithModifiers.java @@ -0,0 +1,73 @@ +package com.github.javaparser.ast.nodeTypes; + +import java.util.Arrays; +import java.util.EnumSet; +import java.util.stream.Collectors; + +import com.github.javaparser.ast.Modifier; + +/** + * A Node with Modifiers. + */ +public interface NodeWithModifiers { + /** + * Return the modifiers of this variable declaration. + * + * @see Modifier + * @return modifiers + */ + EnumSet getModifiers(); + + T setModifiers(EnumSet modifiers); + + @SuppressWarnings("unchecked") + default T addModifier(Modifier... modifiers) { + getModifiers().addAll(Arrays.stream(modifiers) + .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); + return (T) this; + } + + default boolean isStatic() { + return getModifiers().contains(Modifier.STATIC); + } + + default boolean isAbstract() { + return getModifiers().contains(Modifier.ABSTRACT); + } + + default boolean isFinal() { + return getModifiers().contains(Modifier.FINAL); + } + + default boolean isNative() { + return getModifiers().contains(Modifier.NATIVE); + } + + default boolean isPrivate() { + return getModifiers().contains(Modifier.PRIVATE); + } + + default boolean isProtected() { + return getModifiers().contains(Modifier.PROTECTED); + } + + default boolean isPublic() { + return getModifiers().contains(Modifier.PUBLIC); + } + + default boolean isStrictfp() { + return getModifiers().contains(Modifier.STRICTFP); + } + + default boolean isSynchronized() { + return getModifiers().contains(Modifier.SYNCHRONIZED); + } + + default boolean isTransient() { + return getModifiers().contains(Modifier.TRANSIENT); + } + + default boolean isVolatile() { + return getModifiers().contains(Modifier.VOLATILE); + } +} \ No newline at end of file diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithName.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithName.java new file mode 100644 index 00000000..edcff5cf --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithName.java @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2015 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.nodeTypes; + +/** + * A node having a name. + * + * The main reason for this interface is to permit users to manipulate homogeneously all nodes with a getName method. + * + * @since 2.0.1 + */ +public interface NodeWithName { + String getName(); + + T setName(String name); +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithParameters.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithParameters.java new file mode 100644 index 00000000..30e64074 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithParameters.java @@ -0,0 +1,81 @@ +package com.github.javaparser.ast.nodeTypes; + +import java.util.ArrayList; +import java.util.List; + +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.Type; + +public interface NodeWithParameters { + List getParameters(); + + T setParameters(List parameters); + + default T addParameter(Type type, String name) { + return addParameter(new Parameter(type, new VariableDeclaratorId(name))); + } + + default T addParameter(Class paramClass, String name) { + ((Node) this).tryAddImportToParentCompilationUnit(paramClass); + return addParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name); + } + + @SuppressWarnings("unchecked") + default T addParameter(Parameter parameter) { + getParameters().add(parameter); + parameter.setParentNode((Node) this); + return (T) this; + } + + default Parameter addAndGetParameter(Type type, String name) { + return addAndGetParameter(new Parameter(type, new VariableDeclaratorId(name))); + } + + default Parameter addAndGetParameter(Class paramClass, String name) { + ((Node) this).tryAddImportToParentCompilationUnit(paramClass); + return addAndGetParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name); + } + + default Parameter addAndGetParameter(Parameter parameter) { + getParameters().add(parameter); + parameter.setParentNode((Node) this); + return parameter; + } + + /** + * Try to find a {@link Parameter} by its name + * + * @param name the name of the param + * @return null if not found, the param found otherwise + */ + default Parameter getParamByName(String name){ + return getParameters().stream() + .filter(p -> p.getName().equals(name)).findFirst().orElse(null); + } + + /** + * Try to find a {@link Parameter} by its type + * + * @param type the type of the param + * @return null if not found, the param found otherwise + */ + default Parameter getParamByType(String type) { + return getParameters().stream() + .filter(p -> p.getType().toString().equals(type)).findFirst().orElse(null); + } + + /** + * Try to find a {@link Parameter} by its type + * + * @param type the type of the param take care about generics, it wont work + * @return null if not found, the param found otherwise + */ + default Parameter getParamByType(Class type) { + return getParameters().stream() + .filter(p -> p.getType().toString().equals(type.getSimpleName())).findFirst().orElse(null); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithThrowable.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithThrowable.java new file mode 100644 index 00000000..b0e7d853 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithThrowable.java @@ -0,0 +1,57 @@ +package com.github.javaparser.ast.nodeTypes; + +import java.util.List; + +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.ReferenceType; + +public interface NodeWithThrowable { + T setThrows(List throws_); + + List getThrows(); + + /** + * Adds this type to the throws clause + * + * @param throwType the exception type + * @return this + */ + @SuppressWarnings("unchecked") + default T addThrows(ReferenceType throwType) { + getThrows().add(throwType); + throwType.setParentNode((Node) this); + return (T) this; + } + + /** + * Adds this class to the throws clause + * + * @param clazz the exception class + * @return this + */ + default T addThrows(Class clazz) { + ((Node) this).tryAddImportToParentCompilationUnit(clazz); + return addThrows(new ReferenceType(new ClassOrInterfaceType(clazz.getSimpleName()))); + } + + /** + * Check whether this elements throws this exception class + * + * @param clazz the class of the exception + * @return true if found in throws clause, false if not + */ + public default boolean isThrows(Class clazz) { + return isThrows(clazz.getSimpleName()); + } + + /** + * Check whether this elements throws this exception class + * + * @param throwableName the class of the exception + * @return true if found in throws clause, false if not + */ + public default boolean isThrows(String throwableName) { + return getThrows().stream().anyMatch(t -> t.toString().equals(throwableName)); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithType.java new file mode 100644 index 00000000..2d9e8809 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/nodeTypes/NodeWithType.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2015 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.nodeTypes; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.Type; + +/** + * A node having a type. + * + * The main reason for this interface is to permit users to manipulate homogeneously all nodes with getType/setType + * methods + * + * @since 2.3.1 + */ +public interface NodeWithType { + /** + * Gets the type + * + * @return the type + */ + Type getType(); + + /** + * Sets the type + * + * @param type the type + * @return this + */ + T setType(Type type); + + /** + * Sets this type to this class and try to import it to the {@link CompilationUnit} if needed + * + * @param typeClass the type + * @return this + */ + default T setType(Class typeClass) { + ((Node) this).tryAddImportToParentCompilationUnit(typeClass); + return setType(new ClassOrInterfaceType(typeClass.getSimpleName())); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/AssertStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/AssertStmt.java new file mode 100644 index 00000000..3fbdd01f --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/AssertStmt.java @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class AssertStmt extends Statement { + + private Expression check; + + private Expression msg; + + public AssertStmt() { + } + + public AssertStmt(final Expression check) { + setCheck(check); + } + + public AssertStmt(final Expression check, final Expression msg) { + setCheck(check); + setMessage(msg); + } + + public AssertStmt(final Range range, final Expression check, final Expression msg) { + super(range); + + setCheck(check); + setMessage(msg); + + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public
void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getCheck() { + return check; + } + + public Expression getMessage() { + return msg; + } + + public void setCheck(final Expression check) { + this.check = check; + setAsParentNodeOf(this.check); + } + + public void setMessage(final Expression msg) { + this.msg = msg; + setAsParentNodeOf(this.msg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BlockStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BlockStmt.java new file mode 100644 index 00000000..e067a6c3 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BlockStmt.java @@ -0,0 +1,89 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class BlockStmt extends Statement { + + private List stmts; + + public BlockStmt() { + } + + public BlockStmt(final List stmts) { + setStmts(stmts); + } + + public BlockStmt(final Range range, final List stmts) { + super(range); + setStmts(stmts); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public List getStmts() { + stmts = ensureNotNull(stmts); + return stmts; + } + + public void setStmts(final List stmts) { + this.stmts = stmts; + setAsParentNodeOf(this.stmts); + } + + // TODO move to a nodeType + addAndGetStatement like methods ? + public BlockStmt addStatement(Statement statement) { + getStmts().add(statement); + statement.setParentNode(this); + return this; + } + + public BlockStmt addStatement(String statement) { + return addStatement(new ExpressionStmt(new NameExpr(statement))); + } + + public BlockStmt addStatement(Expression expr) { + return addStatement(new ExpressionStmt(expr)); + } + + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BreakStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BreakStmt.java new file mode 100644 index 00000000..338016f0 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/BreakStmt.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class BreakStmt extends Statement { + + private String id; + + public BreakStmt() { + } + + public BreakStmt(final String id) { + this.id = id; + } + + public BreakStmt(final Range range, final String id) { + super(range); + this.id = id; + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public String getId() { + return id; + } + + public void setId(final String id) { + this.id = id; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/CatchClause.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/CatchClause.java new file mode 100644 index 00000000..2db16093 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/CatchClause.java @@ -0,0 +1,88 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import java.util.EnumSet; +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class CatchClause extends Node { + + private Parameter param; + + private BlockStmt catchBlock; + + public CatchClause() { + } + + public CatchClause(final Parameter param, final BlockStmt catchBlock) { + setParam(param); + setCatchBlock(catchBlock); + } + + public CatchClause(final Range range, + final EnumSet exceptModifier, final List exceptAnnotations, + final Type exceptTypes, + final VariableDeclaratorId exceptId, final BlockStmt catchBlock) { + super(range); + setParam(new Parameter(range, exceptModifier, exceptAnnotations, exceptTypes, false, exceptId)); + setCatchBlock(catchBlock); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public BlockStmt getCatchBlock() { + return catchBlock; + } + + public Parameter getParam() { + return param; + } + + public void setCatchBlock(final BlockStmt catchBlock) { + this.catchBlock = catchBlock; + setAsParentNodeOf(this.catchBlock); + } + + public void setParam(final Parameter param) { + this.param = param; + setAsParentNodeOf(this.param); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ContinueStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ContinueStmt.java new file mode 100644 index 00000000..f6f9effb --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ContinueStmt.java @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ContinueStmt extends Statement { + + private String id; + + public ContinueStmt() { + } + + public ContinueStmt(final String id) { + this.id = id; + } + + public ContinueStmt(Range range, final String id) { + super(range); + this.id = id; + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public String getId() { + return id; + } + + public void setId(final String id) { + this.id = id; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/DoStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/DoStmt.java new file mode 100644 index 00000000..bc414730 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/DoStmt.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class DoStmt extends Statement { + + private Statement body; + + private Expression condition; + + public DoStmt() { + } + + public DoStmt(final Statement body, final Expression condition) { + setBody(body); + setCondition(condition); + } + + public DoStmt(Range range, final Statement body, final Expression condition) { + super(range); + setBody(body); + setCondition(condition); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Statement getBody() { + return body; + } + + public Expression getCondition() { + return condition; + } + + public void setBody(final Statement body) { + this.body = body; + setAsParentNodeOf(this.body); + } + + public void setCondition(final Expression condition) { + this.condition = condition; + setAsParentNodeOf(this.condition); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/EmptyStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/EmptyStmt.java new file mode 100644 index 00000000..00709806 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/EmptyStmt.java @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class EmptyStmt extends Statement { + + public EmptyStmt() { + } + + public EmptyStmt(Range range) { + super(range); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExplicitConstructorInvocationStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExplicitConstructorInvocationStmt.java new file mode 100644 index 00000000..8c326deb --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExplicitConstructorInvocationStmt.java @@ -0,0 +1,113 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public final class ExplicitConstructorInvocationStmt extends Statement { + + private List typeArgs; + + private boolean isThis; + + private Expression expr; + + private List args; + + public ExplicitConstructorInvocationStmt() { + } + + public ExplicitConstructorInvocationStmt(final boolean isThis, + final Expression expr, final List args) { + setThis(isThis); + setExpr(expr); + setArgs(args); + } + + public ExplicitConstructorInvocationStmt(Range range, + final List typeArgs, final boolean isThis, + final Expression expr, final List args) { + super(range); + setTypeArgs(typeArgs); + setThis(isThis); + setExpr(expr); + setArgs(args); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public List getArgs() { + args = ensureNotNull(args); + return args; + } + + public Expression getExpr() { + return expr; + } + + public List getTypeArgs() { + typeArgs = ensureNotNull(typeArgs); + return typeArgs; + } + + public boolean isThis() { + return isThis; + } + + public void setArgs(final List args) { + this.args = args; + setAsParentNodeOf(this.args); + } + + public void setExpr(final Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } + + public void setThis(final boolean isThis) { + this.isThis = isThis; + } + + public void setTypeArgs(final List typeArgs) { + this.typeArgs = typeArgs; + setAsParentNodeOf(this.typeArgs); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExpressionStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExpressionStmt.java new file mode 100644 index 00000000..a6d209dd --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ExpressionStmt.java @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ExpressionStmt extends Statement { + + private Expression expr; + + public ExpressionStmt() { + } + + public ExpressionStmt(final Expression expr) { + setExpression(expr); + } + + public ExpressionStmt(Range range, + final Expression expr) { + super(range); + setExpression(expr); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getExpression() { + return expr; + } + + public void setExpression(final Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForStmt.java new file mode 100644 index 00000000..e44192b0 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForStmt.java @@ -0,0 +1,114 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public final class ForStmt extends Statement { + + private List init; + + private Expression compare; + + private List update; + + private Statement body; + + public ForStmt() { + } + + public ForStmt(final List init, final Expression compare, + final List update, final Statement body) { + setCompare(compare); + setInit(init); + setUpdate(update); + setBody(body); + } + + public ForStmt(Range range, + final List init, final Expression compare, + final List update, final Statement body) { + super(range); + setCompare(compare); + setInit(init); + setUpdate(update); + setBody(body); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Statement getBody() { + return body; + } + + public Expression getCompare() { + return compare; + } + + public List getInit() { + init = ensureNotNull(init); + return init; + } + + public List getUpdate() { + update = ensureNotNull(update); + return update; + } + + public void setBody(final Statement body) { + this.body = body; + setAsParentNodeOf(this.body); + } + + public void setCompare(final Expression compare) { + this.compare = compare; + setAsParentNodeOf(this.compare); + } + + public void setInit(final List init) { + this.init = init; + setAsParentNodeOf(this.init); + } + + public void setUpdate(final List update) { + this.update = update; + setAsParentNodeOf(this.update); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForeachStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForeachStmt.java new file mode 100644 index 00000000..5be8503b --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ForeachStmt.java @@ -0,0 +1,96 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ForeachStmt extends Statement { + + private VariableDeclarationExpr var; + + private Expression iterable; + + private Statement body; + + public ForeachStmt() { + } + + public ForeachStmt(final VariableDeclarationExpr var, + final Expression iterable, final Statement body) { + setVariable(var); + setIterable(iterable); + setBody(body); + } + + public ForeachStmt(Range range, + final VariableDeclarationExpr var, final Expression iterable, + final Statement body) { + super(range); + setVariable(var); + setIterable(iterable); + setBody(body); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Statement getBody() { + return body; + } + + public Expression getIterable() { + return iterable; + } + + public VariableDeclarationExpr getVariable() { + return var; + } + + public void setBody(final Statement body) { + this.body = body; + setAsParentNodeOf(this.body); + } + + public void setIterable(final Expression iterable) { + this.iterable = iterable; + setAsParentNodeOf(this.iterable); + } + + public void setVariable(final VariableDeclarationExpr var) { + this.var = var; + setAsParentNodeOf(this.var); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/IfStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/IfStmt.java new file mode 100644 index 00000000..dc491a47 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/IfStmt.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class IfStmt extends Statement { + + private Expression condition; + + private Statement thenStmt; + + private Statement elseStmt; + + public IfStmt() { + } + + public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { + setCondition(condition); + setThenStmt(thenStmt); + setElseStmt(elseStmt); + } + + public IfStmt(Range range, + final Expression condition, final Statement thenStmt, final Statement elseStmt) { + super(range); + setCondition(condition); + setThenStmt(thenStmt); + setElseStmt(elseStmt); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getCondition() { + return condition; + } + + public Statement getElseStmt() { + return elseStmt; + } + + public Statement getThenStmt() { + return thenStmt; + } + + public void setCondition(final Expression condition) { + this.condition = condition; + setAsParentNodeOf(this.condition); + } + + public void setElseStmt(final Statement elseStmt) { + this.elseStmt = elseStmt; + setAsParentNodeOf(this.elseStmt); + } + + public void setThenStmt(final Statement thenStmt) { + this.thenStmt = thenStmt; + setAsParentNodeOf(this.thenStmt); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/LabeledStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/LabeledStmt.java new file mode 100644 index 00000000..9a956d1d --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/LabeledStmt.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class LabeledStmt extends Statement { + + private String label; + + private Statement stmt; + + public LabeledStmt() { + } + + public LabeledStmt(final String label, final Statement stmt) { + setLabel(label); + setStmt(stmt); + } + + public LabeledStmt(Range range, final String label, final Statement stmt) { + super(range); + setLabel(label); + setStmt(stmt); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public String getLabel() { + return label; + } + + public Statement getStmt() { + return stmt; + } + + public void setLabel(final String label) { + this.label = label; + } + + public void setStmt(final Statement stmt) { + this.stmt = stmt; + setAsParentNodeOf(this.stmt); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ReturnStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ReturnStmt.java new file mode 100644 index 00000000..0c32b943 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ReturnStmt.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ReturnStmt extends Statement { + + private Expression expr; + + public ReturnStmt() { + } + + public ReturnStmt(final Expression expr) { + setExpr(expr); + } + + public ReturnStmt(Range range, final Expression expr) { + super(range); + setExpr(expr); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getExpr() { + return expr; + } + + public void setExpr(final Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/Statement.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/Statement.java new file mode 100644 index 00000000..eacfcc41 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/Statement.java @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class Statement extends Node { + + public Statement() { + } + + public Statement(final Range range) { + super(range); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchEntryStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchEntryStmt.java new file mode 100644 index 00000000..347c585c --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchEntryStmt.java @@ -0,0 +1,85 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public final class SwitchEntryStmt extends Statement { + + private Expression label; + + private List stmts; + + public SwitchEntryStmt() { + } + + public SwitchEntryStmt(final Expression label, final List stmts) { + setLabel(label); + setStmts(stmts); + } + + public SwitchEntryStmt(Range range, final Expression label, + final List stmts) { + super(range); + setLabel(label); + setStmts(stmts); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getLabel() { + return label; + } + + public List getStmts() { + stmts = ensureNotNull(stmts); + return stmts; + } + + public void setLabel(final Expression label) { + this.label = label; + setAsParentNodeOf(this.label); + } + + public void setStmts(final List stmts) { + this.stmts = stmts; + setAsParentNodeOf(this.stmts); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchStmt.java new file mode 100644 index 00000000..088284d4 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SwitchStmt.java @@ -0,0 +1,86 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public final class SwitchStmt extends Statement { + + private Expression selector; + + private List entries; + + public SwitchStmt() { + } + + public SwitchStmt(final Expression selector, + final List entries) { + setSelector(selector); + setEntries(entries); + } + + public SwitchStmt(Range range, final Expression selector, + final List entries) { + super(range); + setSelector(selector); + setEntries(entries); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public List getEntries() { + entries = ensureNotNull(entries); + return entries; + } + + public Expression getSelector() { + return selector; + } + + public void setEntries(final List entries) { + this.entries = entries; + setAsParentNodeOf(this.entries); + } + + public void setSelector(final Expression selector) { + this.selector = selector; + setAsParentNodeOf(this.selector); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SynchronizedStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SynchronizedStmt.java new file mode 100644 index 00000000..af37c583 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/SynchronizedStmt.java @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class SynchronizedStmt extends Statement { + + private Expression expr; + + private BlockStmt block; + + public SynchronizedStmt() { + } + + public SynchronizedStmt(final Expression expr, final BlockStmt block) { + setExpr(expr); + setBlock(block); + } + + public SynchronizedStmt(Range range, final Expression expr, + final BlockStmt block) { + super(range); + setExpr(expr); + setBlock(block); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public BlockStmt getBlock() { + return block; + } + + public Expression getExpr() { + return expr; + } + + public void setBlock(final BlockStmt block) { + this.block = block; + setAsParentNodeOf(this.block); + } + + public void setExpr(final Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ThrowStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ThrowStmt.java new file mode 100644 index 00000000..07ee473d --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/ThrowStmt.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ThrowStmt extends Statement { + + private Expression expr; + + public ThrowStmt() { + } + + public ThrowStmt(final Expression expr) { + setExpr(expr); + } + + public ThrowStmt(Range range, final Expression expr) { + super(range); + setExpr(expr); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Expression getExpr() { + return expr; + } + + public void setExpr(final Expression expr) { + this.expr = expr; + setAsParentNodeOf(this.expr); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TryStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TryStmt.java new file mode 100644 index 00000000..2862bc96 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TryStmt.java @@ -0,0 +1,112 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public final class TryStmt extends Statement { + + private List resources; + + private BlockStmt tryBlock; + + private List catchs; + + private BlockStmt finallyBlock; + + public TryStmt() { + } + + public TryStmt(final BlockStmt tryBlock, final List catchs, + final BlockStmt finallyBlock) { + setTryBlock(tryBlock); + setCatchs(catchs); + setFinallyBlock(finallyBlock); + } + + public TryStmt(Range range, List resources, + final BlockStmt tryBlock, final List catchs, final BlockStmt finallyBlock) { + super(range); + setResources(resources); + setTryBlock(tryBlock); + setCatchs(catchs); + setFinallyBlock(finallyBlock); + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public List getCatchs() { + catchs = ensureNotNull(catchs); + return catchs; + } + + public BlockStmt getFinallyBlock() { + return finallyBlock; + } + + public BlockStmt getTryBlock() { + return tryBlock; + } + + public List getResources() { + resources = ensureNotNull(resources); + return resources; + } + + public void setCatchs(final List catchs) { + this.catchs = catchs; + setAsParentNodeOf(this.catchs); + } + + public void setFinallyBlock(final BlockStmt finallyBlock) { + this.finallyBlock = finallyBlock; + setAsParentNodeOf(this.finallyBlock); + } + + public void setTryBlock(final BlockStmt tryBlock) { + this.tryBlock = tryBlock; + setAsParentNodeOf(this.tryBlock); + } + + public void setResources(List resources) { + this.resources = resources; + setAsParentNodeOf(this.resources); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TypeDeclarationStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TypeDeclarationStmt.java new file mode 100644 index 00000000..360d5590 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/TypeDeclarationStmt.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class TypeDeclarationStmt extends Statement { + + private TypeDeclaration typeDecl; + + public TypeDeclarationStmt() { + } + + public TypeDeclarationStmt(final TypeDeclaration typeDecl) { + setTypeDeclaration(typeDecl); + } + + public TypeDeclarationStmt(Range range, final TypeDeclaration typeDecl) { + super(range); + setTypeDeclaration(typeDecl); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public TypeDeclaration getTypeDeclaration() { + return typeDecl; + } + + public void setTypeDeclaration(final TypeDeclaration typeDecl) { + this.typeDecl = typeDecl; + setAsParentNodeOf(this.typeDecl); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/WhileStmt.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/WhileStmt.java new file mode 100644 index 00000000..3ae55a04 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/stmt/WhileStmt.java @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.stmt; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class WhileStmt extends Statement { + + private Expression condition; + + private Statement body; + + public WhileStmt() { + } + + public WhileStmt(final Expression condition, final Statement body) { + setCondition(condition); + setBody(body); + } + + public WhileStmt(Range range, final Expression condition, final Statement body) { + super(range); + setCondition(condition); + setBody(body); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Statement getBody() { + return body; + } + + public Expression getCondition() { + return condition; + } + + public void setBody(final Statement body) { + this.body = body; + setAsParentNodeOf(this.body); + } + + public void setCondition(final Expression condition) { + this.condition = condition; + setAsParentNodeOf(this.condition); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ClassOrInterfaceType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ClassOrInterfaceType.java new file mode 100644 index 00000000..78160b59 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ClassOrInterfaceType.java @@ -0,0 +1,125 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.type; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.TypeArguments; +import com.github.javaparser.ast.nodeTypes.NodeWithName; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ClassOrInterfaceType extends Type implements NodeWithName { + + private ClassOrInterfaceType scope; + + private String name; + + private TypeArguments typeArguments = TypeArguments.EMPTY; + + public ClassOrInterfaceType() { + } + + public ClassOrInterfaceType(final String name) { + setName(name); + } + + public ClassOrInterfaceType(final ClassOrInterfaceType scope, final String name) { + setScope(scope); + setName(name); + } + + public ClassOrInterfaceType(final Range range, final ClassOrInterfaceType scope, final String name, final TypeArguments typeArguments) { + super(range); + setScope(scope); + setName(name); + setTypeArguments(typeArguments); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + @Override + public String getName() { + return name; + } + + public ClassOrInterfaceType getScope() { + return scope; + } + + public List getTypeArgs() { + return typeArguments.getTypeArguments(); + } + + public TypeArguments getTypeArguments() { + return typeArguments; + } + + public boolean isUsingDiamondOperator() { + return typeArguments.isUsingDiamondOperator(); + } + + public boolean isBoxedType() { + return PrimitiveType.unboxMap.containsKey(name); + } + + public PrimitiveType toUnboxedType() throws UnsupportedOperationException { + if (!isBoxedType()) { + throw new UnsupportedOperationException(name + " isn't a boxed type."); + } + return new PrimitiveType(PrimitiveType.unboxMap.get(name)); + } + + @Override + public ClassOrInterfaceType setName(final String name) { + this.name = name; + return this; + } + + public void setScope(final ClassOrInterfaceType scope) { + this.scope = scope; + setAsParentNodeOf(this.scope); + } + + /** + * Allows you to set the generic arguments + * @param typeArgs The list of types of the generics + */ + public void setTypeArgs(final List typeArgs) { + setTypeArguments(TypeArguments.withArguments(typeArgs)); + } + + public void setTypeArguments(TypeArguments typeArguments) { + this.typeArguments = typeArguments; + setAsParentNodeOf(this.typeArguments.getTypeArguments()); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/IntersectionType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/IntersectionType.java new file mode 100644 index 00000000..a37370e7 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/IntersectionType.java @@ -0,0 +1,58 @@ +package com.github.javaparser.ast.type; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +/** + * Represents a set of types. A given value of this type has to be assignable to at all of the element types. + * As of Java 8 it is used in casts or while expressing bounds for generic types. + * + * For example: + * public class A>T extends Serializable & Cloneable< { } + * + * Or: + * void foo((Serializable & Cloneable)myObject); + * + * @since 3.0.0 + */ +public class IntersectionType extends Type { + + private List elements; + + public IntersectionType(Range range, List elements) { + super(range); + setElements(elements); + } + + public IntersectionType(List elements) { + super(); + setElements(elements); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } + + public List getElements() { + return elements; + } + + public void setElements(List elements) { + if (this.elements != null) { + for (ReferenceType element : elements){ + element.setParentNode(null); + } + } + this.elements = elements; + setAsParentNodeOf(this.elements); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/PrimitiveType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/PrimitiveType.java new file mode 100644 index 00000000..fb1f7fb4 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/PrimitiveType.java @@ -0,0 +1,113 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.type; + +import java.util.HashMap; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class PrimitiveType extends Type { + + public static final PrimitiveType BYTE_TYPE = new PrimitiveType(Primitive.Byte); + + public static final PrimitiveType SHORT_TYPE = new PrimitiveType(Primitive.Short); + + public static final PrimitiveType INT_TYPE = new PrimitiveType(Primitive.Int); + + public static final PrimitiveType LONG_TYPE = new PrimitiveType(Primitive.Long); + + public static final PrimitiveType FLOAT_TYPE = new PrimitiveType(Primitive.Float); + + public static final PrimitiveType DOUBLE_TYPE = new PrimitiveType(Primitive.Double); + + public static final PrimitiveType BOOLEAN_TYPE = new PrimitiveType(Primitive.Boolean); + + public static final PrimitiveType CHAR_TYPE = new PrimitiveType(Primitive.Char); + + public enum Primitive { + Boolean ("Boolean"), + Char ("Character"), + Byte ("Byte"), + Short ("Short"), + Int ("Integer"), + Long ("Long"), + Float ("Float"), + Double ("Double"); + + final String nameOfBoxedType; + + public ClassOrInterfaceType toBoxedType() { + return new ClassOrInterfaceType(nameOfBoxedType); + } + + Primitive(String nameOfBoxedType) { + this.nameOfBoxedType = nameOfBoxedType; + } + } + + static final HashMap unboxMap = new HashMap(); + static { + for(Primitive unboxedType : Primitive.values()) { + unboxMap.put(unboxedType.nameOfBoxedType, unboxedType); + } + } + + private Primitive type; + + public PrimitiveType() { + } + + public PrimitiveType(final Primitive type) { + this.type = type; + } + + public PrimitiveType(Range range, final Primitive type) { + super(range); + this.type = type; + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public Primitive getType() { + return type; + } + + public ClassOrInterfaceType toBoxedType() { + return type.toBoxedType(); + } + + public void setType(final Primitive type) { + this.type = type; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ReferenceType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ReferenceType.java new file mode 100644 index 00000000..18cff103 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/ReferenceType.java @@ -0,0 +1,172 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.type; + +import static com.github.javaparser.Position.pos; +import static com.github.javaparser.utils.Utils.ensureNotNull; + +import java.util.List; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithArrays; +import com.github.javaparser.ast.nodeTypes.NodeWithType; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class ReferenceType extends Type implements NodeWithType, NodeWithArrays { + + private Type type; + + private int arrayCount; + + private List> arraysAnnotations; + + public ReferenceType() { + } + + public ReferenceType(final Type type) { + setType(type); + } + + public ReferenceType(final Type type, final int arrayCount) { + setType(type); + setArrayCount(arrayCount); + } + + public ReferenceType(final Range range, final Type type, final int arrayCount) { + super(range); + setType(type); + setArrayCount(arrayCount); + } + + public ReferenceType(int beginLine, int beginColumn, int endLine, + int endColumn, Type type, int arrayCount, + List annotations, + List> arraysAnnotations) { + this(new Range(pos(beginLine, beginColumn), pos(endLine, endColumn)), type, arrayCount, annotations, arraysAnnotations); + } + + public ReferenceType(Range range, Type type, int arrayCount, + List annotations, + List> arraysAnnotations) { + super(range, annotations); + setType(type); + setArrayCount(arrayCount); + this.arraysAnnotations = arraysAnnotations; + } + + /** + * Creates a new {@link ReferenceType} for a class or interface. + * + * @param name + * name of the class or interface + * @param arrayCount + * number of arrays or 0 if is not a array. + * @return instanceof {@link ReferenceType} + */ + public static ReferenceType create(String name, int arrayCount) { + return new ReferenceType(new ClassOrInterfaceType(name), arrayCount); + } + + /** + * Creates a new {@link ReferenceType} for the given primitive type. + * + * @param type + * primitive type + * @param arrayCount + * number of arrays or 0 if is not a array. + * @return instanceof {@link ReferenceType} + */ + public static ReferenceType create(PrimitiveType type, int arrayCount) { + return new ReferenceType(type, arrayCount); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + @Override + public int getArrayCount() { + return arrayCount; + } + + @Override + public Type getType() { + return type; + } + + @Override + public ReferenceType setArrayCount(final int arrayCount) { + this.arrayCount = arrayCount; + return this; + } + + @Override + public ReferenceType setType(final Type type) { + this.type = type; + setAsParentNodeOf(this.type); + return this; + } + + /** + *

Arrays annotations are annotations on the arrays modifiers of the type. + * Consider this example:

+ * + *

+	 * {@code
+	 * int @Ann1 [] @Ann2 [] array;
+	 * }

+ * + *

in this this method will return a list with the annotation expressions

@Ann1
+ * and
@Ann2

+ * + *

Note that the first list element of arraysAnnotations will refer to the first array modifier encountered. + * Considering the example the first element will be a list containing just @Ann1 while the second element will + * be a list containing just @Ann2. + *

+ * + *

This property is guaranteed to hold:

{@code getArraysAnnotations().size() == getArrayCount()}
+ * If a certain array modifier has no annotation the corresponding entry of arraysAnnotations will be null

+ */ + @Override + public List> getArraysAnnotations() { + arraysAnnotations = ensureNotNull(arraysAnnotations); + return arraysAnnotations; + } + + /** + * For a description of the arrayAnnotations field refer to {@link #getArraysAnnotations()} + */ + @Override + public ReferenceType setArraysAnnotations(List> arraysAnnotations) { + this.arraysAnnotations = arraysAnnotations; + return this; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/Type.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/Type.java new file mode 100644 index 00000000..d0ce9bbf --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/Type.java @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.type; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.expr.AnnotationExpr; + +import java.util.List; + +import static com.github.javaparser.utils.Utils.*; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class Type extends Node { + + private List annotations; + + public Type() { + } + + public Type(List annotation){ + this.annotations = annotation; + } + + public Type(Range range) { + super(range); + } + + public Type(Range range, List annotations) { + super(range); + this.annotations = annotations; + } + + public List getAnnotations() { + annotations = ensureNotNull(annotations); + return annotations; + } + + public void setAnnotations(List annotations) { + this.annotations = annotations; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnionType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnionType.java new file mode 100644 index 00000000..d37613be --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnionType.java @@ -0,0 +1,50 @@ +package com.github.javaparser.ast.type; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +import java.util.List; + +/** + * Represents a set of types. A given value of this type has to be assignable to at least one of the element types. + * As of Java 8 it is only used in catch clauses. + */ +public class UnionType extends Type { + + private List elements; + + public UnionType(Range range, List elements) { + super(range); + setElements(elements); + } + + public UnionType(List elements) { + super(); + setElements(elements); + } + + public List getElements() { + return elements; + } + + public void setElements(List elements) { + if (this.elements != null) { + for (ReferenceType element : elements){ + element.setParentNode(null); + } + } + this.elements = elements; + setAsParentNodeOf(this.elements); + } + + @Override + public R accept(GenericVisitor v, A arg) { + return v.visit(this, arg); + } + + @Override + public
void accept(VoidVisitor v, A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnknownType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnknownType.java new file mode 100644 index 00000000..4a1d5876 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/UnknownType.java @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.type; + +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * An unknown parameter type object. It plays the role of a null object for + * lambda parameters that have no explicit type declared. As such, it has no + * lexical representation and hence gets no comment attributed. + * + * @author Didier Villevalois + */ +public final class UnknownType extends Type { + + public UnknownType() { + } + + @Override + public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override + public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/VoidType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/VoidType.java new file mode 100644 index 00000000..3fd30b35 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/VoidType.java @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.type; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class VoidType extends Type { + + public static final VoidType VOID_TYPE = new VoidType(); + + public VoidType() { + } + + public VoidType(Range range) { + super(range); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/WildcardType.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/WildcardType.java new file mode 100644 index 00000000..7b1d2cbb --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/type/WildcardType.java @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.type; + +import com.github.javaparser.Range; +import com.github.javaparser.ast.visitor.GenericVisitor; +import com.github.javaparser.ast.visitor.VoidVisitor; + +/** + * @author Julio Vilmar Gesser + */ +public final class WildcardType extends Type { + + private ReferenceType ext; + + private ReferenceType sup; + + public WildcardType() { + } + + public WildcardType(final ReferenceType ext) { + setExtends(ext); + } + + public WildcardType(final ReferenceType ext, final ReferenceType sup) { + setExtends(ext); + setSuper(sup); + } + + public WildcardType(final Range range, + final ReferenceType ext, final ReferenceType sup) { + super(range); + setExtends(ext); + setSuper(sup); + } + + @Override public R accept(final GenericVisitor v, final A arg) { + return v.visit(this, arg); + } + + @Override public void accept(final VoidVisitor v, final A arg) { + v.visit(this, arg); + } + + public ReferenceType getExtends() { + return ext; + } + + public ReferenceType getSuper() { + return sup; + } + + public void setExtends(final ReferenceType ext) { + this.ext = ext; + setAsParentNodeOf(this.ext); + } + + public void setSuper(final ReferenceType sup) { + this.sup = sup; + setAsParentNodeOf(this.sup); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/CloneVisitor.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/CloneVisitor.java new file mode 100644 index 00000000..dfe4be91 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/CloneVisitor.java @@ -0,0 +1,1288 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.comments.Comment; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.ArrayAccessExpr; +import com.github.javaparser.ast.expr.ArrayCreationExpr; +import com.github.javaparser.ast.expr.ArrayInitializerExpr; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.BinaryExpr; +import com.github.javaparser.ast.expr.BooleanLiteralExpr; +import com.github.javaparser.ast.expr.CastExpr; +import com.github.javaparser.ast.expr.CharLiteralExpr; +import com.github.javaparser.ast.expr.ClassExpr; +import com.github.javaparser.ast.expr.ConditionalExpr; +import com.github.javaparser.ast.expr.DoubleLiteralExpr; +import com.github.javaparser.ast.expr.EnclosedExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.FieldAccessExpr; +import com.github.javaparser.ast.expr.InstanceOfExpr; +import com.github.javaparser.ast.expr.IntegerLiteralExpr; +import com.github.javaparser.ast.expr.IntegerLiteralMinValueExpr; +import com.github.javaparser.ast.expr.LambdaExpr; +import com.github.javaparser.ast.expr.LongLiteralExpr; +import com.github.javaparser.ast.expr.LongLiteralMinValueExpr; +import com.github.javaparser.ast.expr.MarkerAnnotationExpr; +import com.github.javaparser.ast.expr.MemberValuePair; +import com.github.javaparser.ast.expr.MethodCallExpr; +import com.github.javaparser.ast.expr.MethodReferenceExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.expr.NormalAnnotationExpr; +import com.github.javaparser.ast.expr.NullLiteralExpr; +import com.github.javaparser.ast.expr.ObjectCreationExpr; +import com.github.javaparser.ast.expr.QualifiedNameExpr; +import com.github.javaparser.ast.expr.SingleMemberAnnotationExpr; +import com.github.javaparser.ast.expr.StringLiteralExpr; +import com.github.javaparser.ast.expr.SuperExpr; +import com.github.javaparser.ast.expr.ThisExpr; +import com.github.javaparser.ast.expr.TypeExpr; +import com.github.javaparser.ast.expr.UnaryExpr; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.Statement; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.IntersectionType; +import com.github.javaparser.ast.type.PrimitiveType; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.type.UnionType; +import com.github.javaparser.ast.type.UnknownType; +import com.github.javaparser.ast.type.VoidType; +import com.github.javaparser.ast.type.WildcardType; + +public class CloneVisitor implements GenericVisitor { + + @Override + public Node visit(CompilationUnit _n, Object _arg) { + PackageDeclaration package_ = cloneNodes(_n.getPackage(), _arg); + List imports = visit(_n.getImports(), _arg); + List> types = visit(_n.getTypes(), _arg); + + return new CompilationUnit( + _n.getRange(), + package_, imports, types + ); + } + + @Override + public Node visit(PackageDeclaration _n, Object _arg) { + List annotations = visit(_n.getAnnotations(), _arg); + NameExpr name = cloneNodes(_n.getName(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + PackageDeclaration r = new PackageDeclaration( + _n.getRange(), + annotations, name + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ImportDeclaration _n, Object _arg) { + NameExpr name = cloneNodes(_n.getName(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ImportDeclaration r = new ImportDeclaration( + _n.getRange(), + name, _n.isStatic(), _n.isAsterisk() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(TypeParameter _n, Object _arg) { + List typeBound = visit(_n.getTypeBound(), _arg); + + List annotations = visit(_n.getAnnotations(), _arg); + TypeParameter r = new TypeParameter(_n.getRange(), + _n.getName(), typeBound, annotations); + + Comment comment = cloneNodes(_n.getComment(), _arg); + r.setComment(comment); + return r; + } + + @Override + public Node visit(LineComment _n, Object _arg) { + return new LineComment(_n.getRange(), _n.getContent()); + } + + @Override + public Node visit(BlockComment _n, Object _arg) { + return new BlockComment(_n.getRange(), _n.getContent()); + } + + @Override + public Node visit(ClassOrInterfaceDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + List typeParameters = visit(_n.getTypeParameters(), _arg); + List extendsList = visit(_n.getExtends(), _arg); + List implementsList = visit(_n.getImplements(), _arg); + List> members = visit(_n.getMembers(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ClassOrInterfaceDeclaration r = new ClassOrInterfaceDeclaration( + _n.getRange(), + _n.getModifiers(), annotations, _n.isInterface(), _n.getName(), typeParameters, extendsList, implementsList, members + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(EnumDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + List implementsList = visit(_n.getImplements(), _arg); + List entries = visit(_n.getEntries(), _arg); + List> members = visit(_n.getMembers(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + EnumDeclaration r = new EnumDeclaration( + _n.getRange(), + _n.getModifiers(), annotations, _n.getName(), implementsList, entries, members + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(EmptyTypeDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + EmptyTypeDeclaration r = new EmptyTypeDeclaration( + _n.getRange() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(EnumConstantDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + List args = visit(_n.getArgs(), _arg); + List> classBody = visit(_n.getClassBody(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + EnumConstantDeclaration r = new EnumConstantDeclaration( + _n.getRange(), + annotations, _n.getName(), args, classBody + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(AnnotationDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + List> members = visit(_n.getMembers(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + AnnotationDeclaration r = new AnnotationDeclaration( + _n.getRange(), + _n.getModifiers(), annotations, _n.getName(), members + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(AnnotationMemberDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + Type type_ = cloneNodes(_n.getType(), _arg); + Expression defaultValue = cloneNodes(_n.getDefaultValue(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + AnnotationMemberDeclaration r = new AnnotationMemberDeclaration( + _n.getRange(), + _n.getModifiers(), annotations, type_, _n.getName(), defaultValue + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(FieldDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + Type type_ = cloneNodes(_n.getType(), _arg); + List variables = visit(_n.getVariables(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + FieldDeclaration r = new FieldDeclaration( + _n.getRange(), + _n.getModifiers(), annotations, type_, variables + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(VariableDeclarator _n, Object _arg) { + VariableDeclaratorId id = cloneNodes(_n.getId(), _arg); + Expression init = cloneNodes(_n.getInit(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + VariableDeclarator r = new VariableDeclarator( + _n.getRange(), + id, init + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(VariableDeclaratorId _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + VariableDeclaratorId r = new VariableDeclaratorId( + _n.getRange(), + _n.getName(), _n.getArrayCount() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ConstructorDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + List typeParameters = visit(_n.getTypeParameters(), _arg); + List parameters = visit(_n.getParameters(), _arg); + List throws_ = visit(_n.getThrows(), _arg); + BlockStmt block = cloneNodes(_n.getBody(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ConstructorDeclaration r = new ConstructorDeclaration( + _n.getRange(), + _n.getModifiers(), annotations, typeParameters, _n.getName(), parameters, throws_, block + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(MethodDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + List annotations = visit(_n.getAnnotations(), _arg); + List typeParameters = visit(_n.getTypeParameters(), _arg); + Type type_ = cloneNodes(_n.getType(), _arg); + List parameters = visit(_n.getParameters(), _arg); + List throws_ = visit(_n.getThrows(), _arg); + BlockStmt block = cloneNodes(_n.getBody(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + MethodDeclaration r = new MethodDeclaration( + _n.getRange(), + _n.getModifiers(), annotations, typeParameters, type_, _n.getName(), parameters, _n.getArrayCount(), throws_, block + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(Parameter _n, Object _arg) { + List annotations = visit(_n.getAnnotations(), _arg); + Type type_ = cloneNodes(_n.getType(), _arg); + VariableDeclaratorId id = cloneNodes(_n.getId(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + Parameter r = new Parameter( + _n.getRange(), + _n.getModifiers(), annotations, type_, _n.isVarArgs(), id + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(MultiTypeParameter _n, Object _arg) { + List annotations = visit(_n.getAnnotations(), _arg); + UnionType type = cloneNodes(_n.getType(), _arg); + VariableDeclaratorId id = cloneNodes(_n.getId(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + MultiTypeParameter r = new MultiTypeParameter( + _n.getRange(), + _n.getModifiers(), annotations, type, id + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(EmptyMemberDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + EmptyMemberDeclaration r = new EmptyMemberDeclaration( + _n.getRange() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(InitializerDeclaration _n, Object _arg) { + JavadocComment javaDoc = cloneNodes(_n.getJavaDoc(), _arg); + BlockStmt block = cloneNodes(_n.getBlock(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + InitializerDeclaration r = new InitializerDeclaration( + _n.getRange(), + _n.isStatic(), block + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(JavadocComment _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + JavadocComment r = new JavadocComment( + _n.getRange(), + _n.getContent() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ClassOrInterfaceType _n, Object _arg) { + ClassOrInterfaceType scope = cloneNodes(_n.getScope(), _arg); + List typeArgs = visit(_n.getTypeArgs(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ClassOrInterfaceType r = new ClassOrInterfaceType( + _n.getRange(), + scope, _n.getName(), _n.getTypeArguments() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(PrimitiveType _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + PrimitiveType r = new PrimitiveType( + _n.getRange(), + _n.getType() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ReferenceType _n, Object _arg) { + List ann = visit(_n.getAnnotations(), _arg); + Type type_ = cloneNodes(_n.getType(), _arg); + List> arraysAnnotations = _n.getArraysAnnotations(); + List> _arraysAnnotations = null; + if(arraysAnnotations != null){ + _arraysAnnotations = new LinkedList<>(); + for(List aux: arraysAnnotations){ + _arraysAnnotations.add(visit(aux, _arg)); + } + } + + ReferenceType r = new ReferenceType(_n.getBegin().line, + _n.getBegin().column, _n.getEnd().line, _n.getEnd().column, type_, + _n.getArrayCount(), ann, _arraysAnnotations); + Comment comment = cloneNodes(_n.getComment(), _arg); + r.setComment(comment); + return r; + } + + @Override + public Node visit(IntersectionType _n, Object _arg) { + List elements = visit(_n.getElements(), _arg); + + IntersectionType r = new IntersectionType(_n.getRange(), + elements); + Comment comment = cloneNodes(_n.getComment(), _arg); + r.setComment(comment); + return r; + } + + @Override + public Node visit(UnionType _n, Object _arg) { + List elements = visit(_n.getElements(), _arg); + + UnionType r = new UnionType(_n.getRange(), + elements); + Comment comment = cloneNodes(_n.getComment(), _arg); + r.setComment(comment); + return r; + } + + @Override + public Node visit(VoidType _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + VoidType r = new VoidType(_n.getRange()); + r.setComment(comment); + return r; + } + + @Override + public Node visit(WildcardType _n, Object _arg) { + ReferenceType ext = cloneNodes(_n.getExtends(), _arg); + ReferenceType sup = cloneNodes(_n.getSuper(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + WildcardType r = new WildcardType( + _n.getRange(), + ext, sup + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(UnknownType _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + UnknownType r = new UnknownType(); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ArrayAccessExpr _n, Object _arg) { + Expression name = cloneNodes(_n.getName(), _arg); + Expression index = cloneNodes(_n.getIndex(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ArrayAccessExpr r = new ArrayAccessExpr( + _n.getRange(), + name, index + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ArrayCreationExpr _n, Object _arg) { + Type type_ = cloneNodes(_n.getType(), _arg); + List dimensions = visit(_n.getDimensions(), _arg); + ArrayCreationExpr r = new ArrayCreationExpr(_n.getRange(), type_, + dimensions, _n.getArrayCount()); + if (_n.getInitializer() != null) {// ArrayCreationExpr has two mutually + // exclusive constructors + r.setInitializer(cloneNodes(_n.getInitializer(), _arg)); + } + List> arraysAnnotations = _n.getArraysAnnotations(); + List> _arraysAnnotations = null; + if(arraysAnnotations != null){ + _arraysAnnotations = new LinkedList<>(); + for(List aux: arraysAnnotations){ + _arraysAnnotations.add(visit(aux, _arg)); + } + } + r.setArraysAnnotations(_arraysAnnotations); + Comment comment = cloneNodes(_n.getComment(), _arg); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ArrayInitializerExpr _n, Object _arg) { + List values = visit(_n.getValues(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ArrayInitializerExpr r = new ArrayInitializerExpr( + _n.getRange(), + values + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(AssignExpr _n, Object _arg) { + Expression target = cloneNodes(_n.getTarget(), _arg); + Expression value = cloneNodes(_n.getValue(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + AssignExpr r = new AssignExpr( + _n.getRange(), + target, value, _n.getOperator()); + r.setComment(comment); + return r; + } + + @Override + public Node visit(BinaryExpr _n, Object _arg) { + Expression left = cloneNodes(_n.getLeft(), _arg); + Expression right = cloneNodes(_n.getRight(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + BinaryExpr r = new BinaryExpr( + _n.getRange(), + left, right, _n.getOperator() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(CastExpr _n, Object _arg) { + Type type_ = cloneNodes(_n.getType(), _arg); + Expression expr = cloneNodes(_n.getExpr(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + CastExpr r = new CastExpr( + _n.getRange(), + type_, expr + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ClassExpr _n, Object _arg) { + Type type_ = cloneNodes(_n.getType(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ClassExpr r = new ClassExpr( + _n.getRange(), + type_ + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ConditionalExpr _n, Object _arg) { + Expression condition = cloneNodes(_n.getCondition(), _arg); + Expression thenExpr = cloneNodes(_n.getThenExpr(), _arg); + Expression elseExpr = cloneNodes(_n.getElseExpr(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ConditionalExpr r = new ConditionalExpr( + _n.getRange(), + condition, thenExpr, elseExpr + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(EnclosedExpr _n, Object _arg) { + Expression inner = cloneNodes(_n.getInner(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + EnclosedExpr r = new EnclosedExpr( + _n.getRange(), + inner + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(FieldAccessExpr _n, Object _arg) { + Expression scope = cloneNodes(_n.getScope(), _arg); + List typeArgs = visit(_n.getTypeArgs(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + FieldAccessExpr r = new FieldAccessExpr( + _n.getRange(), + scope, typeArgs, _n.getField() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(InstanceOfExpr _n, Object _arg) { + Expression expr = cloneNodes(_n.getExpr(), _arg); + Type type_ = cloneNodes(_n.getType(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + InstanceOfExpr r = new InstanceOfExpr( + _n.getRange(), + expr, type_ + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(StringLiteralExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + StringLiteralExpr r = new StringLiteralExpr( + _n.getRange(), + _n.getValue() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(IntegerLiteralExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + IntegerLiteralExpr r = new IntegerLiteralExpr( + _n.getRange(), + _n.getValue() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(LongLiteralExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + LongLiteralExpr r = new LongLiteralExpr( + _n.getRange(), + _n.getValue() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(IntegerLiteralMinValueExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + IntegerLiteralMinValueExpr r = new IntegerLiteralMinValueExpr(_n.getRange()); + r.setComment(comment); + return r; + } + + @Override + public Node visit(LongLiteralMinValueExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + LongLiteralMinValueExpr r = new LongLiteralMinValueExpr(_n.getRange()); + r.setComment(comment); + return r; + } + + @Override + public Node visit(CharLiteralExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + CharLiteralExpr r = new CharLiteralExpr( + _n.getRange(), + _n.getValue() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(DoubleLiteralExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + DoubleLiteralExpr r = new DoubleLiteralExpr( + _n.getRange(), + _n.getValue() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(BooleanLiteralExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + BooleanLiteralExpr r = new BooleanLiteralExpr( + _n.getRange(), + _n.getValue() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(NullLiteralExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + NullLiteralExpr r = new NullLiteralExpr(_n.getRange()); + r.setComment(comment); + return r; + } + + @Override + public Node visit(MethodCallExpr _n, Object _arg) { + Expression scope = cloneNodes(_n.getScope(), _arg); + List typeArgs = visit(_n.getTypeArgs(), _arg); + List args = visit(_n.getArgs(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + MethodCallExpr r = new MethodCallExpr( + _n.getRange(), + scope, typeArgs, _n.getName(), args + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(NameExpr _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + NameExpr r = new NameExpr( + _n.getRange(), + _n.getName() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ObjectCreationExpr _n, Object _arg) { + Expression scope = cloneNodes(_n.getScope(), _arg); + ClassOrInterfaceType type_ = cloneNodes(_n.getType(), _arg); + List typeArgs = visit(_n.getTypeArgs(), _arg); + List args = visit(_n.getArgs(), _arg); + List> anonymousBody = visit(_n.getAnonymousClassBody(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ObjectCreationExpr r = new ObjectCreationExpr( + _n.getRange(), + scope, type_, typeArgs, args, anonymousBody + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(QualifiedNameExpr _n, Object _arg) { + NameExpr scope = cloneNodes(_n.getQualifier(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + QualifiedNameExpr r = new QualifiedNameExpr( + _n.getRange(), + scope, _n.getName() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ThisExpr _n, Object _arg) { + Expression classExpr = cloneNodes(_n.getClassExpr(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ThisExpr r = new ThisExpr( + _n.getRange(), + classExpr + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(SuperExpr _n, Object _arg) { + Expression classExpr = cloneNodes(_n.getClassExpr(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + SuperExpr r = new SuperExpr( + _n.getRange(), + classExpr + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(UnaryExpr _n, Object _arg) { + Expression expr = cloneNodes(_n.getExpr(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + UnaryExpr r = new UnaryExpr( + _n.getRange(), + expr, _n.getOperator() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(VariableDeclarationExpr _n, Object _arg) { + List annotations = visit(_n.getAnnotations(), _arg); + Type type_ = cloneNodes(_n.getType(), _arg); + List vars = visit(_n.getVars(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + VariableDeclarationExpr r = new VariableDeclarationExpr( + _n.getRange(), + _n.getModifiers(), annotations, type_, vars + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(MarkerAnnotationExpr _n, Object _arg) { + NameExpr name = cloneNodes(_n.getName(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + MarkerAnnotationExpr r = new MarkerAnnotationExpr( + _n.getRange(), + name + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(SingleMemberAnnotationExpr _n, Object _arg) { + NameExpr name = cloneNodes(_n.getName(), _arg); + Expression memberValue = cloneNodes(_n.getMemberValue(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + SingleMemberAnnotationExpr r = new SingleMemberAnnotationExpr( + _n.getRange(), + name, memberValue + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(NormalAnnotationExpr _n, Object _arg) { + NameExpr name = cloneNodes(_n.getName(), _arg); + List pairs = visit(_n.getPairs(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + NormalAnnotationExpr r = new NormalAnnotationExpr( + _n.getRange(), + name, pairs + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(MemberValuePair _n, Object _arg) { + Expression value = cloneNodes(_n.getValue(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + MemberValuePair r = new MemberValuePair( + _n.getRange(), + _n.getName(), value + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ExplicitConstructorInvocationStmt _n, Object _arg) { + List typeArgs = visit(_n.getTypeArgs(), _arg); + Expression expr = cloneNodes(_n.getExpr(), _arg); + List args = visit(_n.getArgs(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ExplicitConstructorInvocationStmt r = new ExplicitConstructorInvocationStmt( + _n.getRange(), + typeArgs, _n.isThis(), expr, args + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(TypeDeclarationStmt _n, Object _arg) { + TypeDeclaration typeDecl = cloneNodes(_n.getTypeDeclaration(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + TypeDeclarationStmt r = new TypeDeclarationStmt( + _n.getRange(), + typeDecl + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(AssertStmt _n, Object _arg) { + Expression check = cloneNodes(_n.getCheck(), _arg); + Expression message = cloneNodes(_n.getMessage(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + AssertStmt r = new AssertStmt( + _n.getRange(), + check, message + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(BlockStmt _n, Object _arg) { + List stmts = visit(_n.getStmts(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + BlockStmt r = new BlockStmt( + _n.getRange(), + stmts + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(LabeledStmt _n, Object _arg) { + Statement stmt = cloneNodes(_n.getStmt(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + LabeledStmt r = new LabeledStmt( + _n.getRange(), + _n.getLabel(), stmt + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(EmptyStmt _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + EmptyStmt r = new EmptyStmt(_n.getRange()); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ExpressionStmt _n, Object _arg) { + Expression expr = cloneNodes(_n.getExpression(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ExpressionStmt r = new ExpressionStmt( + _n.getRange(), + expr + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(SwitchStmt _n, Object _arg) { + Expression selector = cloneNodes(_n.getSelector(), _arg); + List entries = visit(_n.getEntries(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + SwitchStmt r = new SwitchStmt( + _n.getRange(), + selector, entries + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(SwitchEntryStmt _n, Object _arg) { + Expression label = cloneNodes(_n.getLabel(), _arg); + List stmts = visit(_n.getStmts(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + SwitchEntryStmt r = new SwitchEntryStmt( + _n.getRange(), + label, stmts + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(BreakStmt _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + BreakStmt r = new BreakStmt( + _n.getRange(), + _n.getId() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ReturnStmt _n, Object _arg) { + Expression expr = cloneNodes(_n.getExpr(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ReturnStmt r = new ReturnStmt( + _n.getRange(), + expr + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(IfStmt _n, Object _arg) { + Expression condition = cloneNodes(_n.getCondition(), _arg); + Statement thenStmt = cloneNodes(_n.getThenStmt(), _arg); + Statement elseStmt = cloneNodes(_n.getElseStmt(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + IfStmt r = new IfStmt( + _n.getRange(), + condition, thenStmt, elseStmt + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(WhileStmt _n, Object _arg) { + Expression condition = cloneNodes(_n.getCondition(), _arg); + Statement body = cloneNodes(_n.getBody(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + WhileStmt r = new WhileStmt( + _n.getRange(), + condition, body + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ContinueStmt _n, Object _arg) { + Comment comment = cloneNodes(_n.getComment(), _arg); + + ContinueStmt r = new ContinueStmt( + _n.getRange(), + _n.getId() + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(DoStmt _n, Object _arg) { + Statement body = cloneNodes(_n.getBody(), _arg); + Expression condition = cloneNodes(_n.getCondition(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + DoStmt r = new DoStmt( + _n.getRange(), + body, condition + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ForeachStmt _n, Object _arg) { + VariableDeclarationExpr var = cloneNodes(_n.getVariable(), _arg); + Expression iterable = cloneNodes(_n.getIterable(), _arg); + Statement body = cloneNodes(_n.getBody(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ForeachStmt r = new ForeachStmt( + _n.getRange(), + var, iterable, body + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ForStmt _n, Object _arg) { + List init = visit(_n.getInit(), _arg); + Expression compare = cloneNodes(_n.getCompare(), _arg); + List update = visit(_n.getUpdate(), _arg); + Statement body = cloneNodes(_n.getBody(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ForStmt r = new ForStmt( + _n.getRange(), + init, compare, update, body + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(ThrowStmt _n, Object _arg) { + Expression expr = cloneNodes(_n.getExpr(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + ThrowStmt r = new ThrowStmt( + _n.getRange(), + expr + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(SynchronizedStmt _n, Object _arg) { + Expression expr = cloneNodes(_n.getExpr(), _arg); + BlockStmt block = cloneNodes(_n.getBlock(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + SynchronizedStmt r = new SynchronizedStmt( + _n.getRange(), + expr, block + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(TryStmt _n, Object _arg) { + List resources = visit(_n.getResources(),_arg); + BlockStmt tryBlock = cloneNodes(_n.getTryBlock(), _arg); + List catchs = visit(_n.getCatchs(), _arg); + BlockStmt finallyBlock = cloneNodes(_n.getFinallyBlock(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + TryStmt r = new TryStmt( + _n.getRange(), + resources, tryBlock, catchs, finallyBlock + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(CatchClause _n, Object _arg) { + Parameter param = cloneNodes(_n.getParam(), _arg); + BlockStmt catchBlock = cloneNodes(_n.getCatchBlock(), _arg); + Comment comment = cloneNodes(_n.getComment(), _arg); + + CatchClause r = new CatchClause( + _n.getRange(), + param.getModifiers(), param.getAnnotations(), param.getType(), param.getId(), catchBlock + ); + r.setComment(comment); + return r; + } + + @Override + public Node visit(LambdaExpr _n, Object _arg) { + + List lambdaParameters = visit(_n.getParameters(), _arg); + + Statement body = cloneNodes(_n.getBody(), _arg); + + return new LambdaExpr(_n.getRange(), lambdaParameters, body, + _n.isParametersEnclosed()); + } + + @Override + public Node visit(MethodReferenceExpr _n, Object arg) { + + Expression scope = cloneNodes(_n.getScope(), arg); + + return new MethodReferenceExpr(_n.getRange(), scope, + _n.getTypeArguments(), _n.getIdentifier()); + } + + @Override + public Node visit(TypeExpr n, Object arg) { + + Type t = cloneNodes(n.getType(), arg); + + return new TypeExpr(n.getRange(), t); + } + + public List visit(List _nodes, Object _arg) { + if (_nodes == null) + return null; + List r = new ArrayList<>(_nodes.size()); + for (T n : _nodes) { + T rN = cloneNodes(n, _arg); + if (rN != null) + r.add(rN); + } + return r; + } + + @SuppressWarnings("unchecked") + protected T cloneNodes(T _node, Object _arg) { + if (_node == null) + return null; + Node r = _node.accept(this, _arg); + if (r == null) + return null; + return (T) r; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/DumpVisitor.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/DumpVisitor.java new file mode 100644 index 00000000..616d8595 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/DumpVisitor.java @@ -0,0 +1,1745 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import static com.github.javaparser.utils.PositionUtils.sortByBeginPosition; +import static com.github.javaparser.utils.Utils.isNullOrEmpty; + +import java.util.EnumSet; +import java.util.Iterator; +import java.util.LinkedList; +import java.util.List; +import java.util.stream.Collectors; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.comments.Comment; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.ArrayAccessExpr; +import com.github.javaparser.ast.expr.ArrayCreationExpr; +import com.github.javaparser.ast.expr.ArrayInitializerExpr; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.BinaryExpr; +import com.github.javaparser.ast.expr.BooleanLiteralExpr; +import com.github.javaparser.ast.expr.CastExpr; +import com.github.javaparser.ast.expr.CharLiteralExpr; +import com.github.javaparser.ast.expr.ClassExpr; +import com.github.javaparser.ast.expr.ConditionalExpr; +import com.github.javaparser.ast.expr.DoubleLiteralExpr; +import com.github.javaparser.ast.expr.EnclosedExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.FieldAccessExpr; +import com.github.javaparser.ast.expr.InstanceOfExpr; +import com.github.javaparser.ast.expr.IntegerLiteralExpr; +import com.github.javaparser.ast.expr.IntegerLiteralMinValueExpr; +import com.github.javaparser.ast.expr.LambdaExpr; +import com.github.javaparser.ast.expr.LongLiteralExpr; +import com.github.javaparser.ast.expr.LongLiteralMinValueExpr; +import com.github.javaparser.ast.expr.MarkerAnnotationExpr; +import com.github.javaparser.ast.expr.MemberValuePair; +import com.github.javaparser.ast.expr.MethodCallExpr; +import com.github.javaparser.ast.expr.MethodReferenceExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.expr.NormalAnnotationExpr; +import com.github.javaparser.ast.expr.NullLiteralExpr; +import com.github.javaparser.ast.expr.ObjectCreationExpr; +import com.github.javaparser.ast.expr.QualifiedNameExpr; +import com.github.javaparser.ast.expr.SingleMemberAnnotationExpr; +import com.github.javaparser.ast.expr.StringLiteralExpr; +import com.github.javaparser.ast.expr.SuperExpr; +import com.github.javaparser.ast.expr.ThisExpr; +import com.github.javaparser.ast.expr.TypeExpr; +import com.github.javaparser.ast.expr.UnaryExpr; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithArrays; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.Statement; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.IntersectionType; +import com.github.javaparser.ast.type.PrimitiveType; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.type.UnionType; +import com.github.javaparser.ast.type.UnknownType; +import com.github.javaparser.ast.type.VoidType; +import com.github.javaparser.ast.type.WildcardType; + +/** + * Dumps the AST to formatted Java source code. + * + * @author Julio Vilmar Gesser + */ +public class DumpVisitor implements VoidVisitor { + + private boolean printComments; + + public DumpVisitor() { + this(true); + } + + public DumpVisitor(boolean printComments) { + this.printComments = printComments; + } + + public static class SourcePrinter { + + private final String indentation; + + public SourcePrinter(final String indentation) { + this.indentation = indentation; + } + + private int level = 0; + + private boolean indented = false; + + private final StringBuilder buf = new StringBuilder(); + + public void indent() { + level++; + } + + public void unindent() { + level--; + } + + private void makeIndent() { + for (int i = 0; i < level; i++) { + buf.append(indentation); + } + } + + public void print(final String arg) { + if (!indented) { + makeIndent(); + indented = true; + } + buf.append(arg); + } + + public void printLn(final String arg) { + print(arg); + printLn(); + } + + public void printLn() { + buf.append(System.getProperty("line.separator")); + indented = false; + } + + public String getSource() { + return buf.toString(); + } + + @Override + public String toString() { + return getSource(); + } + } + + private final SourcePrinter printer = createSourcePrinter(); + + protected SourcePrinter createSourcePrinter() { + return new SourcePrinter(" "); + } + + public String getSource() { + return printer.getSource(); + } + + private void printModifiers(final EnumSet modifiers) { + if (modifiers.size() > 0) + printer.print(modifiers.stream().map(Modifier::getLib).collect(Collectors.joining(" ")) + " "); + } + + private void printMembers(final List> members, final Object arg) { + for (final BodyDeclaration member : members) { + printer.printLn(); + member.accept(this, arg); + printer.printLn(); + } + } + + private void printMemberAnnotations(final List annotations, final Object arg) { + if (!isNullOrEmpty(annotations)) { + for (final AnnotationExpr a : annotations) { + a.accept(this, arg); + printer.printLn(); + } + } + } + + private void printAnnotations(final List annotations, boolean prefixWithASpace, final Object arg) { + if (!isNullOrEmpty(annotations)) { + if(prefixWithASpace){ + printer.print(" "); + } + for (AnnotationExpr annotation : annotations) { + annotation.accept(this, arg); + printer.print(" "); + } + } + } + + private void printTypeArgs(final List args, final Object arg) { + if (!isNullOrEmpty(args)) { + printer.print("<"); + for (final Iterator i = args.iterator(); i.hasNext(); ) { + final Type t = i.next(); + t.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + printer.print(">"); + } + } + + private void printTypeParameters(final List args, final Object arg) { + if (!isNullOrEmpty(args)) { + printer.print("<"); + for (final Iterator i = args.iterator(); i.hasNext(); ) { + final TypeParameter t = i.next(); + t.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + printer.print(">"); + } + } + + private void printArguments(final List args, final Object arg) { + printer.print("("); + if (!isNullOrEmpty(args)) { + for (final Iterator i = args.iterator(); i.hasNext(); ) { + final Expression e = i.next(); + e.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + printer.print(")"); + } + + private void printJavaComment(final Comment javacomment, final Object arg) { + if (javacomment != null) { + javacomment.accept(this, arg); + } + } + + private void printArrayBraces(NodeWithArrays n, Object arg) { + List> arraysAnnotations = n.getArraysAnnotations(); + for (int i = 0; i < n.getArrayCount(); i++) { + if (arraysAnnotations != null && i < arraysAnnotations.size()) { + printAnnotations(arraysAnnotations.get(i), true, arg); + } + printer.print("[]"); + } + } + + @Override + public void visit(final CompilationUnit n, final Object arg) { + printJavaComment(n.getComment(), arg); + + if (n.getPackage() != null) { + n.getPackage().accept(this, arg); + } + + if (!isNullOrEmpty(n.getImports())) { + for (final ImportDeclaration i : n.getImports()) { + i.accept(this, arg); + } + printer.printLn(); + } + + if (!isNullOrEmpty(n.getTypes())) { + for (final Iterator> i = n.getTypes().iterator(); i.hasNext(); ) { + i.next().accept(this, arg); + printer.printLn(); + if (i.hasNext()) { + printer.printLn(); + } + } + } + + printOrphanCommentsEnding(n); + } + + @Override + public void visit(final PackageDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printAnnotations(n.getAnnotations(), false, arg); + printer.print("package "); + n.getName().accept(this, arg); + printer.printLn(";"); + printer.printLn(); + + printOrphanCommentsEnding(n); + } + + @Override + public void visit(final NameExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getName()); + + printOrphanCommentsEnding(n); + } + + @Override + public void visit(final QualifiedNameExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getQualifier().accept(this, arg); + printer.print("."); + printer.print(n.getName()); + + printOrphanCommentsEnding(n); + } + + @Override + public void visit(final ImportDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (!n.isEmptyImportDeclaration()) { + printer.print("import "); + if (n.isStatic()) { + printer.print("static "); + } + n.getName().accept(this, arg); + if (n.isAsterisk()) { + printer.print(".*"); + } + } + printer.printLn(";"); + + printOrphanCommentsEnding(n); + } + + @Override + public void visit(final ClassOrInterfaceDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printModifiers(n.getModifiers()); + + if (n.isInterface()) { + printer.print("interface "); + } else { + printer.print("class "); + } + + printer.print(n.getName()); + + printTypeParameters(n.getTypeParameters(), arg); + + if (!isNullOrEmpty(n.getExtends())) { + printer.print(" extends "); + for (final Iterator i = n.getExtends().iterator(); i.hasNext(); ) { + final ClassOrInterfaceType c = i.next(); + c.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + + if (!isNullOrEmpty(n.getImplements())) { + printer.print(" implements "); + for (final Iterator i = n.getImplements().iterator(); i.hasNext(); ) { + final ClassOrInterfaceType c = i.next(); + c.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + + printer.printLn(" {"); + printer.indent(); + if (!isNullOrEmpty(n.getMembers())) { + printMembers(n.getMembers(), arg); + } + + printOrphanCommentsEnding(n); + + printer.unindent(); + printer.print("}"); + } + + @Override + public void visit(final EmptyTypeDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(";"); + + printOrphanCommentsEnding(n); + } + + @Override + public void visit(final JavadocComment n, final Object arg) { + printer.print("/**"); + printer.print(n.getContent()); + printer.printLn("*/"); + } + + @Override + public void visit(final ClassOrInterfaceType n, final Object arg) { + printJavaComment(n.getComment(), arg); + + if (n.getAnnotations() != null) { + for (AnnotationExpr ae : n.getAnnotations()) { + ae.accept(this, arg); + printer.print(" "); + } + } + + if (n.getScope() != null) { + n.getScope().accept(this, arg); + printer.print("."); + } + printer.print(n.getName()); + + if (n.isUsingDiamondOperator()) { + printer.print("<>"); + } else { + printTypeArgs(n.getTypeArgs(), arg); + } + } + + @Override + public void visit(final TypeParameter n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getAnnotations() != null) { + for (AnnotationExpr ann : n.getAnnotations()) { + ann.accept(this, arg); + printer.print(" "); + } + } + printer.print(n.getName()); + if (!isNullOrEmpty(n.getTypeBound())) { + printer.print(" extends "); + for (final Iterator i = n.getTypeBound().iterator(); i.hasNext(); ) { + final ClassOrInterfaceType c = i.next(); + c.accept(this, arg); + if (i.hasNext()) { + printer.print(" & "); + } + } + } + } + + @Override + public void visit(final PrimitiveType n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (!isNullOrEmpty(n.getAnnotations())) { + for (AnnotationExpr ae : n.getAnnotations()) { + ae.accept(this, arg); + printer.print(" "); + } + } + switch (n.getType()) { + case Boolean: + printer.print("boolean"); + break; + case Byte: + printer.print("byte"); + break; + case Char: + printer.print("char"); + break; + case Double: + printer.print("double"); + break; + case Float: + printer.print("float"); + break; + case Int: + printer.print("int"); + break; + case Long: + printer.print("long"); + break; + case Short: + printer.print("short"); + break; + } + } + + @Override + public void visit(final ReferenceType n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (!isNullOrEmpty(n.getAnnotations())) { + for (AnnotationExpr ae : n.getAnnotations()) { + ae.accept(this, arg); + printer.print(" "); + } + } + n.getType().accept(this, arg); + printArrayBraces(n, arg); + } + + @Override + public void visit(final IntersectionType n, final Object arg) { + printJavaComment(n.getComment(), arg); + boolean isFirst = true; + for (ReferenceType element : n.getElements()) { + element.accept(this, arg); + if (isFirst) { + isFirst = false; + } else { + printer.print(" & "); + } + } + } + + @Override + public void visit(final UnionType n, final Object arg) { + printJavaComment(n.getComment(), arg); + boolean isFirst = true; + for (ReferenceType element : n.getElements()) { + if (isFirst) { + isFirst = false; + } else { + printer.print(" | "); + } + element.accept(this, arg); + } + } + + + @Override + public void visit(final WildcardType n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getAnnotations() != null) { + for (AnnotationExpr ae : n.getAnnotations()) { + printer.print(" "); + ae.accept(this, arg); + } + } + printer.print("?"); + if (n.getExtends() != null) { + printer.print(" extends "); + n.getExtends().accept(this, arg); + } + if (n.getSuper() != null) { + printer.print(" super "); + n.getSuper().accept(this, arg); + } + } + + @Override + public void visit(final UnknownType n, final Object arg) { + // Nothing to dump + } + + @Override + public void visit(final FieldDeclaration n, final Object arg) { + printOrphanCommentsBeforeThisChildNode(n); + + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printModifiers(n.getModifiers()); + n.getType().accept(this, arg); + + printer.print(" "); + for (final Iterator i = n.getVariables().iterator(); i.hasNext(); ) { + final VariableDeclarator var = i.next(); + var.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + + printer.print(";"); + } + + @Override + public void visit(final VariableDeclarator n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getId().accept(this, arg); + if (n.getInit() != null) { + printer.print(" = "); + n.getInit().accept(this, arg); + } + } + + @Override + public void visit(final VariableDeclaratorId n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getName()); + for (int i = 0; i < n.getArrayCount(); i++) { + printer.print("[]"); + } + } + + @Override + public void visit(final ArrayInitializerExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("{"); + if (!isNullOrEmpty(n.getValues())) { + printer.print(" "); + for (final Iterator i = n.getValues().iterator(); i.hasNext(); ) { + final Expression expr = i.next(); + expr.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + printer.print(" "); + } + printer.print("}"); + } + + @Override + public void visit(final VoidType n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("void"); + } + + @Override + public void visit(final ArrayAccessExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getName().accept(this, arg); + printer.print("["); + n.getIndex().accept(this, arg); + printer.print("]"); + } + + @Override + public void visit(final ArrayCreationExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("new "); + n.getType().accept(this, arg); + List> arraysAnnotations = n.getArraysAnnotations(); + if (!isNullOrEmpty(n.getDimensions())) { + int j = 0; + for (final Expression dim : n.getDimensions()) { + if (arraysAnnotations != null && j < arraysAnnotations.size()) { + printAnnotations(arraysAnnotations.get(j), true, arg); + } + printer.print("["); + dim.accept(this, arg); + printer.print("]"); + j++; + } + printArrayBraces(n, arg); + + } + if (n.getInitializer() != null) { + printArrayBraces(n, arg); + printer.print(" "); + n.getInitializer().accept(this, arg); + } + } + + @Override + public void visit(final AssignExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getTarget().accept(this, arg); + printer.print(" "); + switch (n.getOperator()) { + case assign: + printer.print("="); + break; + case and: + printer.print("&="); + break; + case or: + printer.print("|="); + break; + case xor: + printer.print("^="); + break; + case plus: + printer.print("+="); + break; + case minus: + printer.print("-="); + break; + case rem: + printer.print("%="); + break; + case slash: + printer.print("/="); + break; + case star: + printer.print("*="); + break; + case lShift: + printer.print("<<="); + break; + case rSignedShift: + printer.print(">>="); + break; + case rUnsignedShift: + printer.print(">>>="); + break; + } + printer.print(" "); + n.getValue().accept(this, arg); + } + + @Override + public void visit(final BinaryExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getLeft().accept(this, arg); + printer.print(" "); + switch (n.getOperator()) { + case or: + printer.print("||"); + break; + case and: + printer.print("&&"); + break; + case binOr: + printer.print("|"); + break; + case binAnd: + printer.print("&"); + break; + case xor: + printer.print("^"); + break; + case equals: + printer.print("=="); + break; + case notEquals: + printer.print("!="); + break; + case less: + printer.print("<"); + break; + case greater: + printer.print(">"); + break; + case lessEquals: + printer.print("<="); + break; + case greaterEquals: + printer.print(">="); + break; + case lShift: + printer.print("<<"); + break; + case rSignedShift: + printer.print(">>"); + break; + case rUnsignedShift: + printer.print(">>>"); + break; + case plus: + printer.print("+"); + break; + case minus: + printer.print("-"); + break; + case times: + printer.print("*"); + break; + case divide: + printer.print("/"); + break; + case remainder: + printer.print("%"); + break; + } + printer.print(" "); + n.getRight().accept(this, arg); + } + + @Override + public void visit(final CastExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("("); + n.getType().accept(this, arg); + printer.print(") "); + n.getExpr().accept(this, arg); + } + + @Override + public void visit(final ClassExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getType().accept(this, arg); + printer.print(".class"); + } + + @Override + public void visit(final ConditionalExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getCondition().accept(this, arg); + printer.print(" ? "); + n.getThenExpr().accept(this, arg); + printer.print(" : "); + n.getElseExpr().accept(this, arg); + } + + @Override + public void visit(final EnclosedExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("("); + if (n.getInner() != null) { + n.getInner().accept(this, arg); + } + printer.print(")"); + } + + @Override + public void visit(final FieldAccessExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getScope().accept(this, arg); + printer.print("."); + printer.print(n.getField()); + } + + @Override + public void visit(final InstanceOfExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getExpr().accept(this, arg); + printer.print(" instanceof "); + n.getType().accept(this, arg); + } + + @Override + public void visit(final CharLiteralExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("'"); + printer.print(n.getValue()); + printer.print("'"); + } + + @Override + public void visit(final DoubleLiteralExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getValue()); + } + + @Override + public void visit(final IntegerLiteralExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getValue()); + } + + @Override + public void visit(final LongLiteralExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getValue()); + } + + @Override + public void visit(final IntegerLiteralMinValueExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getValue()); + } + + @Override + public void visit(final LongLiteralMinValueExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getValue()); + } + + @Override + public void visit(final StringLiteralExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("\""); + printer.print(n.getValue()); + printer.print("\""); + } + + @Override + public void visit(final BooleanLiteralExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(String.valueOf(n.getValue())); + } + + @Override + public void visit(final NullLiteralExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("null"); + } + + @Override + public void visit(final ThisExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getClassExpr() != null) { + n.getClassExpr().accept(this, arg); + printer.print("."); + } + printer.print("this"); + } + + @Override + public void visit(final SuperExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getClassExpr() != null) { + n.getClassExpr().accept(this, arg); + printer.print("."); + } + printer.print("super"); + } + + @Override + public void visit(final MethodCallExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getScope() != null) { + n.getScope().accept(this, arg); + printer.print("."); + } + printTypeArgs(n.getTypeArgs(), arg); + printer.print(n.getName()); + printArguments(n.getArgs(), arg); + } + + @Override + public void visit(final ObjectCreationExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getScope() != null) { + n.getScope().accept(this, arg); + printer.print("."); + } + + printer.print("new "); + + printTypeArgs(n.getTypeArgs(), arg); + if (!isNullOrEmpty(n.getTypeArgs())) { + printer.print(" "); + } + + n.getType().accept(this, arg); + + printArguments(n.getArgs(), arg); + + if (n.getAnonymousClassBody() != null) { + printer.printLn(" {"); + printer.indent(); + printMembers(n.getAnonymousClassBody(), arg); + printer.unindent(); + printer.print("}"); + } + } + + @Override + public void visit(final UnaryExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + switch (n.getOperator()) { + case positive: + printer.print("+"); + break; + case negative: + printer.print("-"); + break; + case inverse: + printer.print("~"); + break; + case not: + printer.print("!"); + break; + case preIncrement: + printer.print("++"); + break; + case preDecrement: + printer.print("--"); + break; + default: + } + + n.getExpr().accept(this, arg); + + switch (n.getOperator()) { + case posIncrement: + printer.print("++"); + break; + case posDecrement: + printer.print("--"); + break; + default: + } + } + + @Override + public void visit(final ConstructorDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printModifiers(n.getModifiers()); + + printTypeParameters(n.getTypeParameters(), arg); + if (!n.getTypeParameters().isEmpty()) { + printer.print(" "); + } + printer.print(n.getName()); + + printer.print("("); + if (!n.getParameters().isEmpty()) { + for (final Iterator i = n.getParameters().iterator(); i.hasNext(); ) { + final Parameter p = i.next(); + p.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + printer.print(")"); + + if (!isNullOrEmpty(n.getThrows())) { + printer.print(" throws "); + for (final Iterator i = n.getThrows().iterator(); i.hasNext(); ) { + final ReferenceType name = i.next(); + name.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + printer.print(" "); + n.getBody().accept(this, arg); + } + + @Override + public void visit(final MethodDeclaration n, final Object arg) { + printOrphanCommentsBeforeThisChildNode(n); + + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printModifiers(n.getModifiers()); + if (n.isDefault()) { + printer.print("default "); + } + printTypeParameters(n.getTypeParameters(), arg); + if (!isNullOrEmpty(n.getTypeParameters())) { + printer.print(" "); + } + + n.getType().accept(this, arg); + printer.print(" "); + printer.print(n.getName()); + + printer.print("("); + if (!isNullOrEmpty(n.getParameters())) { + for (final Iterator i = n.getParameters().iterator(); i.hasNext(); ) { + final Parameter p = i.next(); + p.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + printer.print(")"); + + for (int i = 0; i < n.getArrayCount(); i++) { + printer.print("[]"); + } + + if (!isNullOrEmpty(n.getThrows())) { + printer.print(" throws "); + for (final Iterator i = n.getThrows().iterator(); i.hasNext(); ) { + final ReferenceType name = i.next(); + name.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + if (n.getBody() == null) { + printer.print(";"); + } else { + printer.print(" "); + n.getBody().accept(this, arg); + } + } + + @Override + public void visit(final Parameter n, final Object arg) { + printJavaComment(n.getComment(), arg); + printAnnotations(n.getAnnotations(), false, arg); + printModifiers(n.getModifiers()); + if (n.getType() != null) { + n.getType().accept(this, arg); + } + if (n.isVarArgs()) { + printer.print("..."); + } + printer.print(" "); + n.getId().accept(this, arg); + } + + @Override + public void visit(MultiTypeParameter n, Object arg) { + printAnnotations(n.getAnnotations(), false, arg); + printModifiers(n.getModifiers()); + + Type type = n.getType(); + if (type != null) { + type.accept(this, arg); + } + + printer.print(" "); + n.getId().accept(this, arg); + } + + @Override + public void visit(final ExplicitConstructorInvocationStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.isThis()) { + printTypeArgs(n.getTypeArgs(), arg); + printer.print("this"); + } else { + if (n.getExpr() != null) { + n.getExpr().accept(this, arg); + printer.print("."); + } + printTypeArgs(n.getTypeArgs(), arg); + printer.print("super"); + } + printArguments(n.getArgs(), arg); + printer.print(";"); + } + + @Override + public void visit(final VariableDeclarationExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printAnnotations(n.getAnnotations(), false, arg); + printModifiers(n.getModifiers()); + + n.getType().accept(this, arg); + printer.print(" "); + + for (final Iterator i = n.getVars().iterator(); i.hasNext(); ) { + final VariableDeclarator v = i.next(); + v.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + + @Override + public void visit(final TypeDeclarationStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + n.getTypeDeclaration().accept(this, arg); + } + + @Override + public void visit(final AssertStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("assert "); + n.getCheck().accept(this, arg); + if (n.getMessage() != null) { + printer.print(" : "); + n.getMessage().accept(this, arg); + } + printer.print(";"); + } + + @Override + public void visit(final BlockStmt n, final Object arg) { + printOrphanCommentsBeforeThisChildNode(n); + printJavaComment(n.getComment(), arg); + printer.printLn("{"); + if (n.getStmts() != null) { + printer.indent(); + for (final Statement s : n.getStmts()) { + s.accept(this, arg); + printer.printLn(); + } + printer.unindent(); + } + printOrphanCommentsEnding(n); + printer.print("}"); + + } + + @Override + public void visit(final LabeledStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getLabel()); + printer.print(": "); + n.getStmt().accept(this, arg); + } + + @Override + public void visit(final EmptyStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(";"); + } + + @Override + public void visit(final ExpressionStmt n, final Object arg) { + printOrphanCommentsBeforeThisChildNode(n); + printJavaComment(n.getComment(), arg); + n.getExpression().accept(this, arg); + printer.print(";"); + } + + @Override + public void visit(final SwitchStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("switch("); + n.getSelector().accept(this, arg); + printer.printLn(") {"); + if (n.getEntries() != null) { + printer.indent(); + for (final SwitchEntryStmt e : n.getEntries()) { + e.accept(this, arg); + } + printer.unindent(); + } + printer.print("}"); + + } + + @Override + public void visit(final SwitchEntryStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getLabel() != null) { + printer.print("case "); + n.getLabel().accept(this, arg); + printer.print(":"); + } else { + printer.print("default:"); + } + printer.printLn(); + printer.indent(); + if (n.getStmts() != null) { + for (final Statement s : n.getStmts()) { + s.accept(this, arg); + printer.printLn(); + } + } + printer.unindent(); + } + + @Override + public void visit(final BreakStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("break"); + if (n.getId() != null) { + printer.print(" "); + printer.print(n.getId()); + } + printer.print(";"); + } + + @Override + public void visit(final ReturnStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("return"); + if (n.getExpr() != null) { + printer.print(" "); + n.getExpr().accept(this, arg); + } + printer.print(";"); + } + + @Override + public void visit(final EnumDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printModifiers(n.getModifiers()); + + printer.print("enum "); + printer.print(n.getName()); + + if (!n.getImplements().isEmpty()) { + printer.print(" implements "); + for (final Iterator i = n.getImplements().iterator(); i.hasNext(); ) { + final ClassOrInterfaceType c = i.next(); + c.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + + printer.printLn(" {"); + printer.indent(); + if (n.getEntries() != null) { + printer.printLn(); + for (final Iterator i = n.getEntries().iterator(); i.hasNext(); ) { + final EnumConstantDeclaration e = i.next(); + e.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + if (!n.getMembers().isEmpty()) { + printer.printLn(";"); + printMembers(n.getMembers(), arg); + } else { + if (!n.getEntries().isEmpty()) { + printer.printLn(); + } + } + printer.unindent(); + printer.print("}"); + } + + @Override + public void visit(final EnumConstantDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printer.print(n.getName()); + + if (!n.getArgs().isEmpty()) { + printArguments(n.getArgs(), arg); + } + + if (!n.getClassBody().isEmpty()) { + printer.printLn(" {"); + printer.indent(); + printMembers(n.getClassBody(), arg); + printer.unindent(); + printer.printLn("}"); + } + } + + @Override + public void visit(final EmptyMemberDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(";"); + } + + @Override + public void visit(final InitializerDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + if (n.isStatic()) { + printer.print("static "); + } + n.getBlock().accept(this, arg); + } + + @Override + public void visit(final IfStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("if ("); + n.getCondition().accept(this, arg); + final boolean thenBlock = n.getThenStmt() instanceof BlockStmt; + if (thenBlock) // block statement should start on the same line + printer.print(") "); + else { + printer.printLn(")"); + printer.indent(); + } + n.getThenStmt().accept(this, arg); + if (!thenBlock) + printer.unindent(); + if (n.getElseStmt() != null) { + if (thenBlock) + printer.print(" "); + else + printer.printLn(); + final boolean elseIf = n.getElseStmt() instanceof IfStmt; + final boolean elseBlock = n.getElseStmt() instanceof BlockStmt; + if (elseIf || elseBlock) // put chained if and start of block statement on a same level + printer.print("else "); + else { + printer.printLn("else"); + printer.indent(); + } + n.getElseStmt().accept(this, arg); + if (!(elseIf || elseBlock)) + printer.unindent(); + } + } + + @Override + public void visit(final WhileStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("while ("); + n.getCondition().accept(this, arg); + printer.print(") "); + n.getBody().accept(this, arg); + } + + @Override + public void visit(final ContinueStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("continue"); + if (n.getId() != null) { + printer.print(" "); + printer.print(n.getId()); + } + printer.print(";"); + } + + @Override + public void visit(final DoStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("do "); + n.getBody().accept(this, arg); + printer.print(" while ("); + n.getCondition().accept(this, arg); + printer.print(");"); + } + + @Override + public void visit(final ForeachStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("for ("); + n.getVariable().accept(this, arg); + printer.print(" : "); + n.getIterable().accept(this, arg); + printer.print(") "); + n.getBody().accept(this, arg); + } + + @Override + public void visit(final ForStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("for ("); + if (n.getInit() != null) { + for (final Iterator i = n.getInit().iterator(); i.hasNext(); ) { + final Expression e = i.next(); + e.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + printer.print("; "); + if (n.getCompare() != null) { + n.getCompare().accept(this, arg); + } + printer.print("; "); + if (n.getUpdate() != null) { + for (final Iterator i = n.getUpdate().iterator(); i.hasNext(); ) { + final Expression e = i.next(); + e.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + printer.print(") "); + n.getBody().accept(this, arg); + } + + @Override + public void visit(final ThrowStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("throw "); + n.getExpr().accept(this, arg); + printer.print(";"); + } + + @Override + public void visit(final SynchronizedStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("synchronized ("); + n.getExpr().accept(this, arg); + printer.print(") "); + n.getBlock().accept(this, arg); + } + + @Override + public void visit(final TryStmt n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("try "); + if (!n.getResources().isEmpty()) { + printer.print("("); + Iterator resources = n.getResources().iterator(); + boolean first = true; + while (resources.hasNext()) { + visit(resources.next(), arg); + if (resources.hasNext()) { + printer.print(";"); + printer.printLn(); + if (first) { + printer.indent(); + } + } + first = false; + } + if (n.getResources().size() > 1) { + printer.unindent(); + } + printer.print(") "); + } + n.getTryBlock().accept(this, arg); + if (n.getCatchs() != null) { + for (final CatchClause c : n.getCatchs()) { + c.accept(this, arg); + } + } + if (n.getFinallyBlock() != null) { + printer.print(" finally "); + n.getFinallyBlock().accept(this, arg); + } + } + + @Override + public void visit(final CatchClause n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(" catch ("); + n.getParam().accept(this, arg); + printer.print(") "); + n.getCatchBlock().accept(this, arg); + + } + + @Override + public void visit(final AnnotationDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printModifiers(n.getModifiers()); + + printer.print("@interface "); + printer.print(n.getName()); + printer.printLn(" {"); + printer.indent(); + if (n.getMembers() != null) { + printMembers(n.getMembers(), arg); + } + printer.unindent(); + printer.print("}"); + } + + @Override + public void visit(final AnnotationMemberDeclaration n, final Object arg) { + printJavaComment(n.getComment(), arg); + printMemberAnnotations(n.getAnnotations(), arg); + printModifiers(n.getModifiers()); + + n.getType().accept(this, arg); + printer.print(" "); + printer.print(n.getName()); + printer.print("()"); + if (n.getDefaultValue() != null) { + printer.print(" default "); + n.getDefaultValue().accept(this, arg); + } + printer.print(";"); + } + + @Override + public void visit(final MarkerAnnotationExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("@"); + n.getName().accept(this, arg); + } + + @Override + public void visit(final SingleMemberAnnotationExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("@"); + n.getName().accept(this, arg); + printer.print("("); + n.getMemberValue().accept(this, arg); + printer.print(")"); + } + + @Override + public void visit(final NormalAnnotationExpr n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print("@"); + n.getName().accept(this, arg); + printer.print("("); + if (n.getPairs() != null) { + for (final Iterator i = n.getPairs().iterator(); i.hasNext(); ) { + final MemberValuePair m = i.next(); + m.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + printer.print(")"); + } + + @Override + public void visit(final MemberValuePair n, final Object arg) { + printJavaComment(n.getComment(), arg); + printer.print(n.getName()); + printer.print(" = "); + n.getValue().accept(this, arg); + } + + @Override + public void visit(final LineComment n, final Object arg) { + if (!this.printComments) { + return; + } + printer.print("//"); + String tmp = n.getContent(); + tmp = tmp.replace('\r', ' '); + tmp = tmp.replace('\n', ' '); + printer.printLn(tmp); + } + + @Override + public void visit(final BlockComment n, final Object arg) { + if (!this.printComments) { + return; + } + printer.print("/*"); + printer.print(n.getContent()); + printer.printLn("*/"); + } + + @Override + public void visit(LambdaExpr n, Object arg) { + printJavaComment(n.getComment(), arg); + + final List parameters = n.getParameters(); + final boolean printPar = n.isParametersEnclosed(); + + if (printPar) { + printer.print("("); + } + if (parameters != null) { + for (Iterator i = parameters.iterator(); i.hasNext(); ) { + Parameter p = i.next(); + p.accept(this, arg); + if (i.hasNext()) { + printer.print(", "); + } + } + } + if (printPar) { + printer.print(")"); + } + + printer.print(" -> "); + final Statement body = n.getBody(); + if (body instanceof ExpressionStmt) { + // Print the expression directly + ((ExpressionStmt) body).getExpression().accept(this, arg); + } else { + body.accept(this, arg); + } + } + + + @Override + public void visit(MethodReferenceExpr n, Object arg) { + printJavaComment(n.getComment(), arg); + Expression scope = n.getScope(); + String identifier = n.getIdentifier(); + if (scope != null) { + n.getScope().accept(this, arg); + } + + printer.print("::"); + printTypeArgs(n.getTypeArguments().getTypeArguments(), arg); + if (identifier != null) { + printer.print(identifier); + } + + } + + @Override + public void visit(TypeExpr n, Object arg) { + printJavaComment(n.getComment(), arg); + if (n.getType() != null) { + n.getType().accept(this, arg); + } + } + + private void printOrphanCommentsBeforeThisChildNode(final Node node) { + if (node instanceof Comment) return; + + Node parent = node.getParentNode(); + if (parent == null) return; + List everything = new LinkedList<>(); + everything.addAll(parent.getChildrenNodes()); + sortByBeginPosition(everything); + int positionOfTheChild = -1; + for (int i = 0; i < everything.size(); i++) { + if (everything.get(i) == node) positionOfTheChild = i; + } + if (positionOfTheChild == -1) throw new RuntimeException("My index not found!!! " + node); + int positionOfPreviousChild = -1; + for (int i = positionOfTheChild - 1; i >= 0 && positionOfPreviousChild == -1; i--) { + if (!(everything.get(i) instanceof Comment)) positionOfPreviousChild = i; + } + for (int i = positionOfPreviousChild + 1; i < positionOfTheChild; i++) { + Node nodeToPrint = everything.get(i); + if (!(nodeToPrint instanceof Comment)) + throw new RuntimeException("Expected comment, instead " + nodeToPrint.getClass() + ". Position of previous child: " + positionOfPreviousChild + ", position of child " + positionOfTheChild); + nodeToPrint.accept(this, null); + } + } + + + private void printOrphanCommentsEnding(final Node node) { + List everything = new LinkedList<>(); + everything.addAll(node.getChildrenNodes()); + sortByBeginPosition(everything); + if (everything.isEmpty()) { + return; + } + + int commentsAtEnd = 0; + boolean findingComments = true; + while (findingComments && commentsAtEnd < everything.size()) { + Node last = everything.get(everything.size() - 1 - commentsAtEnd); + findingComments = (last instanceof Comment); + if (findingComments) { + commentsAtEnd++; + } + } + for (int i = 0; i < commentsAtEnd; i++) { + everything.get(everything.size() - commentsAtEnd + i).accept(this, null); + } + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/EqualsVisitor.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/EqualsVisitor.java new file mode 100644 index 00000000..f3489b61 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/EqualsVisitor.java @@ -0,0 +1,1537 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import java.util.List; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.BaseParameter; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.ArrayAccessExpr; +import com.github.javaparser.ast.expr.ArrayCreationExpr; +import com.github.javaparser.ast.expr.ArrayInitializerExpr; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.BinaryExpr; +import com.github.javaparser.ast.expr.BooleanLiteralExpr; +import com.github.javaparser.ast.expr.CastExpr; +import com.github.javaparser.ast.expr.CharLiteralExpr; +import com.github.javaparser.ast.expr.ClassExpr; +import com.github.javaparser.ast.expr.ConditionalExpr; +import com.github.javaparser.ast.expr.DoubleLiteralExpr; +import com.github.javaparser.ast.expr.EnclosedExpr; +import com.github.javaparser.ast.expr.FieldAccessExpr; +import com.github.javaparser.ast.expr.InstanceOfExpr; +import com.github.javaparser.ast.expr.IntegerLiteralExpr; +import com.github.javaparser.ast.expr.IntegerLiteralMinValueExpr; +import com.github.javaparser.ast.expr.LambdaExpr; +import com.github.javaparser.ast.expr.LongLiteralExpr; +import com.github.javaparser.ast.expr.LongLiteralMinValueExpr; +import com.github.javaparser.ast.expr.MarkerAnnotationExpr; +import com.github.javaparser.ast.expr.MemberValuePair; +import com.github.javaparser.ast.expr.MethodCallExpr; +import com.github.javaparser.ast.expr.MethodReferenceExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.expr.NormalAnnotationExpr; +import com.github.javaparser.ast.expr.NullLiteralExpr; +import com.github.javaparser.ast.expr.ObjectCreationExpr; +import com.github.javaparser.ast.expr.QualifiedNameExpr; +import com.github.javaparser.ast.expr.SingleMemberAnnotationExpr; +import com.github.javaparser.ast.expr.StringLiteralExpr; +import com.github.javaparser.ast.expr.SuperExpr; +import com.github.javaparser.ast.expr.ThisExpr; +import com.github.javaparser.ast.expr.TypeExpr; +import com.github.javaparser.ast.expr.UnaryExpr; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.IntersectionType; +import com.github.javaparser.ast.type.PrimitiveType; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.type.UnionType; +import com.github.javaparser.ast.type.UnknownType; +import com.github.javaparser.ast.type.VoidType; +import com.github.javaparser.ast.type.WildcardType; + +/** + * @author Julio Vilmar Gesser + */ +public class EqualsVisitor implements GenericVisitor { + + private static final EqualsVisitor SINGLETON = new EqualsVisitor(); + + public static boolean equals(final Node n1, final Node n2) { + return SINGLETON.nodeEquals(n1, n2); + } + + private EqualsVisitor() { + // hide constructor + } + + /** + * Check for equality that can be applied to each kind of node, + * to not repeat it in every method we store that here. + */ + private boolean commonNodeEquality(Node n1, Node n2) { + if (!nodeEquals(n1.getComment(), n2.getComment())) { + return false; + } + return nodesEquals(n1.getOrphanComments(), n2.getOrphanComments()); + } + + private boolean nodesEquals(final List nodes1, final List nodes2) { + if (nodes1 == null) { + return nodes2 == null; + } else if (nodes2 == null) { + return false; + } + if (nodes1.size() != nodes2.size()) { + return false; + } + for (int i = 0; i < nodes1.size(); i++) { + if (!nodeEquals(nodes1.get(i), nodes2.get(i))) { + return false; + } + } + return true; + } + + private boolean nodeEquals(final T n1, final T n2) { + if (n1 == n2) { + return true; + } + if (n1 == null || n2 == null) { + return false; + } + if (n1.getClass() != n2.getClass()) { + return false; + } + if (!commonNodeEquality(n1, n2)){ + return false; + } + return n1.accept(this, n2); + } + + private boolean objEquals(final Object n1, final Object n2) { + if (n1 == n2) { + return true; + } + if (n1 == null || n2 == null) { + return false; + } + return n1.equals(n2); + } + + @Override public Boolean visit(final CompilationUnit n1, final Node arg) { + final CompilationUnit n2 = (CompilationUnit) arg; + + if (!nodeEquals(n1.getPackage(), n2.getPackage())) { + return false; + } + + if (!nodesEquals(n1.getImports(), n2.getImports())) { + return false; + } + + if (!nodesEquals(n1.getTypes(), n2.getTypes())) { + return false; + } + + if (!nodesEquals(n1.getComments(), n2.getComments())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final PackageDeclaration n1, final Node arg) { + final PackageDeclaration n2 = (PackageDeclaration) arg; + + if (!nodeEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ImportDeclaration n1, final Node arg) { + final ImportDeclaration n2 = (ImportDeclaration) arg; + + if (!nodeEquals(n1.getName(), n2.getName())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final TypeParameter n1, final Node arg) { + final TypeParameter n2 = (TypeParameter) arg; + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getTypeBound(), n2.getTypeBound())) { + return false; + } + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + return true; + } + + @Override public Boolean visit(final LineComment n1, final Node arg) { + final LineComment n2 = (LineComment) arg; + + if (!objEquals(n1.getContent(), n2.getContent())) { + return false; + } + + if (!objEquals(n1.getBegin().line, n2.getBegin().line)) { + return false; + } + + return true; + } + + @Override public Boolean visit(final BlockComment n1, final Node arg) { + final BlockComment n2 = (BlockComment) arg; + + if (!objEquals(n1.getContent(), n2.getContent())) { + return false; + } + + if (!objEquals(n1.getBegin().line, n2.getBegin().line)) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ClassOrInterfaceDeclaration n1, final Node arg) { + final ClassOrInterfaceDeclaration n2 = (ClassOrInterfaceDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (n1.isInterface() != n2.isInterface()) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodesEquals(n1.getTypeParameters(), n2.getTypeParameters())) { + return false; + } + + if (!nodesEquals(n1.getExtends(), n2.getExtends())) { + return false; + } + + if (!nodesEquals(n1.getImplements(), n2.getImplements())) { + return false; + } + + if (!nodesEquals(n1.getMembers(), n2.getMembers())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final EnumDeclaration n1, final Node arg) { + final EnumDeclaration n2 = (EnumDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodesEquals(n1.getImplements(), n2.getImplements())) { + return false; + } + + if (!nodesEquals(n1.getEntries(), n2.getEntries())) { + return false; + } + + if (!nodesEquals(n1.getMembers(), n2.getMembers())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final EmptyTypeDeclaration n1, final Node arg) { + return true; + } + + @Override public Boolean visit(final EnumConstantDeclaration n1, final Node arg) { + final EnumConstantDeclaration n2 = (EnumConstantDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodesEquals(n1.getArgs(), n2.getArgs())) { + return false; + } + + if (!nodesEquals(n1.getClassBody(), n2.getClassBody())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final AnnotationDeclaration n1, final Node arg) { + final AnnotationDeclaration n2 = (AnnotationDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodesEquals(n1.getMembers(), n2.getMembers())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final AnnotationMemberDeclaration n1, final Node arg) { + final AnnotationMemberDeclaration n2 = (AnnotationMemberDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodeEquals(n1.getDefaultValue(), n2.getDefaultValue())) { + return false; + } + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final FieldDeclaration n1, final Node arg) { + final FieldDeclaration n2 = (FieldDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + if (!nodesEquals(n1.getVariables(), n2.getVariables())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final VariableDeclarator n1, final Node arg) { + final VariableDeclarator n2 = (VariableDeclarator) arg; + + if (!nodeEquals(n1.getId(), n2.getId())) { + return false; + } + + if (!nodeEquals(n1.getInit(), n2.getInit())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final VariableDeclaratorId n1, final Node arg) { + final VariableDeclaratorId n2 = (VariableDeclaratorId) arg; + + if (n1.getArrayCount() != n2.getArrayCount()) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ConstructorDeclaration n1, final Node arg) { + final ConstructorDeclaration n2 = (ConstructorDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodeEquals(n1.getBody(), n2.getBody())) { + return false; + } + + if (!nodesEquals(n1.getParameters(), n2.getParameters())) { + return false; + } + + if (!nodesEquals(n1.getThrows(), n2.getThrows())) { + return false; + } + + if (!nodesEquals(n1.getTypeParameters(), n2.getTypeParameters())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final MethodDeclaration n1, final Node arg) { + final MethodDeclaration n2 = (MethodDeclaration) arg; + + // javadoc are checked at CompilationUnit + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (n1.getArrayCount() != n2.getArrayCount()) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodeEquals(n1.getBody(), n2.getBody())) { + return false; + } + + if (!nodesEquals(n1.getParameters(), n2.getParameters())) { + return false; + } + + if (!nodesEquals(n1.getThrows(), n2.getThrows())) { + return false; + } + + if (!nodesEquals(n1.getTypeParameters(), n2.getTypeParameters())) { + return false; + } + if(n1.isDefault() != n2.isDefault()){ + return false; + } + return true; + } + + @Override public Boolean visit(final Parameter n1, final Node arg) { + final Parameter n2 = (Parameter) arg; + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + return visit((BaseParameter) n1, arg); + } + + @Override public Boolean visit(MultiTypeParameter n1, Node arg) { + MultiTypeParameter n2 = (MultiTypeParameter) arg; + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + return visit((BaseParameter) n1, arg); + } + + protected Boolean visit(final BaseParameter n1, final Node arg) { + final BaseParameter n2 = (BaseParameter) arg; + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (!nodeEquals(n1.getId(), n2.getId())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final EmptyMemberDeclaration n1, final Node arg) { + return true; + } + + @Override public Boolean visit(final InitializerDeclaration n1, final Node arg) { + final InitializerDeclaration n2 = (InitializerDeclaration) arg; + + if (!nodeEquals(n1.getBlock(), n2.getBlock())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final JavadocComment n1, final Node arg) { + final JavadocComment n2 = (JavadocComment) arg; + + if (!objEquals(n1.getContent(), n2.getContent())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ClassOrInterfaceType n1, final Node arg) { + final ClassOrInterfaceType n2 = (ClassOrInterfaceType) arg; + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodeEquals(n1.getScope(), n2.getScope())) { + return false; + } + + if (!nodesEquals(n1.getTypeArgs(), n2.getTypeArgs())) { + return false; + } + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + return true; + } + + @Override public Boolean visit(final PrimitiveType n1, final Node arg) { + final PrimitiveType n2 = (PrimitiveType) arg; + + if (n1.getType() != n2.getType()) { + return false; + } + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + return true; + } + + @Override public Boolean visit(final ReferenceType n1, final Node arg) { + final ReferenceType n2 = (ReferenceType) arg; + + if (n1.getArrayCount() != n2.getArrayCount()) { + return false; + } + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + List> n1a = n1.getArraysAnnotations(); + List> n2a = n2.getArraysAnnotations(); + + if (n1a !=null && n2a!= null) { + if(n1a.size() != n2a.size()){ + return false; + } + else{ + int i = 0; + for(List aux: n1a){ + if(!nodesEquals(aux, n2a.get(i))){ + return false; + } + i++; + } + } + } + else if (n1a != n2a){ + return false; + } + return true; + } + + @Override public Boolean visit(final IntersectionType n1, final Node arg) { + final IntersectionType n2 = (IntersectionType) arg; + + List n1Elements = n1.getElements(); + List n2Elements = n2.getElements(); + + if (n1Elements !=null && n2Elements != null) { + if(n1Elements.size() != n2Elements.size()){ + return false; + } + else{ + int i = 0; + for(ReferenceType aux: n1Elements){ + if(aux.accept(this, n2Elements.get(i))) { + return false; + } + i++; + } + } + } else if (n1Elements != n2Elements){ + return false; + } + return true; + } + + @Override public Boolean visit(final UnionType n1, final Node arg) { + final UnionType n2 = (UnionType) arg; + + List n1Elements = n1.getElements(); + List n2Elements = n2.getElements(); + + if (n1Elements !=null && n2Elements != null) { + if(n1Elements.size() != n2Elements.size()){ + return false; + } + else{ + int i = 0; + for(ReferenceType aux: n1Elements){ + if(aux.accept(this, n2Elements.get(i))) { + return false; + } + i++; + } + } + } else if (n1Elements != n2Elements){ + return false; + } + return true; + } + + @Override + public Boolean visit(VoidType n1, Node arg) { + VoidType n2 = (VoidType) arg; + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + return true; + } + + @Override public Boolean visit(final WildcardType n1, final Node arg) { + final WildcardType n2 = (WildcardType) arg; + + if (!nodeEquals(n1.getExtends(), n2.getExtends())) { + return false; + } + + if (!nodeEquals(n1.getSuper(), n2.getSuper())) { + return false; + } + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + return true; + } + + @Override public Boolean visit(final UnknownType n1, final Node arg) { + final UnknownType n2 = (UnknownType) arg; + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + return true; + } + + @Override public Boolean visit(final ArrayAccessExpr n1, final Node arg) { + final ArrayAccessExpr n2 = (ArrayAccessExpr) arg; + + if (!nodeEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodeEquals(n1.getIndex(), n2.getIndex())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ArrayCreationExpr n1, final Node arg) { + final ArrayCreationExpr n2 = (ArrayCreationExpr) arg; + + if (n1.getArrayCount() != n2.getArrayCount()) { + return false; + } + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + if (!nodeEquals(n1.getInitializer(), n2.getInitializer())) { + return false; + } + + if (!nodesEquals(n1.getDimensions(), n2.getDimensions())) { + return false; + } + List> n1a = n1.getArraysAnnotations(); + List> n2a = n2.getArraysAnnotations(); + + if (n1a !=null && n2a!= null) { + if(n1a.size() != n2a.size()){ + return false; + } + else{ + int i = 0; + for(List aux: n1a){ + if(!nodesEquals(aux, n2a.get(i))){ + return false; + } + i++; + } + } + } + else if (n1a != n2a){ + return false; + } + return true; + } + + @Override public Boolean visit(final ArrayInitializerExpr n1, final Node arg) { + final ArrayInitializerExpr n2 = (ArrayInitializerExpr) arg; + + if (!nodesEquals(n1.getValues(), n2.getValues())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final AssignExpr n1, final Node arg) { + final AssignExpr n2 = (AssignExpr) arg; + + if (n1.getOperator() != n2.getOperator()) { + return false; + } + + if (!nodeEquals(n1.getTarget(), n2.getTarget())) { + return false; + } + + if (!nodeEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final BinaryExpr n1, final Node arg) { + final BinaryExpr n2 = (BinaryExpr) arg; + + if (n1.getOperator() != n2.getOperator()) { + return false; + } + + if (!nodeEquals(n1.getLeft(), n2.getLeft())) { + return false; + } + + if (!nodeEquals(n1.getRight(), n2.getRight())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final CastExpr n1, final Node arg) { + final CastExpr n2 = (CastExpr) arg; + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + if (!nodeEquals(n1.getExpr(), n2.getExpr())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ClassExpr n1, final Node arg) { + final ClassExpr n2 = (ClassExpr) arg; + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ConditionalExpr n1, final Node arg) { + final ConditionalExpr n2 = (ConditionalExpr) arg; + + if (!nodeEquals(n1.getCondition(), n2.getCondition())) { + return false; + } + + if (!nodeEquals(n1.getThenExpr(), n2.getThenExpr())) { + return false; + } + + if (!nodeEquals(n1.getElseExpr(), n2.getElseExpr())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final EnclosedExpr n1, final Node arg) { + final EnclosedExpr n2 = (EnclosedExpr) arg; + + if (!nodeEquals(n1.getInner(), n2.getInner())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final FieldAccessExpr n1, final Node arg) { + final FieldAccessExpr n2 = (FieldAccessExpr) arg; + + if (!nodeEquals(n1.getScope(), n2.getScope())) { + return false; + } + + if (!objEquals(n1.getField(), n2.getField())) { + return false; + } + + if (!nodesEquals(n1.getTypeArgs(), n2.getTypeArgs())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final InstanceOfExpr n1, final Node arg) { + final InstanceOfExpr n2 = (InstanceOfExpr) arg; + + if (!nodeEquals(n1.getExpr(), n2.getExpr())) { + return false; + } + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final StringLiteralExpr n1, final Node arg) { + final StringLiteralExpr n2 = (StringLiteralExpr) arg; + + if (!objEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final IntegerLiteralExpr n1, final Node arg) { + final IntegerLiteralExpr n2 = (IntegerLiteralExpr) arg; + + if (!objEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final LongLiteralExpr n1, final Node arg) { + final LongLiteralExpr n2 = (LongLiteralExpr) arg; + + if (!objEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final IntegerLiteralMinValueExpr n1, final Node arg) { + final IntegerLiteralMinValueExpr n2 = (IntegerLiteralMinValueExpr) arg; + + if (!objEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final LongLiteralMinValueExpr n1, final Node arg) { + final LongLiteralMinValueExpr n2 = (LongLiteralMinValueExpr) arg; + + if (!objEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final CharLiteralExpr n1, final Node arg) { + final CharLiteralExpr n2 = (CharLiteralExpr) arg; + + if (!objEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final DoubleLiteralExpr n1, final Node arg) { + final DoubleLiteralExpr n2 = (DoubleLiteralExpr) arg; + + if (!objEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final BooleanLiteralExpr n1, final Node arg) { + final BooleanLiteralExpr n2 = (BooleanLiteralExpr) arg; + + if (n1.getValue() != n2.getValue()) { + return false; + } + + return true; + } + + @Override public Boolean visit(final NullLiteralExpr n1, final Node arg) { + return true; + } + + @Override public Boolean visit(final MethodCallExpr n1, final Node arg) { + final MethodCallExpr n2 = (MethodCallExpr) arg; + + if (!nodeEquals(n1.getScope(), n2.getScope())) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getArgs(), n2.getArgs())) { + return false; + } + + if (!nodesEquals(n1.getTypeArgs(), n2.getTypeArgs())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final NameExpr n1, final Node arg) { + final NameExpr n2 = (NameExpr) arg; + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ObjectCreationExpr n1, final Node arg) { + final ObjectCreationExpr n2 = (ObjectCreationExpr) arg; + + if (!nodeEquals(n1.getScope(), n2.getScope())) { + return false; + } + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + if (!nodesEquals(n1.getAnonymousClassBody(), n2.getAnonymousClassBody())) { + return false; + } + + if (!nodesEquals(n1.getArgs(), n2.getArgs())) { + return false; + } + + if (!nodesEquals(n1.getTypeArgs(), n2.getTypeArgs())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final QualifiedNameExpr n1, final Node arg) { + final QualifiedNameExpr n2 = (QualifiedNameExpr) arg; + + if (!nodeEquals(n1.getQualifier(), n2.getQualifier())) { + return false; + } + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ThisExpr n1, final Node arg) { + final ThisExpr n2 = (ThisExpr) arg; + + if (!nodeEquals(n1.getClassExpr(), n2.getClassExpr())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final SuperExpr n1, final Node arg) { + final SuperExpr n2 = (SuperExpr) arg; + + if (!nodeEquals(n1.getClassExpr(), n2.getClassExpr())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final UnaryExpr n1, final Node arg) { + final UnaryExpr n2 = (UnaryExpr) arg; + + if (n1.getOperator() != n2.getOperator()) { + return false; + } + + if (!nodeEquals(n1.getExpr(), n2.getExpr())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final VariableDeclarationExpr n1, final Node arg) { + final VariableDeclarationExpr n2 = (VariableDeclarationExpr) arg; + + if (!n1.getModifiers().equals(n2.getModifiers())) { + return false; + } + + if (!nodesEquals(n1.getAnnotations(), n2.getAnnotations())) { + return false; + } + + if (!nodeEquals(n1.getType(), n2.getType())) { + return false; + } + + if (!nodesEquals(n1.getVars(), n2.getVars())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final MarkerAnnotationExpr n1, final Node arg) { + final MarkerAnnotationExpr n2 = (MarkerAnnotationExpr) arg; + + if (!nodeEquals(n1.getName(), n2.getName())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final SingleMemberAnnotationExpr n1, final Node arg) { + final SingleMemberAnnotationExpr n2 = (SingleMemberAnnotationExpr) arg; + + if (!nodeEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodeEquals(n1.getMemberValue(), n2.getMemberValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final NormalAnnotationExpr n1, final Node arg) { + final NormalAnnotationExpr n2 = (NormalAnnotationExpr) arg; + + if (!nodeEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodesEquals(n1.getPairs(), n2.getPairs())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final MemberValuePair n1, final Node arg) { + final MemberValuePair n2 = (MemberValuePair) arg; + + if (!objEquals(n1.getName(), n2.getName())) { + return false; + } + + if (!nodeEquals(n1.getValue(), n2.getValue())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ExplicitConstructorInvocationStmt n1, final Node arg) { + final ExplicitConstructorInvocationStmt n2 = (ExplicitConstructorInvocationStmt) arg; + + if (!nodeEquals(n1.getExpr(), n2.getExpr())) { + return false; + } + + if (!nodesEquals(n1.getArgs(), n2.getArgs())) { + return false; + } + + if (!nodesEquals(n1.getTypeArgs(), n2.getTypeArgs())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final TypeDeclarationStmt n1, final Node arg) { + final TypeDeclarationStmt n2 = (TypeDeclarationStmt) arg; + + if (!nodeEquals(n1.getTypeDeclaration(), n2.getTypeDeclaration())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final AssertStmt n1, final Node arg) { + final AssertStmt n2 = (AssertStmt) arg; + + if (!nodeEquals(n1.getCheck(), n2.getCheck())) { + return false; + } + + if (!nodeEquals(n1.getMessage(), n2.getMessage())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final BlockStmt n1, final Node arg) { + final BlockStmt n2 = (BlockStmt) arg; + + if (!nodesEquals(n1.getStmts(), n2.getStmts())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final LabeledStmt n1, final Node arg) { + final LabeledStmt n2 = (LabeledStmt) arg; + + if (!nodeEquals(n1.getStmt(), n2.getStmt())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final EmptyStmt n1, final Node arg) { + return true; + } + + @Override public Boolean visit(final ExpressionStmt n1, final Node arg) { + final ExpressionStmt n2 = (ExpressionStmt) arg; + + if (!nodeEquals(n1.getExpression(), n2.getExpression())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final SwitchStmt n1, final Node arg) { + final SwitchStmt n2 = (SwitchStmt) arg; + + if (!nodeEquals(n1.getSelector(), n2.getSelector())) { + return false; + } + + if (!nodesEquals(n1.getEntries(), n2.getEntries())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final SwitchEntryStmt n1, final Node arg) { + final SwitchEntryStmt n2 = (SwitchEntryStmt) arg; + + if (!nodeEquals(n1.getLabel(), n2.getLabel())) { + return false; + } + + if (!nodesEquals(n1.getStmts(), n2.getStmts())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final BreakStmt n1, final Node arg) { + final BreakStmt n2 = (BreakStmt) arg; + + if (!objEquals(n1.getId(), n2.getId())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ReturnStmt n1, final Node arg) { + final ReturnStmt n2 = (ReturnStmt) arg; + + if (!nodeEquals(n1.getExpr(), n2.getExpr())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final IfStmt n1, final Node arg) { + final IfStmt n2 = (IfStmt) arg; + + if (!nodeEquals(n1.getCondition(), n2.getCondition())) { + return false; + } + + if (!nodeEquals(n1.getThenStmt(), n2.getThenStmt())) { + return false; + } + + if (!nodeEquals(n1.getElseStmt(), n2.getElseStmt())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final WhileStmt n1, final Node arg) { + final WhileStmt n2 = (WhileStmt) arg; + + if (!nodeEquals(n1.getCondition(), n2.getCondition())) { + return false; + } + + if (!nodeEquals(n1.getBody(), n2.getBody())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ContinueStmt n1, final Node arg) { + final ContinueStmt n2 = (ContinueStmt) arg; + + if (!objEquals(n1.getId(), n2.getId())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final DoStmt n1, final Node arg) { + final DoStmt n2 = (DoStmt) arg; + + if (!nodeEquals(n1.getBody(), n2.getBody())) { + return false; + } + + if (!nodeEquals(n1.getCondition(), n2.getCondition())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ForeachStmt n1, final Node arg) { + final ForeachStmt n2 = (ForeachStmt) arg; + + if (!nodeEquals(n1.getVariable(), n2.getVariable())) { + return false; + } + + if (!nodeEquals(n1.getIterable(), n2.getIterable())) { + return false; + } + + if (!nodeEquals(n1.getBody(), n2.getBody())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ForStmt n1, final Node arg) { + final ForStmt n2 = (ForStmt) arg; + + if (!nodesEquals(n1.getInit(), n2.getInit())) { + return false; + } + + if (!nodeEquals(n1.getCompare(), n2.getCompare())) { + return false; + } + + if (!nodesEquals(n1.getUpdate(), n2.getUpdate())) { + return false; + } + + if (!nodeEquals(n1.getBody(), n2.getBody())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final ThrowStmt n1, final Node arg) { + final ThrowStmt n2 = (ThrowStmt) arg; + + if (!nodeEquals(n1.getExpr(), n2.getExpr())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final SynchronizedStmt n1, final Node arg) { + final SynchronizedStmt n2 = (SynchronizedStmt) arg; + + if (!nodeEquals(n1.getExpr(), n2.getExpr())) { + return false; + } + + if (!nodeEquals(n1.getBlock(), n2.getBlock())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final TryStmt n1, final Node arg) { + final TryStmt n2 = (TryStmt) arg; + + if (!nodeEquals(n1.getTryBlock(), n2.getTryBlock())) { + return false; + } + + if (!nodesEquals(n1.getCatchs(), n2.getCatchs())) { + return false; + } + + if (!nodeEquals(n1.getFinallyBlock(), n2.getFinallyBlock())) { + return false; + } + + return true; + } + + @Override public Boolean visit(final CatchClause n1, final Node arg) { + final CatchClause n2 = (CatchClause) arg; + + if (!nodeEquals(n1.getParam(), n2.getParam())) { + return false; + } + + if (!nodeEquals(n1.getCatchBlock(), n2.getCatchBlock())) { + return false; + } + + return true; + } + + @Override + public Boolean visit(LambdaExpr n1, Node arg) { + LambdaExpr n2 = (LambdaExpr) arg; + if (!nodesEquals(n1.getParameters(), n2.getParameters())) { + return false; + } + if(n1.isParametersEnclosed() != n2.isParametersEnclosed()){ + return false; + } + if (!nodeEquals(n1.getBody(), n2.getBody())) { + return false; + } + return true; + } + + @Override + public Boolean visit(MethodReferenceExpr n1, Node arg) { + MethodReferenceExpr n2 = (MethodReferenceExpr) arg; + if (!nodeEquals(n1.getScope(), n2.getScope())) { + return false; + } + if (!nodesEquals(n1.getTypeArguments().getTypeArguments(), n2.getTypeArguments().getTypeArguments())) { + return false; + } + if (!objEquals(n1.getIdentifier(), n2.getIdentifier())) { + return false; + } + return true; + } + + @Override + public Boolean visit(TypeExpr n, Node arg) { + TypeExpr n2 = (TypeExpr) arg; + if (!nodeEquals(n.getType(), n2.getType())) { + return false; + } + return true; + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitor.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitor.java new file mode 100644 index 00000000..562521ec --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitor.java @@ -0,0 +1,258 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.expr.*; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.*; + +/** + * A visitor that has a return value. + * + * @author Julio Vilmar Gesser + */ +public interface GenericVisitor { + + //- Compilation Unit ---------------------------------- + + R visit(CompilationUnit n, A arg); + + R visit(PackageDeclaration n, A arg); + + R visit(ImportDeclaration n, A arg); + + R visit(TypeParameter n, A arg); + + R visit(LineComment n, A arg); + + R visit(BlockComment n, A arg); + + //- Body ---------------------------------------------- + + R visit(ClassOrInterfaceDeclaration n, A arg); + + R visit(EnumDeclaration n, A arg); + + R visit(EmptyTypeDeclaration n, A arg); + + R visit(EnumConstantDeclaration n, A arg); + + R visit(AnnotationDeclaration n, A arg); + + R visit(AnnotationMemberDeclaration n, A arg); + + R visit(FieldDeclaration n, A arg); + + R visit(VariableDeclarator n, A arg); + + R visit(VariableDeclaratorId n, A arg); + + R visit(ConstructorDeclaration n, A arg); + + R visit(MethodDeclaration n, A arg); + + R visit(Parameter n, A arg); + + R visit(MultiTypeParameter n, A arg); + + R visit(EmptyMemberDeclaration n, A arg); + + R visit(InitializerDeclaration n, A arg); + + R visit(JavadocComment n, A arg); + + //- Type ---------------------------------------------- + + R visit(ClassOrInterfaceType n, A arg); + + R visit(PrimitiveType n, A arg); + + R visit(ReferenceType n, A arg); + + R visit(IntersectionType n, A arg); + + R visit(UnionType n, A arg); + + R visit(VoidType n, A arg); + + R visit(WildcardType n, A arg); + + R visit(UnknownType n, A arg); + + //- Expression ---------------------------------------- + + R visit(ArrayAccessExpr n, A arg); + + R visit(ArrayCreationExpr n, A arg); + + R visit(ArrayInitializerExpr n, A arg); + + R visit(AssignExpr n, A arg); + + R visit(BinaryExpr n, A arg); + + R visit(CastExpr n, A arg); + + R visit(ClassExpr n, A arg); + + R visit(ConditionalExpr n, A arg); + + R visit(EnclosedExpr n, A arg); + + R visit(FieldAccessExpr n, A arg); + + R visit(InstanceOfExpr n, A arg); + + R visit(StringLiteralExpr n, A arg); + + R visit(IntegerLiteralExpr n, A arg); + + R visit(LongLiteralExpr n, A arg); + + R visit(IntegerLiteralMinValueExpr n, A arg); + + R visit(LongLiteralMinValueExpr n, A arg); + + R visit(CharLiteralExpr n, A arg); + + R visit(DoubleLiteralExpr n, A arg); + + R visit(BooleanLiteralExpr n, A arg); + + R visit(NullLiteralExpr n, A arg); + + R visit(MethodCallExpr n, A arg); + + R visit(NameExpr n, A arg); + + R visit(ObjectCreationExpr n, A arg); + + R visit(QualifiedNameExpr n, A arg); + + R visit(ThisExpr n, A arg); + + R visit(SuperExpr n, A arg); + + R visit(UnaryExpr n, A arg); + + R visit(VariableDeclarationExpr n, A arg); + + R visit(MarkerAnnotationExpr n, A arg); + + R visit(SingleMemberAnnotationExpr n, A arg); + + R visit(NormalAnnotationExpr n, A arg); + + R visit(MemberValuePair n, A arg); + + //- Statements ---------------------------------------- + + R visit(ExplicitConstructorInvocationStmt n, A arg); + + R visit(TypeDeclarationStmt n, A arg); + + R visit(AssertStmt n, A arg); + + R visit(BlockStmt n, A arg); + + R visit(LabeledStmt n, A arg); + + R visit(EmptyStmt n, A arg); + + R visit(ExpressionStmt n, A arg); + + R visit(SwitchStmt n, A arg); + + R visit(SwitchEntryStmt n, A arg); + + R visit(BreakStmt n, A arg); + + R visit(ReturnStmt n, A arg); + + R visit(IfStmt n, A arg); + + R visit(WhileStmt n, A arg); + + R visit(ContinueStmt n, A arg); + + R visit(DoStmt n, A arg); + + R visit(ForeachStmt n, A arg); + + R visit(ForStmt n, A arg); + + R visit(ThrowStmt n, A arg); + + R visit(SynchronizedStmt n, A arg); + + R visit(TryStmt n, A arg); + + R visit(CatchClause n, A arg); + + R visit(LambdaExpr n, A arg); + + R visit(MethodReferenceExpr n, A arg); + + R visit(TypeExpr n, A arg); +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitorAdapter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitorAdapter.java new file mode 100644 index 00000000..2fef38fb --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/GenericVisitorAdapter.java @@ -0,0 +1,1680 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.ArrayAccessExpr; +import com.github.javaparser.ast.expr.ArrayCreationExpr; +import com.github.javaparser.ast.expr.ArrayInitializerExpr; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.BinaryExpr; +import com.github.javaparser.ast.expr.BooleanLiteralExpr; +import com.github.javaparser.ast.expr.CastExpr; +import com.github.javaparser.ast.expr.CharLiteralExpr; +import com.github.javaparser.ast.expr.ClassExpr; +import com.github.javaparser.ast.expr.ConditionalExpr; +import com.github.javaparser.ast.expr.DoubleLiteralExpr; +import com.github.javaparser.ast.expr.EnclosedExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.FieldAccessExpr; +import com.github.javaparser.ast.expr.InstanceOfExpr; +import com.github.javaparser.ast.expr.IntegerLiteralExpr; +import com.github.javaparser.ast.expr.IntegerLiteralMinValueExpr; +import com.github.javaparser.ast.expr.LambdaExpr; +import com.github.javaparser.ast.expr.LongLiteralExpr; +import com.github.javaparser.ast.expr.LongLiteralMinValueExpr; +import com.github.javaparser.ast.expr.MarkerAnnotationExpr; +import com.github.javaparser.ast.expr.MemberValuePair; +import com.github.javaparser.ast.expr.MethodCallExpr; +import com.github.javaparser.ast.expr.MethodReferenceExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.expr.NormalAnnotationExpr; +import com.github.javaparser.ast.expr.NullLiteralExpr; +import com.github.javaparser.ast.expr.ObjectCreationExpr; +import com.github.javaparser.ast.expr.QualifiedNameExpr; +import com.github.javaparser.ast.expr.SingleMemberAnnotationExpr; +import com.github.javaparser.ast.expr.StringLiteralExpr; +import com.github.javaparser.ast.expr.SuperExpr; +import com.github.javaparser.ast.expr.ThisExpr; +import com.github.javaparser.ast.expr.TypeExpr; +import com.github.javaparser.ast.expr.UnaryExpr; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.Statement; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.IntersectionType; +import com.github.javaparser.ast.type.PrimitiveType; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.type.UnionType; +import com.github.javaparser.ast.type.UnknownType; +import com.github.javaparser.ast.type.VoidType; +import com.github.javaparser.ast.type.WildcardType; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class GenericVisitorAdapter implements GenericVisitor { + + @Override + public R visit(final AnnotationDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getMembers() != null) { + for (final BodyDeclaration member : n.getMembers()) { + { + R result = member.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final AnnotationMemberDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getDefaultValue() != null) { + { + R result = n.getDefaultValue().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final ArrayAccessExpr n, final A arg) { + { + R result = n.getName().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getIndex().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ArrayCreationExpr n, final A arg) { + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getDimensions() != null) { + for (final Expression dim : n.getDimensions()) { + { + R result = dim.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getInitializer() != null) { + R result = n.getInitializer().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ArrayInitializerExpr n, final A arg) { + if (n.getValues() != null) { + for (final Expression expr : n.getValues()) { + { + R result = expr.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final AssertStmt n, final A arg) { + { + R result = n.getCheck().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getMessage() != null) { + { + R result = n.getMessage().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final AssignExpr n, final A arg) { + { + R result = n.getTarget().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getValue().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final BinaryExpr n, final A arg) { + { + R result = n.getLeft().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getRight().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final BlockStmt n, final A arg) { + if (n.getStmts() != null) { + for (final Statement s : n.getStmts()) { + { + R result = s.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + + } + + @Override + public R visit(final BooleanLiteralExpr n, final A arg) { + return null; + } + + @Override + public R visit(final BreakStmt n, final A arg) { + return null; + } + + @Override + public R visit(final CastExpr n, final A arg) { + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getExpr().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final CatchClause n, final A arg) { + { + R result = n.getParam().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getCatchBlock().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + + } + + @Override + public R visit(final CharLiteralExpr n, final A arg) { + return null; + } + + @Override + public R visit(final ClassExpr n, final A arg) { + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ClassOrInterfaceDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getTypeParameters() != null) { + for (final TypeParameter t : n.getTypeParameters()) { + { + R result = t.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getExtends() != null) { + for (final ClassOrInterfaceType c : n.getExtends()) { + { + R result = c.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + + if (n.getImplements() != null) { + for (final ClassOrInterfaceType c : n.getImplements()) { + { + R result = c.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getMembers() != null) { + for (final BodyDeclaration member : n.getMembers()) { + { + R result = member.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final ClassOrInterfaceType n, final A arg) { + if (n.getScope() != null) { + { + R result = n.getScope().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + { + R result = t.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final CompilationUnit n, final A arg) { + if (n.getPackage() != null) { + { + R result = n.getPackage().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getImports() != null) { + for (final ImportDeclaration i : n.getImports()) { + { + R result = i.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getTypes() != null) { + for (final TypeDeclaration typeDeclaration : n.getTypes()) { + { + R result = typeDeclaration.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final ConditionalExpr n, final A arg) { + { + R result = n.getCondition().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getThenExpr().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getElseExpr().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ConstructorDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getTypeParameters() != null) { + for (final TypeParameter t : n.getTypeParameters()) { + { + R result = t.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getParameters() != null) { + for (final Parameter p : n.getParameters()) { + { + R result = p.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getThrows() != null) { + for (final ReferenceType name : n.getThrows()) { + { + R result = name.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getBody().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ContinueStmt n, final A arg) { + return null; + } + + @Override + public R visit(final DoStmt n, final A arg) { + { + R result = n.getBody().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getCondition().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final DoubleLiteralExpr n, final A arg) { + return null; + } + + @Override + public R visit(final EmptyMemberDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final EmptyStmt n, final A arg) { + return null; + } + + @Override + public R visit(final EmptyTypeDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final EnclosedExpr n, final A arg) { + { + R result = n.getInner().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final EnumConstantDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getClassBody() != null) { + for (final BodyDeclaration member : n.getClassBody()) { + { + R result = member.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final EnumDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getImplements() != null) { + for (final ClassOrInterfaceType c : n.getImplements()) { + { + R result = c.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getEntries() != null) { + for (final EnumConstantDeclaration e : n.getEntries()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getMembers() != null) { + for (final BodyDeclaration member : n.getMembers()) { + { + R result = member.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final ExplicitConstructorInvocationStmt n, final A arg) { + if (!n.isThis() && n.getExpr() != null) { + { + R result = n.getExpr().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + { + R result = t.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final ExpressionStmt n, final A arg) { + { + R result = n.getExpression().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final FieldAccessExpr n, final A arg) { + { + R result = n.getScope().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final FieldDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + for (final VariableDeclarator var : n.getVariables()) { + { + R result = var.accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final ForeachStmt n, final A arg) { + { + R result = n.getVariable().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getIterable().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getBody().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ForStmt n, final A arg) { + if (n.getInit() != null) { + for (final Expression e : n.getInit()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getCompare() != null) { + { + R result = n.getCompare().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getUpdate() != null) { + for (final Expression e : n.getUpdate()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getBody().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final IfStmt n, final A arg) { + { + R result = n.getCondition().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getThenStmt().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getElseStmt() != null) { + { + R result = n.getElseStmt().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final ImportDeclaration n, final A arg) { + { + R result = n.getName().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final InitializerDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + { + R result = n.getBlock().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final InstanceOfExpr n, final A arg) { + { + R result = n.getExpr().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final IntegerLiteralExpr n, final A arg) { + return null; + } + + @Override + public R visit(final IntegerLiteralMinValueExpr n, final A arg) { + return null; + } + + @Override + public R visit(final JavadocComment n, final A arg) { + return null; + } + + @Override + public R visit(final LabeledStmt n, final A arg) { + { + R result = n.getStmt().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final LongLiteralExpr n, final A arg) { + return null; + } + + @Override + public R visit(final LongLiteralMinValueExpr n, final A arg) { + return null; + } + + @Override + public R visit(final MarkerAnnotationExpr n, final A arg) { + { + R result = n.getName().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final MemberValuePair n, final A arg) { + { + R result = n.getValue().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final MethodCallExpr n, final A arg) { + if (n.getScope() != null) { + { + R result = n.getScope().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + { + R result = t.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final MethodDeclaration n, final A arg) { + if (n.getJavaDoc() != null) { + { + R result = n.getJavaDoc().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getTypeParameters() != null) { + for (final TypeParameter t : n.getTypeParameters()) { + { + R result = t.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getParameters() != null) { + for (final Parameter p : n.getParameters()) { + { + R result = p.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getThrows() != null) { + for (final ReferenceType name : n.getThrows()) { + { + R result = name.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getBody() != null) { + { + R result = n.getBody().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final NameExpr n, final A arg) { + return null; + } + + @Override + public R visit(final NormalAnnotationExpr n, final A arg) { + { + R result = n.getName().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getPairs() != null) { + for (final MemberValuePair m : n.getPairs()) { + { + R result = m.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final NullLiteralExpr n, final A arg) { + return null; + } + + @Override + public R visit(final ObjectCreationExpr n, final A arg) { + if (n.getScope() != null) { + { + R result = n.getScope().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + { + R result = t.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getAnonymousClassBody() != null) { + for (final BodyDeclaration member : n.getAnonymousClassBody()) { + { + R result = member.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final PackageDeclaration n, final A arg) { + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getName().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final Parameter n, final A arg) { + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getId().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final MultiTypeParameter n, final A arg) { + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + if (n.getType() != null) { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + } + { + R result = n.getId().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final PrimitiveType n, final A arg) { + return null; + } + + @Override + public R visit(final QualifiedNameExpr n, final A arg) { + { + R result = n.getQualifier().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ReferenceType n, final A arg) { + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final IntersectionType n, final A arg) { + { + for (ReferenceType element : n.getElements()) { + R result = element.accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final UnionType n, final A arg) { + { + for (ReferenceType element : n.getElements()) { + R result = element.accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final ReturnStmt n, final A arg) { + if (n.getExpr() != null) { + { + R result = n.getExpr().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final SingleMemberAnnotationExpr n, final A arg) { + { + R result = n.getName().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getMemberValue().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final StringLiteralExpr n, final A arg) { + return null; + } + + @Override + public R visit(final SuperExpr n, final A arg) { + if (n.getClassExpr() != null) { + { + R result = n.getClassExpr().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final SwitchEntryStmt n, final A arg) { + if (n.getLabel() != null) { + { + R result = n.getLabel().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getStmts() != null) { + for (final Statement s : n.getStmts()) { + { + R result = s.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final SwitchStmt n, final A arg) { + { + R result = n.getSelector().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getEntries() != null) { + for (final SwitchEntryStmt e : n.getEntries()) { + { + R result = e.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + + } + + @Override + public R visit(final SynchronizedStmt n, final A arg) { + { + if (n.getExpr() != null) { + R result = n.getExpr().accept(this, arg); + if (result != null) { + return result; + } + } + } + { + R result = n.getBlock().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final ThisExpr n, final A arg) { + if (n.getClassExpr() != null) { + { + R result = n.getClassExpr().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final ThrowStmt n, final A arg) { + { + R result = n.getExpr().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final TryStmt n, final A arg) { + if (n.getResources() != null) { + for (final VariableDeclarationExpr v : n.getResources()) { + { + R result = v.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getTryBlock().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getCatchs() != null) { + for (final CatchClause c : n.getCatchs()) { + { + R result = c.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + if (n.getFinallyBlock() != null) { + { + R result = n.getFinallyBlock().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final TypeDeclarationStmt n, final A arg) { + { + R result = n.getTypeDeclaration().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final TypeParameter n, final A arg) { + if (n.getTypeBound() != null) { + for (final ClassOrInterfaceType c : n.getTypeBound()) { + { + R result = c.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + return null; + } + + @Override + public R visit(final UnaryExpr n, final A arg) { + { + R result = n.getExpr().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final UnknownType n, final A arg) { + return null; + } + + @Override + public R visit(final VariableDeclarationExpr n, final A arg) { + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + { + R result = a.accept(this, arg); + if (result != null) { + return result; + } + } + } + } + { + R result = n.getType().accept(this, arg); + if (result != null) { + return result; + } + } + for (final VariableDeclarator v : n.getVars()) { + { + R result = v.accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final VariableDeclarator n, final A arg) { + { + R result = n.getId().accept(this, arg); + if (result != null) { + return result; + } + } + if (n.getInit() != null) { + { + R result = n.getInit().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(final VariableDeclaratorId n, final A arg) { + return null; + } + + @Override + public R visit(final VoidType n, final A arg) { + return null; + } + + @Override + public R visit(final WhileStmt n, final A arg) { + { + R result = n.getCondition().accept(this, arg); + if (result != null) { + return result; + } + } + { + R result = n.getBody().accept(this, arg); + if (result != null) { + return result; + } + } + return null; + } + + @Override + public R visit(final WildcardType n, final A arg) { + if (n.getExtends() != null) { + { + R result = n.getExtends().accept(this, arg); + if (result != null) { + return result; + } + } + } + if (n.getSuper() != null) { + { + R result = n.getSuper().accept(this, arg); + if (result != null) { + return result; + } + } + } + return null; + } + + @Override + public R visit(LambdaExpr n, A arg) { + return null; + } + + @Override + public R visit(MethodReferenceExpr n, A arg){ + return null; + } + + @Override + public R visit(TypeExpr n, A arg){ + return null; + } + + @Override + public R visit(final BlockComment n, final A arg) { + return null; + } + + @Override + public R visit(final LineComment n, final A arg) { + return null; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/ModifierVisitorAdapter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/ModifierVisitorAdapter.java new file mode 100644 index 00000000..398e763d --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/ModifierVisitorAdapter.java @@ -0,0 +1,1042 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import java.util.List; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.BaseParameter; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.ArrayAccessExpr; +import com.github.javaparser.ast.expr.ArrayCreationExpr; +import com.github.javaparser.ast.expr.ArrayInitializerExpr; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.BinaryExpr; +import com.github.javaparser.ast.expr.BooleanLiteralExpr; +import com.github.javaparser.ast.expr.CastExpr; +import com.github.javaparser.ast.expr.CharLiteralExpr; +import com.github.javaparser.ast.expr.ClassExpr; +import com.github.javaparser.ast.expr.ConditionalExpr; +import com.github.javaparser.ast.expr.DoubleLiteralExpr; +import com.github.javaparser.ast.expr.EnclosedExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.FieldAccessExpr; +import com.github.javaparser.ast.expr.InstanceOfExpr; +import com.github.javaparser.ast.expr.IntegerLiteralExpr; +import com.github.javaparser.ast.expr.IntegerLiteralMinValueExpr; +import com.github.javaparser.ast.expr.LambdaExpr; +import com.github.javaparser.ast.expr.LongLiteralExpr; +import com.github.javaparser.ast.expr.LongLiteralMinValueExpr; +import com.github.javaparser.ast.expr.MarkerAnnotationExpr; +import com.github.javaparser.ast.expr.MemberValuePair; +import com.github.javaparser.ast.expr.MethodCallExpr; +import com.github.javaparser.ast.expr.MethodReferenceExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.expr.NormalAnnotationExpr; +import com.github.javaparser.ast.expr.NullLiteralExpr; +import com.github.javaparser.ast.expr.ObjectCreationExpr; +import com.github.javaparser.ast.expr.QualifiedNameExpr; +import com.github.javaparser.ast.expr.SingleMemberAnnotationExpr; +import com.github.javaparser.ast.expr.StringLiteralExpr; +import com.github.javaparser.ast.expr.SuperExpr; +import com.github.javaparser.ast.expr.ThisExpr; +import com.github.javaparser.ast.expr.TypeExpr; +import com.github.javaparser.ast.expr.UnaryExpr; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.Statement; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.IntersectionType; +import com.github.javaparser.ast.type.PrimitiveType; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.type.UnionType; +import com.github.javaparser.ast.type.UnknownType; +import com.github.javaparser.ast.type.VoidType; +import com.github.javaparser.ast.type.WildcardType; + +/** + * This visitor adapter can be used to save time when some specific nodes needs + * to be changed. To do that just extend this class and override the methods + * from the nodes who needs to be changed, returning the changed node. + * + * @author Julio Vilmar Gesser + */ +public abstract class ModifierVisitorAdapter implements GenericVisitor { + + private void removeNulls(final List list) { + for (int i = list.size() - 1; i >= 0; i--) { + if (list.get(i) == null) { + list.remove(i); + } + } + } + + @Override public Node visit(final AnnotationDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + final List> members = n.getMembers(); + if (members != null) { + for (int i = 0; i < members.size(); i++) { + members.set(i, (BodyDeclaration) members.get(i).accept(this, arg)); + } + removeNulls(members); + } + return n; + } + + @Override public Node visit(final AnnotationMemberDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + n.setType((Type) n.getType().accept(this, arg)); + if (n.getDefaultValue() != null) { + n.setDefaultValue((Expression) n.getDefaultValue().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final ArrayAccessExpr n, final A arg) { + n.setName((Expression) n.getName().accept(this, arg)); + n.setIndex((Expression) n.getIndex().accept(this, arg)); + return n; + } + + @Override public Node visit(final ArrayCreationExpr n, final A arg) { + n.setType((Type) n.getType().accept(this, arg)); + if (n.getDimensions() != null) { + final List dimensions = n.getDimensions(); + if (dimensions != null) { + for (int i = 0; i < dimensions.size(); i++) { + dimensions.set(i, (Expression) dimensions.get(i).accept(this, arg)); + } + removeNulls(dimensions); + } + } + if (n.getInitializer() != null) { + n.setInitializer((ArrayInitializerExpr) n.getInitializer().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final ArrayInitializerExpr n, final A arg) { + if (n.getValues() != null) { + final List values = n.getValues(); + if (values != null) { + for (int i = 0; i < values.size(); i++) { + values.set(i, (Expression) values.get(i).accept(this, arg)); + } + removeNulls(values); + } + } + return n; + } + + @Override public Node visit(final AssertStmt n, final A arg) { + n.setCheck((Expression) n.getCheck().accept(this, arg)); + if (n.getMessage() != null) { + n.setMessage((Expression) n.getMessage().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final AssignExpr n, final A arg) { + final Expression target = (Expression) n.getTarget().accept(this, arg); + if (target == null) { + return null; + } + n.setTarget(target); + + final Expression value = (Expression) n.getValue().accept(this, arg); + if (value == null) { + return null; + } + n.setValue(value); + + return n; + } + + @Override public Node visit(final BinaryExpr n, final A arg) { + final Expression left = (Expression) n.getLeft().accept(this, arg); + final Expression right = (Expression) n.getRight().accept(this, arg); + if (left == null) { + return right; + } + if (right == null) { + return left; + } + n.setLeft(left); + n.setRight(right); + return n; + } + + @Override public Node visit(final BlockStmt n, final A arg) { + final List stmts = n.getStmts(); + if (stmts != null) { + for (int i = 0; i < stmts.size(); i++) { + stmts.set(i, (Statement) stmts.get(i).accept(this, arg)); + } + removeNulls(stmts); + } + return n; + } + + @Override public Node visit(final BooleanLiteralExpr n, final A arg) { + return n; + } + + @Override public Node visit(final BreakStmt n, final A arg) { + return n; + } + + @Override public Node visit(final CastExpr n, final A arg) { + final Type type = (Type) n.getType().accept(this, arg); + final Expression expr = (Expression) n.getExpr().accept(this, arg); + if (type == null) { + return expr; + } + if (expr == null) { + return null; + } + n.setType(type); + n.setExpr(expr); + return n; + } + + @Override public Node visit(final CatchClause n, final A arg) { + n.setParam((Parameter)n.getParam().accept(this, arg)); + n.setCatchBlock((BlockStmt) n.getCatchBlock().accept(this, arg)); + return n; + + } + + @Override public Node visit(final CharLiteralExpr n, final A arg) { + return n; + } + + @Override public Node visit(final ClassExpr n, final A arg) { + n.setType((Type) n.getType().accept(this, arg)); + return n; + } + + @Override public Node visit(final ClassOrInterfaceDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + final List typeParameters = n.getTypeParameters(); + if (typeParameters != null) { + for (int i = 0; i < typeParameters.size(); i++) { + typeParameters.set(i, (TypeParameter) typeParameters.get(i).accept(this, arg)); + } + removeNulls(typeParameters); + } + final List extendz = n.getExtends(); + if (extendz != null) { + for (int i = 0; i < extendz.size(); i++) { + extendz.set(i, (ClassOrInterfaceType) extendz.get(i).accept(this, arg)); + } + removeNulls(extendz); + } + final List implementz = n.getImplements(); + if (implementz != null) { + for (int i = 0; i < implementz.size(); i++) { + implementz.set(i, (ClassOrInterfaceType) implementz.get(i).accept(this, arg)); + } + removeNulls(implementz); + } + final List> members = n.getMembers(); + if (members != null) { + for (int i = 0; i < members.size(); i++) { + members.set(i, (BodyDeclaration) members.get(i).accept(this, arg)); + } + removeNulls(members); + } + return n; + } + + @Override public Node visit(final ClassOrInterfaceType n, final A arg) { + if (n.getScope() != null) { + n.setScope((ClassOrInterfaceType) n.getScope().accept(this, arg)); + } + final List typeArgs = n.getTypeArgs(); + if (typeArgs != null) { + for (int i = 0; i < typeArgs.size(); i++) { + typeArgs.set(i, (Type) typeArgs.get(i).accept(this, arg)); + } + removeNulls(typeArgs); + } + return n; + } + + @Override public Node visit(final CompilationUnit n, final A arg) { + if (n.getPackage() != null) { + n.setPackage((PackageDeclaration) n.getPackage().accept(this, arg)); + } + final List imports = n.getImports(); + if (imports != null) { + for (int i = 0; i < imports.size(); i++) { + imports.set(i, (ImportDeclaration) imports.get(i).accept(this, arg)); + } + removeNulls(imports); + } + final List> types = n.getTypes(); + if (types != null) { + for (int i = 0; i < types.size(); i++) { + types.set(i, (TypeDeclaration) types.get(i).accept(this, arg)); + } + removeNulls(types); + } + return n; + } + + @Override public Node visit(final ConditionalExpr n, final A arg) { + n.setCondition((Expression) n.getCondition().accept(this, arg)); + n.setThenExpr((Expression) n.getThenExpr().accept(this, arg)); + n.setElseExpr((Expression) n.getElseExpr().accept(this, arg)); + return n; + } + + @Override public Node visit(final ConstructorDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + final List typeParameters = n.getTypeParameters(); + if (typeParameters != null) { + for (int i = 0; i < typeParameters.size(); i++) { + typeParameters.set(i, (TypeParameter) typeParameters.get(i).accept(this, arg)); + } + removeNulls(typeParameters); + } + final List parameters = n.getParameters(); + if (parameters != null) { + for (int i = 0; i < parameters.size(); i++) { + parameters.set(i, (Parameter) parameters.get(i).accept(this, arg)); + } + removeNulls(parameters); + } + final List throwz = n.getThrows(); + if (throwz != null) { + for (int i = 0; i < throwz.size(); i++) { + throwz.set(i, (ReferenceType) throwz.get(i).accept(this, arg)); + } + removeNulls(throwz); + } + n.setBody((BlockStmt) n.getBody().accept(this, arg)); + return n; + } + + @Override public Node visit(final ContinueStmt n, final A arg) { + return n; + } + + @Override public Node visit(final DoStmt n, final A arg) { + final Statement body = (Statement) n.getBody().accept(this, arg); + if (body == null) { + return null; + } + n.setBody(body); + + final Expression condition = (Expression) n.getCondition().accept(this, arg); + if (condition == null) { + return null; + } + n.setCondition(condition); + + return n; + } + + @Override public Node visit(final DoubleLiteralExpr n, final A arg) { + return n; + } + + @Override public Node visit(final EmptyMemberDeclaration n, final A arg) { + return n; + } + + @Override public Node visit(final EmptyStmt n, final A arg) { + return n; + } + + @Override public Node visit(final EmptyTypeDeclaration n, final A arg) { + return n; + } + + @Override public Node visit(final EnclosedExpr n, final A arg) { + n.setInner((Expression) n.getInner().accept(this, arg)); + return n; + } + + @Override public Node visit(final EnumConstantDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + final List args = n.getArgs(); + if (args != null) { + for (int i = 0; i < args.size(); i++) { + args.set(i, (Expression) args.get(i).accept(this, arg)); + } + removeNulls(args); + } + final List> classBody = n.getClassBody(); + if (classBody != null) { + for (int i = 0; i < classBody.size(); i++) { + classBody.set(i, (BodyDeclaration) classBody.get(i).accept(this, arg)); + } + removeNulls(classBody); + } + return n; + } + + @Override public Node visit(final EnumDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + final List implementz = n.getImplements(); + if (implementz != null) { + for (int i = 0; i < implementz.size(); i++) { + implementz.set(i, (ClassOrInterfaceType) implementz.get(i).accept(this, arg)); + } + removeNulls(implementz); + } + final List entries = n.getEntries(); + if (entries != null) { + for (int i = 0; i < entries.size(); i++) { + entries.set(i, (EnumConstantDeclaration) entries.get(i).accept(this, arg)); + } + removeNulls(entries); + } + final List> members = n.getMembers(); + if (members != null) { + for (int i = 0; i < members.size(); i++) { + members.set(i, (BodyDeclaration) members.get(i).accept(this, arg)); + } + removeNulls(members); + } + return n; + } + + @Override public Node visit(final ExplicitConstructorInvocationStmt n, final A arg) { + if (!n.isThis() && n.getExpr() != null) { + n.setExpr((Expression) n.getExpr().accept(this, arg)); + } + final List typeArgs = n.getTypeArgs(); + if (typeArgs != null) { + for (int i = 0; i < typeArgs.size(); i++) { + typeArgs.set(i, (Type) typeArgs.get(i).accept(this, arg)); + } + removeNulls(typeArgs); + } + final List args = n.getArgs(); + if (args != null) { + for (int i = 0; i < args.size(); i++) { + args.set(i, (Expression) args.get(i).accept(this, arg)); + } + removeNulls(args); + } + return n; + } + + @Override public Node visit(final ExpressionStmt n, final A arg) { + final Expression expr = (Expression) n.getExpression().accept(this, arg); + if (expr == null) { + return null; + } + n.setExpression(expr); + return n; + } + + @Override public Node visit(final FieldAccessExpr n, final A arg) { + final Expression scope = (Expression) n.getScope().accept(this, arg); + if (scope == null) { + return null; + } + n.setScope(scope); + return n; + } + + @Override public Node visit(final FieldDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + n.setType((Type) n.getType().accept(this, arg)); + final List variables = n.getVariables(); + for (int i = 0; i < variables.size(); i++) { + variables.set(i, (VariableDeclarator) variables.get(i).accept(this, arg)); + } + removeNulls(variables); + return n; + } + + @Override public Node visit(final ForeachStmt n, final A arg) { + n.setVariable((VariableDeclarationExpr) n.getVariable().accept(this, arg)); + n.setIterable((Expression) n.getIterable().accept(this, arg)); + n.setBody((Statement) n.getBody().accept(this, arg)); + return n; + } + + @Override public Node visit(final ForStmt n, final A arg) { + final List init = n.getInit(); + if (init != null) { + for (int i = 0; i < init.size(); i++) { + init.set(i, (Expression) init.get(i).accept(this, arg)); + } + removeNulls(init); + } + if (n.getCompare() != null) { + n.setCompare((Expression) n.getCompare().accept(this, arg)); + } + final List update = n.getUpdate(); + if (update != null) { + for (int i = 0; i < update.size(); i++) { + update.set(i, (Expression) update.get(i).accept(this, arg)); + } + removeNulls(update); + } + n.setBody((Statement) n.getBody().accept(this, arg)); + return n; + } + + @Override public Node visit(final IfStmt n, final A arg) { + final Expression condition = (Expression) + n.getCondition().accept(this, arg); + if (condition == null) { + return null; + } + n.setCondition(condition); + final Statement thenStmt = (Statement) n.getThenStmt().accept(this, arg); + if (thenStmt == null) { + // Remove the entire statement if the then-clause was removed. + // DumpVisitor, used for toString, has no null check for the + // then-clause. + return null; + } + n.setThenStmt(thenStmt); + if (n.getElseStmt() != null) { + n.setElseStmt((Statement) n.getElseStmt().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final ImportDeclaration n, final A arg) { + n.setName((NameExpr) n.getName().accept(this, arg)); + return n; + } + + @Override public Node visit(final InitializerDeclaration n, final A arg) { + n.setBlock((BlockStmt) n.getBlock().accept(this, arg)); + return n; + } + + @Override public Node visit(final InstanceOfExpr n, final A arg) { + n.setExpr((Expression) n.getExpr().accept(this, arg)); + n.setType((Type) n.getType().accept(this, arg)); + return n; + } + + @Override public Node visit(final IntegerLiteralExpr n, final A arg) { + return n; + } + + @Override public Node visit(final IntegerLiteralMinValueExpr n, final A arg) { + return n; + } + + @Override public Node visit(final JavadocComment n, final A arg) { + return n; + } + + @Override public Node visit(final LabeledStmt n, final A arg) { + n.setStmt((Statement) n.getStmt().accept(this, arg)); + return n; + } + + @Override public Node visit(final LongLiteralExpr n, final A arg) { + return n; + } + + @Override public Node visit(final LongLiteralMinValueExpr n, final A arg) { + return n; + } + + @Override public Node visit(final MarkerAnnotationExpr n, final A arg) { + n.setName((NameExpr) n.getName().accept(this, arg)); + return n; + } + + @Override public Node visit(final MemberValuePair n, final A arg) { + n.setValue((Expression) n.getValue().accept(this, arg)); + return n; + } + + @Override public Node visit(final MethodCallExpr n, final A arg) { + if (n.getScope() != null) { + n.setScope((Expression) n.getScope().accept(this, arg)); + } + final List typeArgs = n.getTypeArgs(); + if (typeArgs != null) { + for (int i = 0; i < typeArgs.size(); i++) { + typeArgs.set(i, (Type) typeArgs.get(i).accept(this, arg)); + } + removeNulls(typeArgs); + } + final List args = n.getArgs(); + if (args != null) { + for (int i = 0; i < args.size(); i++) { + args.set(i, (Expression) args.get(i).accept(this, arg)); + } + removeNulls(args); + } + return n; + } + + @Override public Node visit(final MethodDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + final List typeParameters = n.getTypeParameters(); + if (typeParameters != null) { + for (int i = 0; i < typeParameters.size(); i++) { + typeParameters.set(i, (TypeParameter) typeParameters.get(i).accept(this, arg)); + } + removeNulls(typeParameters); + } + n.setType((Type) n.getType().accept(this, arg)); + final List parameters = n.getParameters(); + if (parameters != null) { + for (int i = 0; i < parameters.size(); i++) { + parameters.set(i, (Parameter) parameters.get(i).accept(this, arg)); + } + removeNulls(parameters); + } + final List throwz = n.getThrows(); + if (throwz != null) { + for (int i = 0; i < throwz.size(); i++) { + throwz.set(i, (ReferenceType) throwz.get(i).accept(this, arg)); + } + removeNulls(throwz); + } + if (n.getBody() != null) { + n.setBody((BlockStmt) n.getBody().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final NameExpr n, final A arg) { + return n; + } + + @Override public Node visit(final NormalAnnotationExpr n, final A arg) { + n.setName((NameExpr) n.getName().accept(this, arg)); + final List pairs = n.getPairs(); + if (pairs != null) { + for (int i = 0; i < pairs.size(); i++) { + pairs.set(i, (MemberValuePair) pairs.get(i).accept(this, arg)); + } + removeNulls(pairs); + } + return n; + } + + @Override public Node visit(final NullLiteralExpr n, final A arg) { + return n; + } + + @Override public Node visit(final ObjectCreationExpr n, final A arg) { + if (n.getScope() != null) { + n.setScope((Expression) n.getScope().accept(this, arg)); + } + final List typeArgs = n.getTypeArgs(); + if (typeArgs != null) { + for (int i = 0; i < typeArgs.size(); i++) { + typeArgs.set(i, (Type) typeArgs.get(i).accept(this, arg)); + } + removeNulls(typeArgs); + } + n.setType((ClassOrInterfaceType) n.getType().accept(this, arg)); + final List args = n.getArgs(); + if (args != null) { + for (int i = 0; i < args.size(); i++) { + args.set(i, (Expression) args.get(i).accept(this, arg)); + } + removeNulls(args); + } + final List> anonymousClassBody = n.getAnonymousClassBody(); + if (anonymousClassBody != null) { + for (int i = 0; i < anonymousClassBody.size(); i++) { + anonymousClassBody.set(i, (BodyDeclaration) anonymousClassBody.get(i).accept(this, arg)); + } + removeNulls(anonymousClassBody); + } + return n; + } + + @Override public Node visit(final PackageDeclaration n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + n.setName((NameExpr) n.getName().accept(this, arg)); + return n; + } + + @Override public Node visit(final Parameter n, final A arg) { + visit((BaseParameter) n, arg); + n.setType((Type) n.getType().accept(this, arg)); + return n; + } + + @Override public Node visit(MultiTypeParameter n, A arg) { + visit((BaseParameter) n, arg); + n.setType((UnionType)n.getType().accept(this, arg)); + return n; + } + + protected Node visit(final BaseParameter n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + + n.setId((VariableDeclaratorId) n.getId().accept(this, arg)); + return n; + } + + @Override public Node visit(final PrimitiveType n, final A arg) { + return n; + } + + @Override public Node visit(final QualifiedNameExpr n, final A arg) { + n.setQualifier((NameExpr) n.getQualifier().accept(this, arg)); + return n; + } + + @Override public Node visit(final ReferenceType n, final A arg) { + n.setType((Type) n.getType().accept(this, arg)); + return n; + } + + @Override + public Node visit(final IntersectionType n, final A arg) { + final List elements = n.getElements(); + if (elements != null) { + for (int i = 0; i < elements.size(); i++) { + elements.set(i, (ReferenceType) elements.get(i).accept(this, arg)); + } + removeNulls(elements); + } + return n; + } + + @Override + public Node visit(final UnionType n, final A arg) { + final List elements = n.getElements(); + if (elements != null) { + for (int i = 0; i < elements.size(); i++) { + elements.set(i, (ReferenceType) elements.get(i).accept(this, arg)); + } + removeNulls(elements); + } + return n; + } + + @Override public Node visit(final ReturnStmt n, final A arg) { + if (n.getExpr() != null) { + n.setExpr((Expression) n.getExpr().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final SingleMemberAnnotationExpr n, final A arg) { + n.setName((NameExpr) n.getName().accept(this, arg)); + n.setMemberValue((Expression) n.getMemberValue().accept(this, arg)); + return n; + } + + @Override public Node visit(final StringLiteralExpr n, final A arg) { + return n; + } + + @Override public Node visit(final SuperExpr n, final A arg) { + if (n.getClassExpr() != null) { + n.setClassExpr((Expression) n.getClassExpr().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final SwitchEntryStmt n, final A arg) { + if (n.getLabel() != null) { + n.setLabel((Expression) n.getLabel().accept(this, arg)); + } + final List stmts = n.getStmts(); + if (stmts != null) { + for (int i = 0; i < stmts.size(); i++) { + stmts.set(i, (Statement) stmts.get(i).accept(this, arg)); + } + removeNulls(stmts); + } + return n; + } + + @Override public Node visit(final SwitchStmt n, final A arg) { + n.setSelector((Expression) n.getSelector().accept(this, arg)); + final List entries = n.getEntries(); + if (entries != null) { + for (int i = 0; i < entries.size(); i++) { + entries.set(i, (SwitchEntryStmt) entries.get(i).accept(this, arg)); + } + removeNulls(entries); + } + return n; + + } + + @Override public Node visit(final SynchronizedStmt n, final A arg) { + n.setExpr((Expression) n.getExpr().accept(this, arg)); + n.setBlock((BlockStmt) n.getBlock().accept(this, arg)); + return n; + } + + @Override public Node visit(final ThisExpr n, final A arg) { + if (n.getClassExpr() != null) { + n.setClassExpr((Expression) n.getClassExpr().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final ThrowStmt n, final A arg) { + n.setExpr((Expression) n.getExpr().accept(this, arg)); + return n; + } + + @Override public Node visit(final TryStmt n, final A arg) { + n.setTryBlock((BlockStmt) n.getTryBlock().accept(this, arg)); + final List catchs = n.getCatchs(); + if (catchs != null) { + for (int i = 0; i < catchs.size(); i++) { + catchs.set(i, (CatchClause) catchs.get(i).accept(this, arg)); + } + removeNulls(catchs); + } + if (n.getFinallyBlock() != null) { + n.setFinallyBlock((BlockStmt) n.getFinallyBlock().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final TypeDeclarationStmt n, final A arg) { + n.setTypeDeclaration((TypeDeclaration) n.getTypeDeclaration().accept(this, arg)); + return n; + } + + @Override public Node visit(final TypeParameter n, final A arg) { + final List typeBound = n.getTypeBound(); + if (typeBound != null) { + for (int i = 0; i < typeBound.size(); i++) { + typeBound.set(i, (ClassOrInterfaceType) typeBound.get(i).accept(this, arg)); + } + removeNulls(typeBound); + } + return n; + } + + @Override public Node visit(final UnaryExpr n, final A arg) { + n.setExpr((Expression) n.getExpr().accept(this, arg)); + return n; + } + + @Override public Node visit(final UnknownType n, final A arg) { + return n; + } + + @Override public Node visit(final VariableDeclarationExpr n, final A arg) { + final List annotations = n.getAnnotations(); + if (annotations != null) { + for (int i = 0; i < annotations.size(); i++) { + annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); + } + removeNulls(annotations); + } + + final Type type = (Type) n.getType().accept(this, arg); + if (type == null) { + return null; + } + n.setType(type); + + final List vars = n.getVars(); + for (int i = 0; i < vars.size();) { + final VariableDeclarator decl = (VariableDeclarator) + vars.get(i).accept(this, arg); + if (decl == null) { + vars.remove(i); + } else { + vars.set(i++, decl); + } + } + if (vars.isEmpty()) { + return null; + } + + return n; + } + + @Override public Node visit(final VariableDeclarator n, final A arg) { + final VariableDeclaratorId id = (VariableDeclaratorId) + n.getId().accept(this, arg); + if (id == null) { + return null; + } + n.setId(id); + if (n.getInit() != null) { + n.setInit((Expression) n.getInit().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final VariableDeclaratorId n, final A arg) { + return n; + } + + @Override public Node visit(final VoidType n, final A arg) { + return n; + } + + @Override public Node visit(final WhileStmt n, final A arg) { + n.setCondition((Expression) n.getCondition().accept(this, arg)); + n.setBody((Statement) n.getBody().accept(this, arg)); + return n; + } + + @Override public Node visit(final WildcardType n, final A arg) { + if (n.getExtends() != null) { + n.setExtends((ReferenceType) n.getExtends().accept(this, arg)); + } + if (n.getSuper() != null) { + n.setSuper((ReferenceType) n.getSuper().accept(this, arg)); + } + return n; + } + + @Override public Node visit(final LambdaExpr n, final A arg) { + return n; + } + + @Override public Node visit(final MethodReferenceExpr n, final A arg){ + return n; + } + + @Override public Node visit(final TypeExpr n, final A arg){ + return n; + } + + @Override public Node visit(final BlockComment n, final A arg) { + return n; + } + + @Override public Node visit(final LineComment n, final A arg) { + return n; + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/TreeVisitor.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/TreeVisitor.java new file mode 100644 index 00000000..c1b7eaee --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/TreeVisitor.java @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import com.github.javaparser.ast.Node; + +/** + * Iterate over all the nodes in (a part of) the AST. + */ +public abstract class TreeVisitor { + + /** + * https://en.wikipedia.org/wiki/Depth-first_search + * + * @param node the start node, and the first one that is passed to process(node). + */ + public void visitDepthFirst(Node node) { + process(node); + for (Node child : node.getChildrenNodes()) { + visitDepthFirst(child); + } + } + + public abstract void process(Node node); +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitor.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitor.java new file mode 100644 index 00000000..92fb47e6 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitor.java @@ -0,0 +1,258 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.expr.*; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.*; + +/** + * A visitor that does not return anything. + * + * @author Julio Vilmar Gesser + */ +public interface VoidVisitor { + + //- Compilation Unit ---------------------------------- + + void visit(CompilationUnit n, A arg); + + void visit(PackageDeclaration n, A arg); + + void visit(ImportDeclaration n, A arg); + + void visit(TypeParameter n, A arg); + + void visit(LineComment n, A arg); + + void visit(BlockComment n, A arg); + + //- Body ---------------------------------------------- + + void visit(ClassOrInterfaceDeclaration n, A arg); + + void visit(EnumDeclaration n, A arg); + + void visit(EmptyTypeDeclaration n, A arg); + + void visit(EnumConstantDeclaration n, A arg); + + void visit(AnnotationDeclaration n, A arg); + + void visit(AnnotationMemberDeclaration n, A arg); + + void visit(FieldDeclaration n, A arg); + + void visit(VariableDeclarator n, A arg); + + void visit(VariableDeclaratorId n, A arg); + + void visit(ConstructorDeclaration n, A arg); + + void visit(MethodDeclaration n, A arg); + + void visit(Parameter n, A arg); + + void visit(MultiTypeParameter n, A arg); + + void visit(EmptyMemberDeclaration n, A arg); + + void visit(InitializerDeclaration n, A arg); + + void visit(JavadocComment n, A arg); + + //- Type ---------------------------------------------- + + void visit(ClassOrInterfaceType n, A arg); + + void visit(PrimitiveType n, A arg); + + void visit(ReferenceType n, A arg); + + void visit(IntersectionType n, A arg); + + void visit(UnionType n, A arg); + + void visit(VoidType n, A arg); + + void visit(WildcardType n, A arg); + + void visit(UnknownType n, A arg); + + //- Expression ---------------------------------------- + + void visit(ArrayAccessExpr n, A arg); + + void visit(ArrayCreationExpr n, A arg); + + void visit(ArrayInitializerExpr n, A arg); + + void visit(AssignExpr n, A arg); + + void visit(BinaryExpr n, A arg); + + void visit(CastExpr n, A arg); + + void visit(ClassExpr n, A arg); + + void visit(ConditionalExpr n, A arg); + + void visit(EnclosedExpr n, A arg); + + void visit(FieldAccessExpr n, A arg); + + void visit(InstanceOfExpr n, A arg); + + void visit(StringLiteralExpr n, A arg); + + void visit(IntegerLiteralExpr n, A arg); + + void visit(LongLiteralExpr n, A arg); + + void visit(IntegerLiteralMinValueExpr n, A arg); + + void visit(LongLiteralMinValueExpr n, A arg); + + void visit(CharLiteralExpr n, A arg); + + void visit(DoubleLiteralExpr n, A arg); + + void visit(BooleanLiteralExpr n, A arg); + + void visit(NullLiteralExpr n, A arg); + + void visit(MethodCallExpr n, A arg); + + void visit(NameExpr n, A arg); + + void visit(ObjectCreationExpr n, A arg); + + void visit(QualifiedNameExpr n, A arg); + + void visit(ThisExpr n, A arg); + + void visit(SuperExpr n, A arg); + + void visit(UnaryExpr n, A arg); + + void visit(VariableDeclarationExpr n, A arg); + + void visit(MarkerAnnotationExpr n, A arg); + + void visit(SingleMemberAnnotationExpr n, A arg); + + void visit(NormalAnnotationExpr n, A arg); + + void visit(MemberValuePair n, A arg); + + //- Statements ---------------------------------------- + + void visit(ExplicitConstructorInvocationStmt n, A arg); + + void visit(TypeDeclarationStmt n, A arg); + + void visit(AssertStmt n, A arg); + + void visit(BlockStmt n, A arg); + + void visit(LabeledStmt n, A arg); + + void visit(EmptyStmt n, A arg); + + void visit(ExpressionStmt n, A arg); + + void visit(SwitchStmt n, A arg); + + void visit(SwitchEntryStmt n, A arg); + + void visit(BreakStmt n, A arg); + + void visit(ReturnStmt n, A arg); + + void visit(IfStmt n, A arg); + + void visit(WhileStmt n, A arg); + + void visit(ContinueStmt n, A arg); + + void visit(DoStmt n, A arg); + + void visit(ForeachStmt n, A arg); + + void visit(ForStmt n, A arg); + + void visit(ThrowStmt n, A arg); + + void visit(SynchronizedStmt n, A arg); + + void visit(TryStmt n, A arg); + + void visit(CatchClause n, A arg); + + void visit(LambdaExpr n, A arg); + + void visit(MethodReferenceExpr n, A arg); + + void visit(TypeExpr n, A arg); +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitorAdapter.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitorAdapter.java new file mode 100644 index 00000000..a283983a --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/ast/visitor/VoidVisitorAdapter.java @@ -0,0 +1,900 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.ast.visitor; + +import static com.github.javaparser.utils.Utils.isNullOrEmpty; + +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.ImportDeclaration; +import com.github.javaparser.ast.PackageDeclaration; +import com.github.javaparser.ast.TypeParameter; +import com.github.javaparser.ast.body.AnnotationDeclaration; +import com.github.javaparser.ast.body.AnnotationMemberDeclaration; +import com.github.javaparser.ast.body.BodyDeclaration; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.ConstructorDeclaration; +import com.github.javaparser.ast.body.EmptyMemberDeclaration; +import com.github.javaparser.ast.body.EmptyTypeDeclaration; +import com.github.javaparser.ast.body.EnumConstantDeclaration; +import com.github.javaparser.ast.body.EnumDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.InitializerDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.MultiTypeParameter; +import com.github.javaparser.ast.body.Parameter; +import com.github.javaparser.ast.body.TypeDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.body.VariableDeclaratorId; +import com.github.javaparser.ast.comments.BlockComment; +import com.github.javaparser.ast.comments.Comment; +import com.github.javaparser.ast.comments.JavadocComment; +import com.github.javaparser.ast.comments.LineComment; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.expr.ArrayAccessExpr; +import com.github.javaparser.ast.expr.ArrayCreationExpr; +import com.github.javaparser.ast.expr.ArrayInitializerExpr; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.BinaryExpr; +import com.github.javaparser.ast.expr.BooleanLiteralExpr; +import com.github.javaparser.ast.expr.CastExpr; +import com.github.javaparser.ast.expr.CharLiteralExpr; +import com.github.javaparser.ast.expr.ClassExpr; +import com.github.javaparser.ast.expr.ConditionalExpr; +import com.github.javaparser.ast.expr.DoubleLiteralExpr; +import com.github.javaparser.ast.expr.EnclosedExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.FieldAccessExpr; +import com.github.javaparser.ast.expr.InstanceOfExpr; +import com.github.javaparser.ast.expr.IntegerLiteralExpr; +import com.github.javaparser.ast.expr.IntegerLiteralMinValueExpr; +import com.github.javaparser.ast.expr.LambdaExpr; +import com.github.javaparser.ast.expr.LongLiteralExpr; +import com.github.javaparser.ast.expr.LongLiteralMinValueExpr; +import com.github.javaparser.ast.expr.MarkerAnnotationExpr; +import com.github.javaparser.ast.expr.MemberValuePair; +import com.github.javaparser.ast.expr.MethodCallExpr; +import com.github.javaparser.ast.expr.MethodReferenceExpr; +import com.github.javaparser.ast.expr.NameExpr; +import com.github.javaparser.ast.expr.NormalAnnotationExpr; +import com.github.javaparser.ast.expr.NullLiteralExpr; +import com.github.javaparser.ast.expr.ObjectCreationExpr; +import com.github.javaparser.ast.expr.QualifiedNameExpr; +import com.github.javaparser.ast.expr.SingleMemberAnnotationExpr; +import com.github.javaparser.ast.expr.StringLiteralExpr; +import com.github.javaparser.ast.expr.SuperExpr; +import com.github.javaparser.ast.expr.ThisExpr; +import com.github.javaparser.ast.expr.TypeExpr; +import com.github.javaparser.ast.expr.UnaryExpr; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.stmt.AssertStmt; +import com.github.javaparser.ast.stmt.BlockStmt; +import com.github.javaparser.ast.stmt.BreakStmt; +import com.github.javaparser.ast.stmt.CatchClause; +import com.github.javaparser.ast.stmt.ContinueStmt; +import com.github.javaparser.ast.stmt.DoStmt; +import com.github.javaparser.ast.stmt.EmptyStmt; +import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ForStmt; +import com.github.javaparser.ast.stmt.ForeachStmt; +import com.github.javaparser.ast.stmt.IfStmt; +import com.github.javaparser.ast.stmt.LabeledStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.Statement; +import com.github.javaparser.ast.stmt.SwitchEntryStmt; +import com.github.javaparser.ast.stmt.SwitchStmt; +import com.github.javaparser.ast.stmt.SynchronizedStmt; +import com.github.javaparser.ast.stmt.ThrowStmt; +import com.github.javaparser.ast.stmt.TryStmt; +import com.github.javaparser.ast.stmt.TypeDeclarationStmt; +import com.github.javaparser.ast.stmt.WhileStmt; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.ast.type.IntersectionType; +import com.github.javaparser.ast.type.PrimitiveType; +import com.github.javaparser.ast.type.ReferenceType; +import com.github.javaparser.ast.type.Type; +import com.github.javaparser.ast.type.UnionType; +import com.github.javaparser.ast.type.UnknownType; +import com.github.javaparser.ast.type.VoidType; +import com.github.javaparser.ast.type.WildcardType; + +/** + * @author Julio Vilmar Gesser + */ +public abstract class VoidVisitorAdapter implements VoidVisitor { + + @Override public void visit(final AnnotationDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + n.getNameExpr().accept(this, arg); + if (n.getMembers() != null) { + for (final BodyDeclaration member : n.getMembers()) { + member.accept(this, arg); + } + } + } + + @Override public void visit(final AnnotationMemberDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + n.getType().accept(this, arg); + if (n.getDefaultValue() != null) { + n.getDefaultValue().accept(this, arg); + } + } + + @Override public void visit(final ArrayAccessExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getName().accept(this, arg); + n.getIndex().accept(this, arg); + } + + @Override public void visit(final ArrayCreationExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getType().accept(this, arg); + if (!isNullOrEmpty(n.getDimensions())) { + for (final Expression dim : n.getDimensions()) { + dim.accept(this, arg); + } + } + if (n.getInitializer() != null) { + n.getInitializer().accept(this, arg); + } + } + + @Override public void visit(final ArrayInitializerExpr n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getValues() != null) { + for (final Expression expr : n.getValues()) { + expr.accept(this, arg); + } + } + } + + @Override public void visit(final AssertStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getCheck().accept(this, arg); + if (n.getMessage() != null) { + n.getMessage().accept(this, arg); + } + } + + @Override public void visit(final AssignExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getTarget().accept(this, arg); + n.getValue().accept(this, arg); + } + + @Override public void visit(final BinaryExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getLeft().accept(this, arg); + n.getRight().accept(this, arg); + } + + @Override public void visit(final BlockComment n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final BlockStmt n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getStmts() != null) { + for (final Statement s : n.getStmts()) { + s.accept(this, arg); + } + } + } + + @Override public void visit(final BooleanLiteralExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final BreakStmt n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final CastExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getType().accept(this, arg); + n.getExpr().accept(this, arg); + } + + @Override public void visit(final CatchClause n, final A arg) { + visitComment(n.getComment(), arg); + n.getParam().accept(this, arg); + n.getCatchBlock().accept(this, arg); + } + + @Override public void visit(final CharLiteralExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final ClassExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getType().accept(this, arg); + } + + @Override public void visit(final ClassOrInterfaceDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + n.getNameExpr().accept(this, arg); + for (final TypeParameter t : n.getTypeParameters()) { + t.accept(this, arg); + } + for (final ClassOrInterfaceType c : n.getExtends()) { + c.accept(this, arg); + } + for (final ClassOrInterfaceType c : n.getImplements()) { + c.accept(this, arg); + } + for (final BodyDeclaration member : n.getMembers()) { + member.accept(this, arg); + } + } + + @Override public void visit(final ClassOrInterfaceType n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getScope() != null) { + n.getScope().accept(this, arg); + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + t.accept(this, arg); + } + } + } + + @Override public void visit(final CompilationUnit n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getPackage() != null) { + n.getPackage().accept(this, arg); + } + if (n.getImports() != null) { + for (final ImportDeclaration i : n.getImports()) { + i.accept(this, arg); + } + } + if (n.getTypes() != null) { + for (final TypeDeclaration typeDeclaration : n.getTypes()) { + typeDeclaration.accept(this, arg); + } + } + } + + @Override public void visit(final ConditionalExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getCondition().accept(this, arg); + n.getThenExpr().accept(this, arg); + n.getElseExpr().accept(this, arg); + } + + @Override public void visit(final ConstructorDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + if (n.getTypeParameters() != null) { + for (final TypeParameter t : n.getTypeParameters()) { + t.accept(this, arg); + } + } + n.getNameExpr().accept(this, arg); + if (n.getParameters() != null) { + for (final Parameter p : n.getParameters()) { + p.accept(this, arg); + } + } + if (n.getThrows() != null) { + for (final ReferenceType name : n.getThrows()) { + name.accept(this, arg); + } + } + n.getBody().accept(this, arg); + } + + @Override public void visit(final ContinueStmt n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final DoStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getBody().accept(this, arg); + n.getCondition().accept(this, arg); + } + + @Override public void visit(final DoubleLiteralExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final EmptyMemberDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + } + + @Override public void visit(final EmptyStmt n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final EmptyTypeDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + n.getNameExpr().accept(this, arg); + } + + @Override public void visit(final EnclosedExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getInner().accept(this, arg); + } + + @Override public void visit(final EnumConstantDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + e.accept(this, arg); + } + } + if (n.getClassBody() != null) { + for (final BodyDeclaration member : n.getClassBody()) { + member.accept(this, arg); + } + } + } + + @Override public void visit(final EnumDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + n.getNameExpr().accept(this, arg); + if (n.getImplements() != null) { + for (final ClassOrInterfaceType c : n.getImplements()) { + c.accept(this, arg); + } + } + if (n.getEntries() != null) { + for (final EnumConstantDeclaration e : n.getEntries()) { + e.accept(this, arg); + } + } + if (n.getMembers() != null) { + for (final BodyDeclaration member : n.getMembers()) { + member.accept(this, arg); + } + } + } + + @Override public void visit(final ExplicitConstructorInvocationStmt n, final A arg) { + visitComment(n.getComment(), arg); + if (!n.isThis() && n.getExpr() != null) { + n.getExpr().accept(this, arg); + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + t.accept(this, arg); + } + } + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + e.accept(this, arg); + } + } + } + + @Override public void visit(final ExpressionStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getExpression().accept(this, arg); + } + + @Override public void visit(final FieldAccessExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getScope().accept(this, arg); + n.getFieldExpr().accept(this, arg); + } + + @Override public void visit(final FieldDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + n.getType().accept(this, arg); + for (final VariableDeclarator var : n.getVariables()) { + var.accept(this, arg); + } + } + + @Override public void visit(final ForeachStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getVariable().accept(this, arg); + n.getIterable().accept(this, arg); + n.getBody().accept(this, arg); + } + + @Override public void visit(final ForStmt n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getInit() != null) { + for (final Expression e : n.getInit()) { + e.accept(this, arg); + } + } + if (n.getCompare() != null) { + n.getCompare().accept(this, arg); + } + if (n.getUpdate() != null) { + for (final Expression e : n.getUpdate()) { + e.accept(this, arg); + } + } + n.getBody().accept(this, arg); + } + + @Override public void visit(final IfStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getCondition().accept(this, arg); + n.getThenStmt().accept(this, arg); + if (n.getElseStmt() != null) { + n.getElseStmt().accept(this, arg); + } + } + + @Override public void visit(final ImportDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + n.getName().accept(this, arg); + } + + @Override public void visit(final InitializerDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + n.getBlock().accept(this, arg); + } + + @Override public void visit(final InstanceOfExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getExpr().accept(this, arg); + n.getType().accept(this, arg); + } + + @Override public void visit(final IntegerLiteralExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final IntegerLiteralMinValueExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final JavadocComment n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final LabeledStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getStmt().accept(this, arg); + } + + @Override public void visit(final LineComment n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final LongLiteralExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final LongLiteralMinValueExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final MarkerAnnotationExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getName().accept(this, arg); + } + + @Override public void visit(final MemberValuePair n, final A arg) { + visitComment(n.getComment(), arg); + n.getValue().accept(this, arg); + } + + @Override public void visit(final MethodCallExpr n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getScope() != null) { + n.getScope().accept(this, arg); + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + t.accept(this, arg); + } + } + n.getNameExpr().accept(this, arg); + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + e.accept(this, arg); + } + } + } + + @Override public void visit(final MethodDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getJavaDoc() != null) { + n.getJavaDoc().accept(this, arg); + } + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + if (n.getTypeParameters() != null) { + for (final TypeParameter t : n.getTypeParameters()) { + t.accept(this, arg); + } + } + n.getType().accept(this, arg); + n.getNameExpr().accept(this, arg); + if (n.getParameters() != null) { + for (final Parameter p : n.getParameters()) { + p.accept(this, arg); + } + } + if (n.getThrows() != null) { + for (final ReferenceType name : n.getThrows()) { + name.accept(this, arg); + } + } + if (n.getBody() != null) { + n.getBody().accept(this, arg); + } + } + + @Override public void visit(final NameExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final NormalAnnotationExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getName().accept(this, arg); + if (n.getPairs() != null) { + for (final MemberValuePair m : n.getPairs()) { + m.accept(this, arg); + } + } + } + + @Override public void visit(final NullLiteralExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final ObjectCreationExpr n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getScope() != null) { + n.getScope().accept(this, arg); + } + if (n.getTypeArgs() != null) { + for (final Type t : n.getTypeArgs()) { + t.accept(this, arg); + } + } + n.getType().accept(this, arg); + if (n.getArgs() != null) { + for (final Expression e : n.getArgs()) { + e.accept(this, arg); + } + } + if (n.getAnonymousClassBody() != null) { + for (final BodyDeclaration member : n.getAnonymousClassBody()) { + member.accept(this, arg); + } + } + } + + @Override public void visit(final PackageDeclaration n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + n.getName().accept(this, arg); + } + + @Override public void visit(final Parameter n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + n.getType().accept(this, arg); + n.getId().accept(this, arg); + } + + @Override public void visit(final MultiTypeParameter n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + if (n.getType() != null) { + n.getType().accept(this, arg); + } + n.getId().accept(this, arg); + } + + @Override public void visit(final PrimitiveType n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final QualifiedNameExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getQualifier().accept(this, arg); + } + + @Override public void visit(final ReferenceType n, final A arg) { + visitComment(n.getComment(), arg); + n.getType().accept(this, arg); + } + + @Override public void visit(final IntersectionType n, final A arg) { + visitComment(n.getComment(), arg); + for (ReferenceType element : n.getElements()) { + element.accept(this, arg); + } + } + + @Override public void visit(final UnionType n, final A arg) { + visitComment(n.getComment(), arg); + for (ReferenceType element : n.getElements()) { + element.accept(this, arg); + } + } + + @Override public void visit(final ReturnStmt n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getExpr() != null) { + n.getExpr().accept(this, arg); + } + } + + @Override public void visit(final SingleMemberAnnotationExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getName().accept(this, arg); + n.getMemberValue().accept(this, arg); + } + + @Override public void visit(final StringLiteralExpr n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final SuperExpr n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getClassExpr() != null) { + n.getClassExpr().accept(this, arg); + } + } + + @Override public void visit(final SwitchEntryStmt n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getLabel() != null) { + n.getLabel().accept(this, arg); + } + if (n.getStmts() != null) { + for (final Statement s : n.getStmts()) { + s.accept(this, arg); + } + } + } + + @Override public void visit(final SwitchStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getSelector().accept(this, arg); + if (n.getEntries() != null) { + for (final SwitchEntryStmt e : n.getEntries()) { + e.accept(this, arg); + } + } + } + + @Override public void visit(final SynchronizedStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getExpr().accept(this, arg); + n.getBlock().accept(this, arg); + } + + @Override public void visit(final ThisExpr n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getClassExpr() != null) { + n.getClassExpr().accept(this, arg); + } + } + + @Override public void visit(final ThrowStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getExpr().accept(this, arg); + } + + @Override public void visit(final TryStmt n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getResources() != null) { + for (final VariableDeclarationExpr v : n.getResources()) { + v.accept(this, arg); + } + } + n.getTryBlock().accept(this, arg); + if (n.getCatchs() != null) { + for (final CatchClause c : n.getCatchs()) { + c.accept(this, arg); + } + } + if (n.getFinallyBlock() != null) { + n.getFinallyBlock().accept(this, arg); + } + } + + @Override public void visit(final TypeDeclarationStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getTypeDeclaration().accept(this, arg); + } + + @Override public void visit(final TypeParameter n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getTypeBound() != null) { + for (final ClassOrInterfaceType c : n.getTypeBound()) { + c.accept(this, arg); + } + } + } + + @Override public void visit(final UnaryExpr n, final A arg) { + visitComment(n.getComment(), arg); + n.getExpr().accept(this, arg); + } + + @Override public void visit(final UnknownType n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final VariableDeclarationExpr n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getAnnotations() != null) { + for (final AnnotationExpr a : n.getAnnotations()) { + a.accept(this, arg); + } + } + n.getType().accept(this, arg); + for (final VariableDeclarator v : n.getVars()) { + v.accept(this, arg); + } + } + + @Override public void visit(final VariableDeclarator n, final A arg) { + visitComment(n.getComment(), arg); + n.getId().accept(this, arg); + if (n.getInit() != null) { + n.getInit().accept(this, arg); + } + } + + @Override public void visit(final VariableDeclaratorId n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final VoidType n, final A arg) { + visitComment(n.getComment(), arg); + } + + @Override public void visit(final WhileStmt n, final A arg) { + visitComment(n.getComment(), arg); + n.getCondition().accept(this, arg); + n.getBody().accept(this, arg); + } + + @Override public void visit(final WildcardType n, final A arg) { + visitComment(n.getComment(), arg); + if (n.getExtends() != null) { + n.getExtends().accept(this, arg); + } + if (n.getSuper() != null) { + n.getSuper().accept(this, arg); + } + } + + @Override + public void visit(LambdaExpr n, final A arg) { + if (n.getParameters() != null) { + for (final Parameter a : n.getParameters()) { + a.accept(this, arg); + } + } + if (n.getBody() != null) { + n.getBody().accept(this, arg); + } + } + + @Override + public void visit(MethodReferenceExpr n, final A arg) { + if (n.getTypeArguments().getTypeArguments() != null) { + for (final Type t : n.getTypeArguments().getTypeArguments()) { + t.accept(this, arg); + } + } + if (n.getScope() != null) { + n.getScope().accept(this, arg); + } + } + + @Override + public void visit(TypeExpr n, final A arg) { + if (n.getType() != null) { + n.getType().accept(this, arg); + } + } + + private void visitComment(final Comment n, final A arg) { + if (n != null) { + n.accept(this, arg); + } + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/ClassUtils.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/ClassUtils.java new file mode 100644 index 00000000..47698681 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/ClassUtils.java @@ -0,0 +1,69 @@ +package com.github.javaparser.utils; + +import java.util.HashMap; +import java.util.Map; + +public class ClassUtils { + /** + * Maps primitive {@code Class}es to their corresponding wrapper {@code Class}. + */ + private static final Map, Class> primitiveWrapperMap = new HashMap, Class>(); + static { + primitiveWrapperMap.put(Boolean.TYPE, Boolean.class); + primitiveWrapperMap.put(Byte.TYPE, Byte.class); + primitiveWrapperMap.put(Character.TYPE, Character.class); + primitiveWrapperMap.put(Short.TYPE, Short.class); + primitiveWrapperMap.put(Integer.TYPE, Integer.class); + primitiveWrapperMap.put(Long.TYPE, Long.class); + primitiveWrapperMap.put(Double.TYPE, Double.class); + primitiveWrapperMap.put(Float.TYPE, Float.class); + primitiveWrapperMap.put(Void.TYPE, Void.TYPE); + } + + /** + * Maps wrapper {@code Class}es to their corresponding primitive types. + */ + private static final Map, Class> wrapperPrimitiveMap = new HashMap, Class>(); + static { + for (final Class primitiveClass : primitiveWrapperMap.keySet()) { + final Class wrapperClass = primitiveWrapperMap.get(primitiveClass); + if (!primitiveClass.equals(wrapperClass)) { + wrapperPrimitiveMap.put(wrapperClass, primitiveClass); + } + } + } + + /** + * Returns whether the given {@code type} is a primitive or primitive wrapper ({@link Boolean}, {@link Byte}, + * {@link Character}, + * {@link Short}, {@link Integer}, {@link Long}, {@link Double}, {@link Float}). + * + * @param type + * The class to query or null. + * @return true if the given {@code type} is a primitive or primitive wrapper ({@link Boolean}, {@link Byte}, + * {@link Character}, + * {@link Short}, {@link Integer}, {@link Long}, {@link Double}, {@link Float}). + */ + public static boolean isPrimitiveOrWrapper(final Class type) { + if (type == null) { + return false; + } + return type.isPrimitive() || isPrimitiveWrapper(type); + } + + /** + * Returns whether the given {@code type} is a primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character}, + * {@link Short}, + * {@link Integer}, {@link Long}, {@link Double}, {@link Float}). + * + * @param type + * The class to query or null. + * @return true if the given {@code type} is a primitive wrapper ({@link Boolean}, {@link Byte}, {@link Character}, + * {@link Short}, + * {@link Integer}, {@link Long}, {@link Double}, {@link Float}). + * @since 3.1 + */ + public static boolean isPrimitiveWrapper(final Class type) { + return wrapperPrimitiveMap.containsKey(type); + } +} diff --git a/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/PositionUtils.java b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/PositionUtils.java new file mode 100644 index 00000000..9f8aab90 --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/java/com/github/javaparser/utils/PositionUtils.java @@ -0,0 +1,134 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +package com.github.javaparser.utils; + +import static java.lang.Integer.signum; + +import java.util.Collections; +import java.util.LinkedList; +import java.util.List; + +import com.github.javaparser.ast.Node; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.expr.AnnotationExpr; +import com.github.javaparser.ast.nodeTypes.NodeWithAnnotations; +import com.github.javaparser.ast.nodeTypes.NodeWithType; + +public final class PositionUtils { + + private PositionUtils() { + // prevent instantiation + } + + public static void sortByBeginPosition(List nodes){ + sortByBeginPosition(nodes, false); + } + + public static void sortByBeginPosition(List nodes, final boolean ignoringAnnotations){ + Collections.sort(nodes, (o1, o2) -> PositionUtils.compare(o1, o2, ignoringAnnotations)); + } + + public static boolean areInOrder(Node a, Node b){ + return areInOrder(a, b, false); + } + + public static boolean areInOrder(Node a, Node b, boolean ignoringAnnotations){ + return compare(a, b, ignoringAnnotations) <= 0; + } + + private static int compare(Node a, Node b, boolean ignoringAnnotations) { + if (ignoringAnnotations) { + int signLine = signum(beginLineWithoutConsideringAnnotation(a) - beginLineWithoutConsideringAnnotation(b)); + if (signLine == 0) { + return signum(beginColumnWithoutConsideringAnnotation(a) - beginColumnWithoutConsideringAnnotation(b)); + } else { + return signLine; + } + } + + int signLine = signum( a.getBegin().line - b.getBegin().line ); + if (signLine == 0) { + return signum(a.getBegin().column - b.getBegin().column); + } else { + return signLine; + } + } + + public static AnnotationExpr getLastAnnotation(Node node) { + if (node instanceof NodeWithAnnotations){ + List annotations = new LinkedList<>(); + annotations.addAll(((NodeWithAnnotations) node).getAnnotations()); + if (annotations.isEmpty()){ + return null; + } + sortByBeginPosition(annotations); + return annotations.get(annotations.size()-1); + } else { + return null; + } + } + + private static int beginLineWithoutConsideringAnnotation(Node node) { + return beginNodeWithoutConsideringAnnotations(node).getBegin().line; + } + + + private static int beginColumnWithoutConsideringAnnotation(Node node) { + return beginNodeWithoutConsideringAnnotations(node).getBegin().column; + } + + private static Node beginNodeWithoutConsideringAnnotations(Node node) { + if (node instanceof MethodDeclaration || node instanceof FieldDeclaration) { + NodeWithType casted = (NodeWithType) node; + return casted.getType(); + } else if (node instanceof ClassOrInterfaceDeclaration) { + ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node; + return casted.getNameExpr(); + } else { + return node; + } + } + + public static boolean nodeContains(Node container, Node contained, boolean ignoringAnnotations){ + if (!ignoringAnnotations || PositionUtils.getLastAnnotation(container)==null){ + return container.contains(contained); + } + if (!container.contains(contained)){ + return false; + } + // if the node is contained, but it comes immediately after the annotations, + // let's not consider it contained + if (container instanceof NodeWithAnnotations){ + int bl = beginLineWithoutConsideringAnnotation(container); + int bc = beginColumnWithoutConsideringAnnotation(container); + if (bl>contained.getBegin().line) return false; + if (bl==contained.getBegin().line && bc>contained.getBegin().column) return false; + if (container.getEnd().line List ensureNotNull(List list) { + return list == null ? new ArrayList() : list; + } + + public static boolean isNullOrEmpty(Collection collection) { + return collection == null || collection.isEmpty(); + } + + /** + * @return string with ASCII characters 10 and 13 replaced by the text "\n" and "\r". + */ + public static String escapeEndOfLines(String string) { + StringBuilder escapedString = new StringBuilder(); + for (char c : string.toCharArray()) { + switch (c) { + case '\n': + escapedString.append("\\n"); + break; + case '\r': + escapedString.append("\\r"); + break; + default: + escapedString.append(c); + } + } + return escapedString.toString(); + } + + public static String readerToString(Reader reader) throws IOException { + char[] arr = new char[8*1024]; // 8K at a time + StringBuilder buf = new StringBuilder(); + int numChars; + + while ((numChars = reader.read(arr, 0, arr.length)) > 0) { + buf.append(arr, 0, numChars); + } + + return buf.toString(); + } + +} diff --git a/bin/app/data/projects/javaparser/src/main/javacc/java_1_8.jj b/bin/app/data/projects/javaparser/src/main/javacc/java_1_8.jj new file mode 100644 index 00000000..488598cd --- /dev/null +++ b/bin/app/data/projects/javaparser/src/main/javacc/java_1_8.jj @@ -0,0 +1,3386 @@ +/* + * Copyright (C) 2007-2010 Júlio Vilmar Gesser. + * Copyright (C) 2011, 2013-2016 The JavaParser Team. + * + * This file is part of JavaParser. + * + * JavaParser can be used either under the terms of + * a) the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * b) the terms of the Apache License + * + * You should have received a copy of both licenses in LICENCE.LGPL and + * LICENCE.APACHE. Please refer to those files for details. + * + * JavaParser is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ + +options { + LOOKAHEAD=1; + STATIC=false; + JAVA_UNICODE_ESCAPE=true; + COMMON_TOKEN_ACTION=true; // Using the CommonTokenAction callback to collect tokens for later usage + JDK_VERSION = "1.8"; + TOKEN_FACTORY = "ASTParser.GTToken"; + JAVA_TEMPLATE_TYPE = "modern"; +} + +PARSER_BEGIN(ASTParser) +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + +import java.io.*; +import java.util.*; +import com.github.javaparser.ast.*; +import com.github.javaparser.ast.body.*; +import com.github.javaparser.ast.comments.*; +import com.github.javaparser.ast.expr.*; +import com.github.javaparser.ast.stmt.*; +import com.github.javaparser.ast.type.*; +import static com.github.javaparser.Range.*; +import static com.github.javaparser.Position.*; + +/** + *

This class was generated automatically by javacc, do not edit.

+ */ +final class ASTParser { + + private final Position INVALID = pos(-1, 0); + + void reset(InputStream in, String encoding) throws IOException { + ReInit(new StreamProvider(in, encoding)); + } + + private List add(List list, T obj) { + if (list == null) { + list = new LinkedList(); + } + list.add(obj); + return list; + } + + private List add(int pos, List list, T obj) { + if (list == null) { + list = new LinkedList(); + } + list.add(pos, obj); + return list; + } + + private class ModifierHolder { + final EnumSet modifiers; + final List annotations; + final Position begin; + + public ModifierHolder(Position begin, EnumSet modifiers, List annotations) { + this.begin = begin; + this.modifiers = modifiers; + this.annotations = annotations; + } + } + + public void addModifier(EnumSet modifiers, Modifier mod, Token token) throws ParseException { + if (modifiers.contains(mod)) { + throwParseException("Duplicated modifier"); + } + modifiers.add(mod); + } + + public void addMultipleModifier(EnumSet modifiers, EnumSet mods, Token token) throws ParseException { + if(mods == null) + return; + for(Modifier m : mods) + if (modifiers.contains(m)) + throwParseException("Duplicated modifier"); + for(Modifier m : mods) + modifiers.add(m); + } + + /** + * Return the list of tokens that have been encountered while parsing code using + * this parser. + * + * @return a list of tokens + */ + public List getTokens() { + return token_source.getTokens(); + } + + private void throwParseException(String message) throws ParseException { + StringBuilder buf = new StringBuilder(); + buf.append(message); + buf.append(": \""); + buf.append(token.image); + buf.append("\" at line "); + buf.append(token.beginLine); + buf.append(", column "); + buf.append(token.beginColumn); + ParseException e = new ParseException(buf.toString()); + e.currentToken = token; + throw e; + } + + private Expression generateLambda(Expression ret, Statement lambdaBody) throws ParseException { + if (ret instanceof EnclosedExpr) { + Expression inner = ((EnclosedExpr) ret).getInner(); + if (inner != null && inner instanceof NameExpr) { + VariableDeclaratorId id = new VariableDeclaratorId(inner.getRange(), ((NameExpr)inner).getName(), 0); + List params = add(null, new Parameter(ret.getRange(), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id)); + ret = new LambdaExpr(range(ret.getBegin(), lambdaBody.getEnd()), params, lambdaBody, true); + } else { + ret = new LambdaExpr(range(ret.getBegin(), lambdaBody.getEnd()), null, lambdaBody, true); + } + } else if (ret instanceof NameExpr) { + VariableDeclaratorId id = new VariableDeclaratorId(ret.getRange(), ((NameExpr)ret).getName(), 0); + List params = add(null, new Parameter(ret.getRange(), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id)); + ret = new LambdaExpr(ret.getRange(), params, lambdaBody, false); + } else if (ret instanceof LambdaExpr) { + ((LambdaExpr) ret).setBody(lambdaBody); + ret.setEnd(lambdaBody.getEnd()); + } else if (ret instanceof CastExpr) { + CastExpr castExpr = (CastExpr)ret; + Expression inner = generateLambda(castExpr.getExpr(), lambdaBody); + castExpr.setExpr(inner); + } else { + throw new ParseException("Failed to parse lambda expression! Please create an issue at https://github.com/javaparser/javaparser/issues"); + } + return ret; + } + + private TypeArguments createTypeArguments(List typeArgs) { + boolean usesDiamondOperator = typeArgs != null && typeArgs.isEmpty(); + return usesDiamondOperator ? TypeArguments.withDiamondOperator() : TypeArguments.withArguments(typeArgs); + } + + static final class GTToken extends Token { + int realKind = ASTParserConstants.GT; + + GTToken(int kind, String image) { + this.kind = kind; + this.image = image; + } + + public static Token newToken(int kind, String image) { + return new GTToken(kind, image); + } + } + + private static class RangedList { + Range range = Range.UNKNOWN; + List list; + RangedList(List list) { + this.list = list; + } + void beginAt(Position begin) { + range=range.withBegin(begin); + } + void endAt(Position end) { + range=range.withEnd(end); + } + void add(T t) { + if (list == null) { + list = new LinkedList(); + } + list.add(t); + } + } + + private Position tokenBegin() { + return pos(token.beginLine,token.beginColumn); + } + + private Position tokenEnd() { + return pos(token.endLine,token.endColumn); + } + + private Range tokenRange() { + return range(token.beginLine, token.beginColumn, token.endLine, token.endColumn); + } +} + +PARSER_END(ASTParser) + +/* WHITE SPACE */ + +SKIP : +{ + " " +| "\t" +| "\n" +| "\r" +| "\f" +| "\u0085" +| "\u00A0" +| "\u1680" +| "\u180e" +| "\u2000" +| "\u2001" +| "\u2002" +| "\u2003" +| "\u2004" +| "\u2005" +| "\u2006" +| "\u2007" +| "\u2008" +| "\u2009" +| "\u200a" +| "\u200b" +| "\u200c" +| "\u200d" +| "\u2028" +| "\u2029" +| "\u202f" +| "\u205f" +| "\u2060" +| "\u3000" +| "\ufeff" +} + +TOKEN_MGR_DECLS : +{ + private List tokens = new ArrayList(); + + List getTokens() { + return tokens; + } + + private void CommonTokenAction(Token token) { + tokens.add(token); + } +} + +/* COMMENTS */ + +SPECIAL_TOKEN : +{ + +} + +MORE : +{ + <"/**" ~["/"]> { input_stream.backup(1); } : IN_JAVA_DOC_COMMENT +| + <"/*"> : IN_MULTI_LINE_COMMENT +} + + +SPECIAL_TOKEN : +{ + : DEFAULT +} + + +SPECIAL_TOKEN : +{ + : DEFAULT +} + + +MORE : +{ + < ~[] > +} + +/* RESERVED WORDS AND LITERALS */ + +TOKEN : +{ + < ABSTRACT: "abstract" > +| < ASSERT: "assert" > +| < BOOLEAN: "boolean" > +| < BREAK: "break" > +| < BYTE: "byte" > +| < CASE: "case" > +| < CATCH: "catch" > +| < CHAR: "char" > +| < CLASS: "class" > +| < CONST: "const" > +| < CONTINUE: "continue" > +| < _DEFAULT: "default" > +| < DO: "do" > +| < DOUBLE: "double" > +| < ELSE: "else" > +| < ENUM: "enum" > +| < EXTENDS: "extends" > +| < FALSE: "false" > +| < FINAL: "final" > +| < FINALLY: "finally" > +| < FLOAT: "float" > +| < FOR: "for" > +| < GOTO: "goto" > +| < IF: "if" > +| < IMPLEMENTS: "implements" > +| < IMPORT: "import" > +| < INSTANCEOF: "instanceof" > +| < INT: "int" > +| < INTERFACE: "interface" > +| < LONG: "long" > +| < NATIVE: "native" > +| < NEW: "new" > +| < NULL: "null" > +| < PACKAGE: "package"> +| < PRIVATE: "private" > +| < PROTECTED: "protected" > +| < PUBLIC: "public" > +| < RETURN: "return" > +| < SHORT: "short" > +| < STATIC: "static" > +| < STRICTFP: "strictfp" > +| < SUPER: "super" > +| < SWITCH: "switch" > +| < SYNCHRONIZED: "synchronized" > +| < THIS: "this" > +| < THROW: "throw" > +| < THROWS: "throws" > +| < TRANSIENT: "transient" > +| < TRUE: "true" > +| < TRY: "try" > +| < VOID: "void" > +| < VOLATILE: "volatile" > +| < WHILE: "while" > +} + +/* LITERALS */ + +TOKEN : +{ + < LONG_LITERAL: + (["l","L"]) + | (["l","L"]) + | (["l","L"]) + | (["l","L"]) + > +| + < INTEGER_LITERAL: + + | + | + | + > +| + < #DECIMAL_LITERAL: (["0"-"9"]((["0"-"9","_"])*["0"-"9"])?) > +| + < #HEX_LITERAL: "0" ["x","X"] (["0"-"9","a"-"f","A"-"F"]((["0"-"9","a"-"f","A"-"F","_"])*["0"-"9","a"-"f","A"-"F"])?) > +| + < #OCTAL_LITERAL: "0" (["0"-"7"]((["0"-"7","_"])*["0"-"7"])?) > +| + < #BINARY_LITERAL: "0" ["b","B"] (["0","1"]((["0","1","_"])*["0","1"])?) > +| + < FLOATING_POINT_LITERAL: + + | + > +| + < #DECIMAL_FLOATING_POINT_LITERAL: + ()+ "." ()* ()? (["f","F","d","D"])? + | "." ()+ ()? (["f","F","d","D"])? + | ()+ (["f","F","d","D"])? + | ()+ ()? ["f","F","d","D"] + > +| + < #DECIMAL_EXPONENT: ["e","E"] (["+","-"])? ()+ > +| + < #HEXADECIMAL_FLOATING_POINT_LITERAL: + "0" ["x", "X"] (["0"-"9","a"-"f","A"-"F"])+ (".")? (["f","F","d","D"])? + | "0" ["x", "X"] (["0"-"9","a"-"f","A"-"F"])* "." (["0"-"9","a"-"f","A"-"F"])+ (["f","F","d","D"])? + > +| + < #HEXADECIMAL_EXPONENT: ["p","P"] (["+","-"])? (["0"-"9"])+ > +| + < CHARACTER_LITERAL: + "'" + ( (~["'","\\","\n","\r"]) + | ("\\" + ( ["n","t","b","r","f","\\","'","\""] + | ["0"-"7"] ( ["0"-"7"] )? + | ["0"-"3"] ["0"-"7"] ["0"-"7"] + ) + ) + | ("\\u" + ["0"-"9","A"-"F","a"-"f"] + ["0"-"9","A"-"F","a"-"f"] + ["0"-"9","A"-"F","a"-"f"] + ["0"-"9","A"-"F","a"-"f"] + ) + ) + "'" + > +| + < STRING_LITERAL: + "\"" + ( (~["\"","\\","\n","\r"]) + | ("\\" + ( ["n","t","b","r","f","\\","'","\""] + | ["0"-"7"] ( ["0"-"7"] )? + | ["0"-"3"] ["0"-"7"] ["0"-"7"] + ) + ) + | ("\\u" + ["0"-"9","A"-"F","a"-"f"] + ["0"-"9","A"-"F","a"-"f"] + ["0"-"9","A"-"F","a"-"f"] + ["0"-"9","A"-"F","a"-"f"] + ) + )* + "\"" + > +} + +/* IDENTIFIERS */ + +TOKEN : +{ + < IDENTIFIER: ()* > +| + < #LETTER: + [ // all chars for which Character.isIdentifierStart is true + "\u0024", // "$" + "\u0041"-"\u005a", // "A"-"Z" + "\u005f", // "_" + "\u0061"-"\u007a", // "a"-"z" + "\u00a2"-"\u00a5", + "\u00aa", + "\u00b5", + "\u00ba", + "\u00c0"-"\u00d6", + "\u00d8"-"\u00f6", + "\u00f8"-"\u0236", + "\u0250"-"\u02c1", + "\u02c6"-"\u02d1", + "\u02e0"-"\u02e4", + "\u02ee", + "\u037a", + "\u0386", + "\u0388"-"\u038a", + "\u038c", + "\u038e"-"\u03a1", + "\u03a3"-"\u03ce", + "\u03d0"-"\u03f5", + "\u03f7"-"\u03fb", + "\u0400"-"\u0481", + "\u048a"-"\u04ce", + "\u04d0"-"\u04f5", + "\u04f8"-"\u04f9", + "\u0500"-"\u050f", + "\u0531"-"\u0556", + "\u0559", + "\u0561"-"\u0587", + "\u05d0"-"\u05ea", + "\u05f0"-"\u05f2", + "\u0621"-"\u063a", + "\u0640"-"\u064a", + "\u066e"-"\u066f", + "\u0671"-"\u06d3", + "\u06d5", + "\u06e5"-"\u06e6", + "\u06ee"-"\u06ef", + "\u06fa"-"\u06fc", + "\u06ff", + "\u0710", + "\u0712"-"\u072f", + "\u074d"-"\u074f", + "\u0780"-"\u07a5", + "\u07b1", + "\u0904"-"\u0939", + "\u093d", + "\u0950", + "\u0958"-"\u0961", + "\u0985"-"\u098c", + "\u098f"-"\u0990", + "\u0993"-"\u09a8", + "\u09aa"-"\u09b0", + "\u09b2", + "\u09b6"-"\u09b9", + "\u09bd", + "\u09dc"-"\u09dd", + "\u09df"-"\u09e1", + "\u09f0"-"\u09f3", + "\u0a05"-"\u0a0a", + "\u0a0f"-"\u0a10", + "\u0a13"-"\u0a28", + "\u0a2a"-"\u0a30", + "\u0a32"-"\u0a33", + "\u0a35"-"\u0a36", + "\u0a38"-"\u0a39", + "\u0a59"-"\u0a5c", + "\u0a5e", + "\u0a72"-"\u0a74", + "\u0a85"-"\u0a8d", + "\u0a8f"-"\u0a91", + "\u0a93"-"\u0aa8", + "\u0aaa"-"\u0ab0", + "\u0ab2"-"\u0ab3", + "\u0ab5"-"\u0ab9", + "\u0abd", + "\u0ad0", + "\u0ae0"-"\u0ae1", + "\u0af1", + "\u0b05"-"\u0b0c", + "\u0b0f"-"\u0b10", + "\u0b13"-"\u0b28", + "\u0b2a"-"\u0b30", + "\u0b32"-"\u0b33", + "\u0b35"-"\u0b39", + "\u0b3d", + "\u0b5c"-"\u0b5d", + "\u0b5f"-"\u0b61", + "\u0b71", + "\u0b83", + "\u0b85"-"\u0b8a", + "\u0b8e"-"\u0b90", + "\u0b92"-"\u0b95", + "\u0b99"-"\u0b9a", + "\u0b9c", + "\u0b9e"-"\u0b9f", + "\u0ba3"-"\u0ba4", + "\u0ba8"-"\u0baa", + "\u0bae"-"\u0bb5", + "\u0bb7"-"\u0bb9", + "\u0bf9", + "\u0c05"-"\u0c0c", + "\u0c0e"-"\u0c10", + "\u0c12"-"\u0c28", + "\u0c2a"-"\u0c33", + "\u0c35"-"\u0c39", + "\u0c60"-"\u0c61", + "\u0c85"-"\u0c8c", + "\u0c8e"-"\u0c90", + "\u0c92"-"\u0ca8", + "\u0caa"-"\u0cb3", + "\u0cb5"-"\u0cb9", + "\u0cbd", + "\u0cde", + "\u0ce0"-"\u0ce1", + "\u0d05"-"\u0d0c", + "\u0d0e"-"\u0d10", + "\u0d12"-"\u0d28", + "\u0d2a"-"\u0d39", + "\u0d60"-"\u0d61", + "\u0d85"-"\u0d96", + "\u0d9a"-"\u0db1", + "\u0db3"-"\u0dbb", + "\u0dbd", + "\u0dc0"-"\u0dc6", + "\u0e01"-"\u0e30", + "\u0e32"-"\u0e33", + "\u0e3f"-"\u0e46", + "\u0e81"-"\u0e82", + "\u0e84", + "\u0e87"-"\u0e88", + "\u0e8a", + "\u0e8d", + "\u0e94"-"\u0e97", + "\u0e99"-"\u0e9f", + "\u0ea1"-"\u0ea3", + "\u0ea5", + "\u0ea7", + "\u0eaa"-"\u0eab", + "\u0ead"-"\u0eb0", + "\u0eb2"-"\u0eb3", + "\u0ebd", + "\u0ec0"-"\u0ec4", + "\u0ec6", + "\u0edc"-"\u0edd", + "\u0f00", + "\u0f40"-"\u0f47", + "\u0f49"-"\u0f6a", + "\u0f88"-"\u0f8b", + "\u1000"-"\u1021", + "\u1023"-"\u1027", + "\u1029"-"\u102a", + "\u1050"-"\u1055", + "\u10a0"-"\u10c5", + "\u10d0"-"\u10f8", + "\u1100"-"\u1159", + "\u115f"-"\u11a2", + "\u11a8"-"\u11f9", + "\u1200"-"\u1206", + "\u1208"-"\u1246", + "\u1248", + "\u124a"-"\u124d", + "\u1250"-"\u1256", + "\u1258", + "\u125a"-"\u125d", + "\u1260"-"\u1286", + "\u1288", + "\u128a"-"\u128d", + "\u1290"-"\u12ae", + "\u12b0", + "\u12b2"-"\u12b5", + "\u12b8"-"\u12be", + "\u12c0", + "\u12c2"-"\u12c5", + "\u12c8"-"\u12ce", + "\u12d0"-"\u12d6", + "\u12d8"-"\u12ee", + "\u12f0"-"\u130e", + "\u1310", + "\u1312"-"\u1315", + "\u1318"-"\u131e", + "\u1320"-"\u1346", + "\u1348"-"\u135a", + "\u13a0"-"\u13f4", + "\u1401"-"\u166c", + "\u166f"-"\u1676", + "\u1681"-"\u169a", + "\u16a0"-"\u16ea", + "\u16ee"-"\u16f0", + "\u1700"-"\u170c", + "\u170e"-"\u1711", + "\u1720"-"\u1731", + "\u1740"-"\u1751", + "\u1760"-"\u176c", + "\u176e"-"\u1770", + "\u1780"-"\u17b3", + "\u17d7", + "\u17db"-"\u17dc", + "\u1820"-"\u1877", + "\u1880"-"\u18a8", + "\u1900"-"\u191c", + "\u1950"-"\u196d", + "\u1970"-"\u1974", + "\u1d00"-"\u1d6b", + "\u1e00"-"\u1e9b", + "\u1ea0"-"\u1ef9", + "\u1f00"-"\u1f15", + "\u1f18"-"\u1f1d", + "\u1f20"-"\u1f45", + "\u1f48"-"\u1f4d", + "\u1f50"-"\u1f57", + "\u1f59", + "\u1f5b", + "\u1f5d", + "\u1f5f"-"\u1f7d", + "\u1f80"-"\u1fb4", + "\u1fb6"-"\u1fbc", + "\u1fbe", + "\u1fc2"-"\u1fc4", + "\u1fc6"-"\u1fcc", + "\u1fd0"-"\u1fd3", + "\u1fd6"-"\u1fdb", + "\u1fe0"-"\u1fec", + "\u1ff2"-"\u1ff4", + "\u1ff6"-"\u1ffc", + "\u203f"-"\u2040", + "\u2054", + "\u2071", + "\u207f", + "\u20a0"-"\u20b1", + "\u2102", + "\u2107", + "\u210a"-"\u2113", + "\u2115", + "\u2119"-"\u211d", + "\u2124", + "\u2126", + "\u2128", + "\u212a"-"\u212d", + "\u212f"-"\u2131", + "\u2133"-"\u2139", + "\u213d"-"\u213f", + "\u2145"-"\u2149", + "\u2160"-"\u2183", + "\u3005"-"\u3007", + "\u3021"-"\u3029", + "\u3031"-"\u3035", + "\u3038"-"\u303c", + "\u3041"-"\u3096", + "\u309d"-"\u309f", + "\u30a1"-"\u30ff", + "\u3105"-"\u312c", + "\u3131"-"\u318e", + "\u31a0"-"\u31b7", + "\u31f0"-"\u31ff", + "\u3400"-"\u4db5", + "\u4e00"-"\u9fa5", + "\ua000"-"\ua48c", + "\uac00"-"\ud7a3", + "\ud801", //for supplementary characters suport + "\ud802", //for supplementary characters suport + "\uf900"-"\ufa2d", + "\ufa30"-"\ufa6a", + "\ufb00"-"\ufb06", + "\ufb13"-"\ufb17", + "\ufb1d", + "\ufb1f"-"\ufb28", + "\ufb2a"-"\ufb36", + "\ufb38"-"\ufb3c", + "\ufb3e", + "\ufb40"-"\ufb41", + "\ufb43"-"\ufb44", + "\ufb46"-"\ufbb1", + "\ufbd3"-"\ufd3d", + "\ufd50"-"\ufd8f", + "\ufd92"-"\ufdc7", + "\ufdf0"-"\ufdfc", + "\ufe33"-"\ufe34", + "\ufe4d"-"\ufe4f", + "\ufe69", + "\ufe70"-"\ufe74", + "\ufe76"-"\ufefc", + "\uff04", + "\uff21"-"\uff3a", + "\uff3f", + "\uff41"-"\uff5a", + "\uff65"-"\uffbe", + "\uffc2"-"\uffc7", + "\uffca"-"\uffcf", + "\uffd2"-"\uffd7", + "\uffda"-"\uffdc", + "\uffe0"-"\uffe1", + "\uffe5"-"\uffe6" + ] + > +| + < #PART_LETTER: + [ // all chars for which Character.isIdentifierPart is true + "\u0000"-"\u0008", + "\u000e"-"\u001b", + "\u0024", // "$" + "\u0030"-"\u0039", // "0"-"9" + "\u0041"-"\u005a", // "A"-"Z" + "\u005f", // "_" + "\u0061"-"\u007a", // "a"-"z" + "\u007f"-"\u009f", + "\u00a2"-"\u00a5", + "\u00aa", + "\u00ad", + "\u00b5", + "\u00ba", + "\u00c0"-"\u00d6", + "\u00d8"-"\u00f6", + "\u00f8"-"\u0236", + "\u0250"-"\u02c1", + "\u02c6"-"\u02d1", + "\u02e0"-"\u02e4", + "\u02ee", + "\u0300"-"\u0357", + "\u035d"-"\u036f", + "\u037a", + "\u0386", + "\u0388"-"\u038a", + "\u038c", + "\u038e"-"\u03a1", + "\u03a3"-"\u03ce", + "\u03d0"-"\u03f5", + "\u03f7"-"\u03fb", + "\u0400"-"\u0481", + "\u0483"-"\u0486", + "\u048a"-"\u04ce", + "\u04d0"-"\u04f5", + "\u04f8"-"\u04f9", + "\u0500"-"\u050f", + "\u0531"-"\u0556", + "\u0559", + "\u0561"-"\u0587", + "\u0591"-"\u05a1", + "\u05a3"-"\u05b9", + "\u05bb"-"\u05bd", + "\u05bf", + "\u05c1"-"\u05c2", + "\u05c4", + "\u05d0"-"\u05ea", + "\u05f0"-"\u05f2", + "\u0600"-"\u0603", + "\u0610"-"\u0615", + "\u0621"-"\u063a", + "\u0640"-"\u0658", + "\u0660"-"\u0669", + "\u066e"-"\u06d3", + "\u06d5"-"\u06dd", + "\u06df"-"\u06e8", + "\u06ea"-"\u06fc", + "\u06ff", + "\u070f"-"\u074a", + "\u074d"-"\u074f", + "\u0780"-"\u07b1", + "\u0901"-"\u0939", + "\u093c"-"\u094d", + "\u0950"-"\u0954", + "\u0958"-"\u0963", + "\u0966"-"\u096f", + "\u0981"-"\u0983", + "\u0985"-"\u098c", + "\u098f"-"\u0990", + "\u0993"-"\u09a8", + "\u09aa"-"\u09b0", + "\u09b2", + "\u09b6"-"\u09b9", + "\u09bc"-"\u09c4", + "\u09c7"-"\u09c8", + "\u09cb"-"\u09cd", + "\u09d7", + "\u09dc"-"\u09dd", + "\u09df"-"\u09e3", + "\u09e6"-"\u09f3", + "\u0a01"-"\u0a03", + "\u0a05"-"\u0a0a", + "\u0a0f"-"\u0a10", + "\u0a13"-"\u0a28", + "\u0a2a"-"\u0a30", + "\u0a32"-"\u0a33", + "\u0a35"-"\u0a36", + "\u0a38"-"\u0a39", + "\u0a3c", + "\u0a3e"-"\u0a42", + "\u0a47"-"\u0a48", + "\u0a4b"-"\u0a4d", + "\u0a59"-"\u0a5c", + "\u0a5e", + "\u0a66"-"\u0a74", + "\u0a81"-"\u0a83", + "\u0a85"-"\u0a8d", + "\u0a8f"-"\u0a91", + "\u0a93"-"\u0aa8", + "\u0aaa"-"\u0ab0", + "\u0ab2"-"\u0ab3", + "\u0ab5"-"\u0ab9", + "\u0abc"-"\u0ac5", + "\u0ac7"-"\u0ac9", + "\u0acb"-"\u0acd", + "\u0ad0", + "\u0ae0"-"\u0ae3", + "\u0ae6"-"\u0aef", + "\u0af1", + "\u0b01"-"\u0b03", + "\u0b05"-"\u0b0c", + "\u0b0f"-"\u0b10", + "\u0b13"-"\u0b28", + "\u0b2a"-"\u0b30", + "\u0b32"-"\u0b33", + "\u0b35"-"\u0b39", + "\u0b3c"-"\u0b43", + "\u0b47"-"\u0b48", + "\u0b4b"-"\u0b4d", + "\u0b56"-"\u0b57", + "\u0b5c"-"\u0b5d", + "\u0b5f"-"\u0b61", + "\u0b66"-"\u0b6f", + "\u0b71", + "\u0b82"-"\u0b83", + "\u0b85"-"\u0b8a", + "\u0b8e"-"\u0b90", + "\u0b92"-"\u0b95", + "\u0b99"-"\u0b9a", + "\u0b9c", + "\u0b9e"-"\u0b9f", + "\u0ba3"-"\u0ba4", + "\u0ba8"-"\u0baa", + "\u0bae"-"\u0bb5", + "\u0bb7"-"\u0bb9", + "\u0bbe"-"\u0bc2", + "\u0bc6"-"\u0bc8", + "\u0bca"-"\u0bcd", + "\u0bd7", + "\u0be7"-"\u0bef", + "\u0bf9", + "\u0c01"-"\u0c03", + "\u0c05"-"\u0c0c", + "\u0c0e"-"\u0c10", + "\u0c12"-"\u0c28", + "\u0c2a"-"\u0c33", + "\u0c35"-"\u0c39", + "\u0c3e"-"\u0c44", + "\u0c46"-"\u0c48", + "\u0c4a"-"\u0c4d", + "\u0c55"-"\u0c56", + "\u0c60"-"\u0c61", + "\u0c66"-"\u0c6f", + "\u0c82"-"\u0c83", + "\u0c85"-"\u0c8c", + "\u0c8e"-"\u0c90", + "\u0c92"-"\u0ca8", + "\u0caa"-"\u0cb3", + "\u0cb5"-"\u0cb9", + "\u0cbc"-"\u0cc4", + "\u0cc6"-"\u0cc8", + "\u0cca"-"\u0ccd", + "\u0cd5"-"\u0cd6", + "\u0cde", + "\u0ce0"-"\u0ce1", + "\u0ce6"-"\u0cef", + "\u0d02"-"\u0d03", + "\u0d05"-"\u0d0c", + "\u0d0e"-"\u0d10", + "\u0d12"-"\u0d28", + "\u0d2a"-"\u0d39", + "\u0d3e"-"\u0d43", + "\u0d46"-"\u0d48", + "\u0d4a"-"\u0d4d", + "\u0d57", + "\u0d60"-"\u0d61", + "\u0d66"-"\u0d6f", + "\u0d82"-"\u0d83", + "\u0d85"-"\u0d96", + "\u0d9a"-"\u0db1", + "\u0db3"-"\u0dbb", + "\u0dbd", + "\u0dc0"-"\u0dc6", + "\u0dca", + "\u0dcf"-"\u0dd4", + "\u0dd6", + "\u0dd8"-"\u0ddf", + "\u0df2"-"\u0df3", + "\u0e01"-"\u0e3a", + "\u0e3f"-"\u0e4e", + "\u0e50"-"\u0e59", + "\u0e81"-"\u0e82", + "\u0e84", + "\u0e87"-"\u0e88", + "\u0e8a", + "\u0e8d", + "\u0e94"-"\u0e97", + "\u0e99"-"\u0e9f", + "\u0ea1"-"\u0ea3", + "\u0ea5", + "\u0ea7", + "\u0eaa"-"\u0eab", + "\u0ead"-"\u0eb9", + "\u0ebb"-"\u0ebd", + "\u0ec0"-"\u0ec4", + "\u0ec6", + "\u0ec8"-"\u0ecd", + "\u0ed0"-"\u0ed9", + "\u0edc"-"\u0edd", + "\u0f00", + "\u0f18"-"\u0f19", + "\u0f20"-"\u0f29", + "\u0f35", + "\u0f37", + "\u0f39", + "\u0f3e"-"\u0f47", + "\u0f49"-"\u0f6a", + "\u0f71"-"\u0f84", + "\u0f86"-"\u0f8b", + "\u0f90"-"\u0f97", + "\u0f99"-"\u0fbc", + "\u0fc6", + "\u1000"-"\u1021", + "\u1023"-"\u1027", + "\u1029"-"\u102a", + "\u102c"-"\u1032", + "\u1036"-"\u1039", + "\u1040"-"\u1049", + "\u1050"-"\u1059", + "\u10a0"-"\u10c5", + "\u10d0"-"\u10f8", + "\u1100"-"\u1159", + "\u115f"-"\u11a2", + "\u11a8"-"\u11f9", + "\u1200"-"\u1206", + "\u1208"-"\u1246", + "\u1248", + "\u124a"-"\u124d", + "\u1250"-"\u1256", + "\u1258", + "\u125a"-"\u125d", + "\u1260"-"\u1286", + "\u1288", + "\u128a"-"\u128d", + "\u1290"-"\u12ae", + "\u12b0", + "\u12b2"-"\u12b5", + "\u12b8"-"\u12be", + "\u12c0", + "\u12c2"-"\u12c5", + "\u12c8"-"\u12ce", + "\u12d0"-"\u12d6", + "\u12d8"-"\u12ee", + "\u12f0"-"\u130e", + "\u1310", + "\u1312"-"\u1315", + "\u1318"-"\u131e", + "\u1320"-"\u1346", + "\u1348"-"\u135a", + "\u1369"-"\u1371", + "\u13a0"-"\u13f4", + "\u1401"-"\u166c", + "\u166f"-"\u1676", + "\u1681"-"\u169a", + "\u16a0"-"\u16ea", + "\u16ee"-"\u16f0", + "\u1700"-"\u170c", + "\u170e"-"\u1714", + "\u1720"-"\u1734", + "\u1740"-"\u1753", + "\u1760"-"\u176c", + "\u176e"-"\u1770", + "\u1772"-"\u1773", + "\u1780"-"\u17d3", + "\u17d7", + "\u17db"-"\u17dd", + "\u17e0"-"\u17e9", + "\u180b"-"\u180d", + "\u1810"-"\u1819", + "\u1820"-"\u1877", + "\u1880"-"\u18a9", + "\u1900"-"\u191c", + "\u1920"-"\u192b", + "\u1930"-"\u193b", + "\u1946"-"\u196d", + "\u1970"-"\u1974", + "\u1d00"-"\u1d6b", + "\u1e00"-"\u1e9b", + "\u1ea0"-"\u1ef9", + "\u1f00"-"\u1f15", + "\u1f18"-"\u1f1d", + "\u1f20"-"\u1f45", + "\u1f48"-"\u1f4d", + "\u1f50"-"\u1f57", + "\u1f59", + "\u1f5b", + "\u1f5d", + "\u1f5f"-"\u1f7d", + "\u1f80"-"\u1fb4", + "\u1fb6"-"\u1fbc", + "\u1fbe", + "\u1fc2"-"\u1fc4", + "\u1fc6"-"\u1fcc", + "\u1fd0"-"\u1fd3", + "\u1fd6"-"\u1fdb", + "\u1fe0"-"\u1fec", + "\u1ff2"-"\u1ff4", + "\u1ff6"-"\u1ffc", + "\u200c"-"\u200f", + "\u202a"-"\u202e", + "\u203f"-"\u2040", + "\u2054", + "\u2060"-"\u2063", + "\u206a"-"\u206f", + "\u2071", + "\u207f", + "\u20a0"-"\u20b1", + "\u20d0"-"\u20dc", + "\u20e1", + "\u20e5"-"\u20ea", + "\u2102", + "\u2107", + "\u210a"-"\u2113", + "\u2115", + "\u2119"-"\u211d", + "\u2124", + "\u2126", + "\u2128", + "\u212a"-"\u212d", + "\u212f"-"\u2131", + "\u2133"-"\u2139", + "\u213d"-"\u213f", + "\u2145"-"\u2149", + "\u2160"-"\u2183", + "\u3005"-"\u3007", + "\u3021"-"\u302f", + "\u3031"-"\u3035", + "\u3038"-"\u303c", + "\u3041"-"\u3096", + "\u3099"-"\u309a", + "\u309d"-"\u309f", + "\u30a1"-"\u30ff", + "\u3105"-"\u312c", + "\u3131"-"\u318e", + "\u31a0"-"\u31b7", + "\u31f0"-"\u31ff", + "\u3400"-"\u4db5", + "\u4e00"-"\u9fa5", + "\ua000"-"\ua48c", + "\uac00"-"\ud7a3", + "\ud801", //for supplementary characters suport + "\ud802", //for supplementary characters suport + "\ud834", //for supplementary characters suport + "\udc00", //for supplementary characters suport + "\udc01", //for supplementary characters suport + "\udd7b", //for supplementary characters suport + "\uf900"-"\ufa2d", + "\ufa30"-"\ufa6a", + "\ufb00"-"\ufb06", + "\ufb13"-"\ufb17", + "\ufb1d"-"\ufb28", + "\ufb2a"-"\ufb36", + "\ufb38"-"\ufb3c", + "\ufb3e", + "\ufb40"-"\ufb41", + "\ufb43"-"\ufb44", + "\ufb46"-"\ufbb1", + "\ufbd3"-"\ufd3d", + "\ufd50"-"\ufd8f", + "\ufd92"-"\ufdc7", + "\ufdf0"-"\ufdfc", + "\ufe00"-"\ufe0f", + "\ufe20"-"\ufe23", + "\ufe33"-"\ufe34", + "\ufe4d"-"\ufe4f", + "\ufe69", + "\ufe70"-"\ufe74", + "\ufe76"-"\ufefc", + "\ufeff", + "\uff04", + "\uff10"-"\uff19", + "\uff21"-"\uff3a", + "\uff3f", + "\uff41"-"\uff5a", + "\uff65"-"\uffbe", + "\uffc2"-"\uffc7", + "\uffca"-"\uffcf", + "\uffd2"-"\uffd7", + "\uffda"-"\uffdc", + "\uffe0"-"\uffe1", + "\uffe5"-"\uffe6", + "\ufff9"-"\ufffb" + ] + > +} + +/* SEPARATORS */ + +TOKEN : +{ + < LPAREN: "(" > +| < RPAREN: ")" > +| < LBRACE: "{" > +| < RBRACE: "}" > +| < LBRACKET: "[" > +| < RBRACKET: "]" > +| < SEMICOLON: ";" > +| < COMMA: "," > +| < DOT: "." > +| < AT: "@" > +} + +/* OPERATORS */ + +TOKEN : +{ + < ASSIGN: "=" > +| < LT: "<" > +| < BANG: "!" > +| < TILDE: "~" > +| < HOOK: "?" > +| < COLON: ":" > +| < EQ: "==" > +| < LE: "<=" > +| < GE: ">=" > +| < NE: "!=" > +| < SC_OR: "||" > +| < SC_AND: "&&" > +| < INCR: "++" > +| < DECR: "--" > +| < PLUS: "+" > +| < MINUS: "-" > +| < STAR: "*" > +| < SLASH: "/" > +| < BIT_AND: "&" > +| < BIT_OR: "|" > +| < XOR: "^" > +| < REM: "%" > +| < LSHIFT: "<<" > +| < PLUSASSIGN: "+=" > +| < MINUSASSIGN: "-=" > +| < STARASSIGN: "*=" > +| < SLASHASSIGN: "/=" > +| < ANDASSIGN: "&=" > +| < ORASSIGN: "|=" > +| < XORASSIGN: "^=" > +| < REMASSIGN: "%=" > +| < LSHIFTASSIGN: "<<=" > +| < RSIGNEDSHIFTASSIGN: ">>=" > +| < RUNSIGNEDSHIFTASSIGN: ">>>=" > +| < ELLIPSIS: "..." > +| < ARROW: "->" > +| < DOUBLECOLON: "::" > +} + +/* >'s need special attention due to generics syntax. */ +TOKEN : +{ + < RUNSIGNEDSHIFT: ">>>" > + { + matchedToken.kind = GT; + ((ASTParser.GTToken)matchedToken).realKind = RUNSIGNEDSHIFT; + input_stream.backup(2); + } +| < RSIGNEDSHIFT: ">>" > + { + matchedToken.kind = GT; + ((ASTParser.GTToken)matchedToken).realKind = RSIGNEDSHIFT; + input_stream.backup(1); + } +| < GT: ">" > +} + + +/***************************************** + * THE JAVA LANGUAGE GRAMMAR STARTS HERE * + *****************************************/ + +/* + * Program structuring syntax follows. + */ + +CompilationUnit CompilationUnit(): +{ + PackageDeclaration pakage = null; + List imports = null; + ImportDeclaration in = null; + List> types = null; + TypeDeclaration tn = null; + Position begin = INVALID; +} +{ + [ LOOKAHEAD(PackageDeclaration()) pakage = PackageDeclaration() {begin = begin.orIfInvalid(pakage.getBegin());} ] + ( in = ImportDeclaration() { begin = begin.orIfInvalid(in.getBegin()); imports = add(imports, in); } | + in = EmptyImportDeclaration() { begin = begin.orIfInvalid(in.getBegin()); imports = add(imports, in); } )* + ( tn = TypeDeclaration() { begin = begin.orIfInvalid(tn.getBegin()); types = add(types, tn); } )* + ( | "\u001A" /** ctrl+z char **/) + { return new CompilationUnit(begin.invalid() ? Range.UNKNOWN : range(begin, tokenEnd()), pakage, imports, types); } +} + +ImportDeclaration EmptyImportDeclaration(): +{ + Position begin; +} +{ + ";" {begin = tokenBegin();} + { return ImportDeclaration.createEmptyDeclaration(range(begin, tokenEnd())); } +} + +PackageDeclaration PackageDeclaration(): +{ + List annotations = null; + AnnotationExpr ann; + NameExpr name; + Position begin; +} +{ +( ann = Annotation() { annotations = add(annotations, ann); } )* + "package" {begin = tokenBegin();} name = Name() ";" + { return new PackageDeclaration(range(begin, tokenEnd()), annotations, name); } +} + +ImportDeclaration ImportDeclaration(): +{ + NameExpr name; + boolean isStatic = false; + boolean isAsterisk = false; + Position begin; +} +{ + "import" {begin = tokenBegin();} + [ "static" { isStatic = true; } ] + name = Name() + [ "." "*" { isAsterisk = true; } ] ";" + { return new ImportDeclaration(range(begin, tokenEnd()),name, isStatic, isAsterisk); } +} + +/* + * Modifiers. We match all modifiers in a single rule to reduce the chances of + * syntax errors for simple modifier mistakes. It will also enable us to give + * better error messages. + */ + +ModifierHolder Modifiers(): +{ + Position begin = INVALID; + EnumSet modifiers = EnumSet.noneOf(Modifier.class); + List annotations = null; + AnnotationExpr ann; +} +{ + ( + LOOKAHEAD(2) + ( + "public" { addModifier(modifiers, Modifier.PUBLIC, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "static" { addModifier(modifiers, Modifier.STATIC, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "protected" { addModifier(modifiers, Modifier.PROTECTED, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "private" { addModifier(modifiers, Modifier.PRIVATE, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "final" { addModifier(modifiers, Modifier.FINAL, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "abstract" { addModifier(modifiers, Modifier.ABSTRACT, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "synchronized" { addModifier(modifiers, Modifier.SYNCHRONIZED, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "native" { addModifier(modifiers, Modifier.NATIVE, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "transient" { addModifier(modifiers, Modifier.TRANSIENT, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "volatile" { addModifier(modifiers, Modifier.VOLATILE, token); begin = begin.orIfInvalid(tokenBegin()); } + | + "strictfp" { addModifier(modifiers, Modifier.STRICTFP, token); begin = begin.orIfInvalid(tokenBegin()); } + | + ann = Annotation() { annotations = add(annotations, ann); begin = begin.orIfInvalid(ann.getBegin()); } + ) + )* + + { + return new ModifierHolder(begin, modifiers, annotations); + } +} + +/* + * Declaration syntax follows. + */ +TypeDeclaration TypeDeclaration(): +{ + ModifierHolder modifier; + TypeDeclaration ret; +} +{ + { } + ( + ";" { ret = new EmptyTypeDeclaration(tokenRange()); } + | + modifier = Modifiers() + ( + ret = ClassOrInterfaceDeclaration(modifier) + | + ret = EnumDeclaration(modifier) + | + ret = AnnotationTypeDeclaration(modifier) + ) + ) + { return ret; } +} + + +ClassOrInterfaceDeclaration ClassOrInterfaceDeclaration(ModifierHolder modifier): +{ + boolean isInterface = false; + NameExpr name; + RangedList typePar = new RangedList(null); + List extList = null; + List impList = null; + List> members; + Position begin = modifier.begin; +} +{ + ( "class" | "interface" { isInterface = true; } ) { begin = begin.orIfInvalid(tokenBegin()); } + name = Name() + [ typePar = TypeParameters() ] + [ extList = ExtendsList(isInterface) ] + [ impList = ImplementsList(isInterface) ] + members = ClassOrInterfaceBody(isInterface) + + { ClassOrInterfaceDeclaration tmp = new ClassOrInterfaceDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, isInterface, null, typePar.list, extList, impList, members); + tmp.setNameExpr(name); + return tmp; + } +} + +List ExtendsList(boolean isInterface): +{ + boolean extendsMoreThanOne = false; + List ret = new LinkedList(); + ClassOrInterfaceType cit; + AnnotationExpr ann; + List annotations = null; +} +{ + "extends" (ann = Annotation() { annotations = add(annotations, ann);})* cit = ClassOrInterfaceType() { cit.setAnnotations(annotations); ret.add(cit); } + ( "," cit = ClassOrInterfaceType() { ret.add(cit); extendsMoreThanOne = true; } )* + { + if (extendsMoreThanOne && !isInterface) + throwParseException("A class cannot extend more than one other class"); + } + { return ret; } +} + +List ImplementsList(boolean isInterface): +{ + List ret = new LinkedList(); + ClassOrInterfaceType cit; +} +{ + "implements" cit = ClassOrInterfaceTypeWithAnnotations() { ret.add(cit); } + ( "," cit = ClassOrInterfaceTypeWithAnnotations() { ret.add(cit); } )* + { + if (isInterface) + throwParseException("An interface cannot implement other interfaces"); + } + { return ret; } +} + +EnumDeclaration EnumDeclaration(ModifierHolder modifier): +{ + NameExpr name; + List impList = null; + EnumConstantDeclaration entry; + List entries = null; + BodyDeclaration member; + List> members = null; + Position begin = modifier.begin; +} +{ + "enum" { begin = begin.orIfInvalid(tokenBegin()); } + name = Name() + [ impList = ImplementsList(false) ] + "{" + [ + { entries = new LinkedList(); } + entry = EnumConstantDeclaration() { entries.add(entry); } ( LOOKAHEAD(2) "," entry = EnumConstantDeclaration() { entries.add(entry); } )* + ] + [ "," ] + [ + ( ";" ( member = ClassOrInterfaceBodyDeclaration(false) { members = add(members, member); } )* ) + ] + "}" + + { + EnumDeclaration tmp = new EnumDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, null, impList, entries, members); + tmp.setNameExpr(name); + return tmp; + } +} + + +EnumConstantDeclaration EnumConstantDeclaration(): +{ + List annotations = null; + AnnotationExpr ann; + String name; + List args = null; + List> classBody = null; + Position begin = INVALID; +} +{ + { } + ( ann = Annotation() { annotations = add(annotations, ann); begin = begin.orIfInvalid(ann.getBegin()); } )* + { name = token.image; begin = begin.orIfInvalid(tokenBegin()); } + [ args = Arguments() ] [ classBody = ClassOrInterfaceBody(false) ] + { + return new EnumConstantDeclaration(range(begin, tokenEnd()), annotations, name, args, classBody); + } +} + +/** + * If the list inside the returned RangedList is null, there are no brackets. + * If it is empty, there are brackets, but nothing is in them <>. + * The normal case is that it contains TypeParameters, like . + */ +RangedList TypeParameters(): +{ + RangedList ret = new RangedList(new LinkedList()); + TypeParameter tp; + List annotations = null; + AnnotationExpr ann; +} +{ + "<" { ret.beginAt(tokenBegin()); } + (ann = Annotation() { annotations = add(annotations, ann);})* + + tp = TypeParameter() { ret.add(tp); tp.setAnnotations(annotations); annotations = null; } + ( "," (ann = Annotation() { annotations = add(annotations, ann);})* tp = TypeParameter() { ret.add(tp); tp.setAnnotations(annotations); annotations = null; } )* + ">" { ret.endAt(tokenEnd()); } + { return ret; } +} + +TypeParameter TypeParameter(): +{ + String name; + List typeBound = null; + Position begin; +} +{ + { name = token.image; begin=tokenBegin(); } [ typeBound = TypeBound() ] + { return new TypeParameter(range(begin, tokenEnd()),name, typeBound); } +} + +List TypeBound(): +{ + List ret = new LinkedList(); + ClassOrInterfaceType cit; + AnnotationExpr ann; + List annotations = null; +} +{ + "extends" (ann = Annotation() { annotations = add(annotations, ann);})* cit = ClassOrInterfaceType() { cit.setAnnotations(annotations); ret.add(cit); annotations=null;} + ( "&" (ann = Annotation() { annotations = add(annotations, ann);})* cit = ClassOrInterfaceType() { cit.setAnnotations(annotations); ret.add(cit); annotations=null;} )* + { return ret; } +} + +List> ClassOrInterfaceBody(boolean isInterface): +{ + List> ret = new LinkedList>(); + BodyDeclaration member; +} +{ + "{" ( member = ClassOrInterfaceBodyDeclaration(isInterface) { ret.add(member); } )* "}" + { return ret; } +} + +BodyDeclaration ClassOrInterfaceBodyDeclaration(boolean isInterface): +{ + ModifierHolder modifier; + ModifierHolder modifier2 = null; + EnumSet aux = null; + BodyDeclaration ret; + boolean isDefault = false; +} +{ + { } + ( + LOOKAHEAD(2) + ret = InitializerDeclaration() + { + if (isInterface) + throwParseException("An interface cannot have initializers"); + } + | + modifier = Modifiers() [ "default" modifier2= Modifiers() + { + if(!isInterface) + { + throwParseException("A class cannot have default members"); + } + isDefault = true; + }] + + // Just get all the modifiers out of the way. If you want to do + // more checks, pass the modifiers down to the member + ( + ret = ClassOrInterfaceDeclaration(modifier) + | + ret = EnumDeclaration(modifier) + | + ret = AnnotationTypeDeclaration(modifier) + | + LOOKAHEAD( [ TypeParameters() ] "(" ) + ret = ConstructorDeclaration(modifier) + | + LOOKAHEAD( Type() ( "[" "]" )* ( "," | "=" | ";" ) ) + ret = FieldDeclaration(modifier) + | + ret = MethodDeclaration(modifier) + { + if(isDefault && ret!= null && ((MethodDeclaration)ret).getBody() == null) + { + throwParseException("\"default\" methods must have a body"); + } + ((MethodDeclaration)ret).setDefault(isDefault); + if(modifier2!= null) + { + aux = modifier2.modifiers; + } + addMultipleModifier(modifier.modifiers, aux, token); + ((MethodDeclaration)ret).setModifiers(modifier.modifiers); + } + ) + { + if(isDefault && ! (ret instanceof MethodDeclaration)) + { + throwParseException("Only methods can have the keyword \"default\"."); + } + } + | + ";" { ret = new EmptyMemberDeclaration(tokenRange()); } + ) + { return ret; } +} + +FieldDeclaration FieldDeclaration(ModifierHolder modifier): +{ + Type type; + List variables = new LinkedList(); + VariableDeclarator val; +} +{ + // Modifiers are already matched in the caller + type = Type() + val = VariableDeclarator() { variables.add(val); } + ( "," val = VariableDeclarator() { variables.add(val); } )* ";" + + { + Position begin = modifier.begin.orIfInvalid(type.getBegin()); + return new FieldDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, variables); + } +} + +VariableDeclarator VariableDeclarator(): +{ + VariableDeclaratorId id; + Expression init = null; +} +{ + id = VariableDeclaratorId() [ "=" init = VariableInitializer() ] + { return new VariableDeclarator(range(id.getBegin(), tokenEnd()), id, init); } +} + +VariableDeclaratorId VariableDeclaratorId(): +{ + String name; + int arrayCount = 0; + Position begin; +} +{ + { name = token.image; begin=tokenBegin();} ( "[" "]" { arrayCount++; } )* + { return new VariableDeclaratorId(range(begin, tokenEnd()),name, arrayCount); } +} + +Expression VariableInitializer(): +{ + Expression ret; +} +{ + ( + ret = ArrayInitializer() + | + ret = Expression() + ) + { return ret;} +} + +ArrayInitializerExpr ArrayInitializer(): +{ + List values = null; + Expression val; + Position begin; +} +{ + "{" {begin=tokenBegin();} [ val = VariableInitializer() { values = add(values, val); } ( LOOKAHEAD(2) "," val = VariableInitializer() { values = add(values, val); } )* ] [ "," ] "}" + { return new ArrayInitializerExpr(range(begin, tokenEnd()), values); } +} + +MethodDeclaration MethodDeclaration(ModifierHolder modifier): +{ + RangedList typeParameters = new RangedList(null); + Type type; + NameExpr name; + List parameters; + int arrayCount = 0; + List throws_ = null; + BlockStmt block = null; + Position beginPos = modifier.begin; + ReferenceType throwType; +} +{ + // Modifiers already matched in the caller! + [ typeParameters = TypeParameters() { if(beginPos.line==-1){ beginPos=typeParameters.range.begin;} } ] + type = ResultType() { if(beginPos.line==-1){beginPos=type.getBegin();}} + name = Name() parameters = FormalParameters() ( "[" "]" { arrayCount++; } )* + [ "throws" throwType = ReferenceTypeWithAnnotations() { throws_ = add(throws_, throwType); } + ("," throwType = ReferenceTypeWithAnnotations() { throws_ = add(throws_, throwType); })* ] + ( block = Block() | ";" ) + { + MethodDeclaration tmp = new MethodDeclaration(range(beginPos, pos(token.endLine, token.endColumn)), modifier.modifiers, modifier.annotations, typeParameters.list, type, null, parameters, arrayCount, throws_, block); + tmp.setNameExpr(name); + return tmp; + } +} + +ReferenceType ReferenceTypeWithAnnotations(): +{ + List annotations = new ArrayList(); + AnnotationExpr annotation = null; + ReferenceType type; +} +{ + (annotation = Annotation() { annotations = add(annotations, annotation); } )* type = ReferenceType() { + if (type.getAnnotations() != null) { + type.getAnnotations().addAll(annotations); + } else { + type.setAnnotations(annotations); + } + return type; + } +} + +List FormalParameters(): +{ + List ret = null; + Parameter par; +} +{ + "(" [ par = FormalParameter() { ret = add(ret, par); } ( "," par = FormalParameter() { ret = add(ret, par); } )* ] ")" + + { return ret; } +} + +List FormalLambdaParameters(): +{ + List ret = null; + Parameter par; +} +{ + "," + par = FormalParameter() { ret = add(ret, par); } ( "," par = FormalParameter() { ret = add(ret, par); } )* + { return ret; } +} + +List InferredLambdaParameters(): +{ + List ret = null; + VariableDeclaratorId id; +} +{ + "," + id = VariableDeclaratorId() { ret = add(ret, new Parameter(range(id.getBegin(), id.getEnd()), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id));} + ( + "," id = VariableDeclaratorId() { ret = add(ret, new Parameter(range(id.getBegin(), id.getEnd()), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id)); } + )* + { return ret; } +} + +Parameter FormalParameter(): +{ + ModifierHolder modifier; + Type type; + boolean isVarArg = false; + VariableDeclaratorId id; +} +{ + modifier = Modifiers() type = Type() [ "..." { isVarArg = true;} ] id = VariableDeclaratorId() + + { + Position begin = modifier.begin.orIfInvalid(type.getBegin()); + return new Parameter(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, isVarArg, id); + } +} + +ConstructorDeclaration ConstructorDeclaration(ModifierHolder modifier): +{ + RangedList typeParameters = new RangedList(null); + NameExpr name; + List parameters; + List throws_ = null; + ExplicitConstructorInvocationStmt exConsInv = null; + List stmts; + Position begin = modifier.begin; + Position blockBegin = INVALID; + ReferenceType throwType; +} +{ + [ typeParameters = TypeParameters() { begin = begin.orIfInvalid(typeParameters.range.begin); } ] + // Modifiers matched in the caller + name = SimpleName() { begin = begin.orIfInvalid(typeParameters.range.begin); } parameters = FormalParameters() [ "throws" throwType = ReferenceTypeWithAnnotations() { throws_ = add(throws_, throwType); } + ("," throwType = ReferenceTypeWithAnnotations() { throws_ = add(throws_, throwType); })* ] + "{" { blockBegin=tokenBegin(); } + [ LOOKAHEAD(ExplicitConstructorInvocation()) exConsInv = ExplicitConstructorInvocation() ] + stmts = Statements() + "}" + + { + if (exConsInv != null) { + stmts = add(0, stmts, exConsInv); + } + ConstructorDeclaration tmp = new ConstructorDeclaration(range(begin, pos(token.endLine, token.endColumn)), modifier.modifiers, modifier.annotations, typeParameters.list, null, parameters, throws_, new BlockStmt(range(blockBegin, tokenEnd()), stmts)); + tmp.setNameExpr(name); + return tmp; + } +} + +ExplicitConstructorInvocationStmt ExplicitConstructorInvocation(): +{ + boolean isThis = false; + List args; + Expression expr = null; + RangedList typeArgs = new RangedList(null); + Position begin = INVALID; +} +{ + ( + LOOKAHEAD([ TypeArguments() ] "(") + [ typeArgs = TypeArguments() { begin=typeArgs.range.begin; } ] + { begin = begin.orIfInvalid(tokenBegin()); isThis = true; } + args = Arguments() ";" + | + [ + LOOKAHEAD( PrimaryExpressionWithoutSuperSuffix() "." ) + expr = PrimaryExpressionWithoutSuperSuffix() "." + { begin=expr.getBegin(); } + ] + [ typeArgs = TypeArguments() { begin = begin.orIfInvalid(typeArgs.range.begin); } ] + {begin = begin.orIfInvalid(tokenBegin());} + args = Arguments() ";" + ) + { return new ExplicitConstructorInvocationStmt(range(begin, tokenEnd()),typeArgs.list, isThis, expr, args); } +} + +List Statements(): +{ + List ret = null; + Statement stmt; +} +{ + ( stmt = BlockStatement() { ret = add(ret, stmt); } )* + { return ret; } +} + +InitializerDeclaration InitializerDeclaration(): +{ + BlockStmt block; + Position begin = INVALID; + boolean isStatic = false; +} +{ + [ "static" { isStatic = true; begin=tokenBegin();} ] + block = Block() {begin = begin.orIfInvalid(block.getBegin());} + { return new InitializerDeclaration(range(begin, tokenEnd()), isStatic, block); } +} + + +/* + * Type, name and expression syntax follows. + */ + +Type Type(): +{ + Type ret; +} +{ + ( + LOOKAHEAD(2) ret = ReferenceType() + | + ret = PrimitiveType() + ) + { return ret; } +} + +ReferenceType ReferenceType(): +{ + Type type; + int arrayCount = 0; + List annotations = null; + List> accum= null; + AnnotationExpr ann; +} +{ + ( + type = PrimitiveType() ( LOOKAHEAD(2) (ann = Annotation() { annotations = add(annotations, ann); })* "[" "]" { arrayCount++; accum = add(accum, annotations); annotations= null;} )+ + | + type = ClassOrInterfaceType() ( LOOKAHEAD(2) (ann = Annotation() { annotations = add(annotations, ann); })* "[" "]" { arrayCount++; accum = add(accum, annotations); annotations= null;} )* + ) + { return new ReferenceType(range(type.getBegin(), tokenEnd()), type, arrayCount, null, accum); } +} + +IntersectionType IntersectionType(): +{ + Position begin; + ReferenceType elementType; + List elements = null; +} +{ + elementType=ReferenceType() { begin=elementType.getBegin(); elements = add(elements, elementType); } + "&" (elementType=ReferenceType() { elements = add(elements, elementType); } )+ + { return new IntersectionType(range(begin, tokenEnd()), elements); } +} + +ClassOrInterfaceType ClassOrInterfaceType(): +{ + ClassOrInterfaceType ret; + String name; + RangedList typeArgs = new RangedList(null); + Position begin; + List annotations = null; + AnnotationExpr ann; +} +{ + {begin=tokenBegin();} { name = token.image; } + [ LOOKAHEAD(2) typeArgs = TypeArguments() ] + { + ret = new ClassOrInterfaceType(range(begin, tokenEnd()),null, name, createTypeArguments(typeArgs.list)); + } + ( + LOOKAHEAD(2) "." (ann = Annotation() { annotations = add(annotations, ann);})* { name = token.image; } + [ LOOKAHEAD(2) typeArgs = TypeArguments() ] + { + ret = new ClassOrInterfaceType(range(begin, tokenEnd()),ret, name, createTypeArguments(typeArgs.list)); + ret.setAnnotations(annotations); + annotations = null; + } + )* + { return ret; } +} + +ClassOrInterfaceType ClassOrInterfaceTypeWithAnnotations(): +{ + List annotations = new ArrayList(); + AnnotationExpr annotation = null; + ClassOrInterfaceType type; +} +{ + (annotation = Annotation() { annotations = add(annotations, annotation); } )* type = ClassOrInterfaceType() { + if (type.getAnnotations() != null) { + type.getAnnotations().addAll(annotations); + } else { + type.setAnnotations(annotations); + } + return type; + } +} + + +RangedList TypeArguments(): +{ + RangedList ret = new RangedList(new LinkedList()); + Type type; +} +{ + ( + "<" { ret.beginAt(tokenBegin()); } + (type = TypeArgument() { ret.add(type); } ( "," type = TypeArgument() { ret.add(type); } )*)? + ">" { ret.endAt(tokenEnd()); } + ) + { return ret; } +} + +Type TypeArgument(): +{ + Type ret; + List annotations = null; + AnnotationExpr ann; +} +{ + (ann = Annotation() { annotations = add(annotations, ann);})* + ( + ret = ReferenceType() + | + ret = Wildcard() + ) + { ret.setAnnotations(annotations); return ret; } +} + +WildcardType Wildcard(): +{ + ReferenceType ext = null; + ReferenceType sup = null; + Position begin; + AnnotationExpr ann; + List annotations = null; +} +{ + "?" {begin=tokenBegin();} + [ + "extends" (ann = Annotation() { annotations = add(annotations, ann);})* ext = ReferenceType() + { + ext.setAnnotations(annotations); + } + | + "super" (ann = Annotation() { annotations = add(annotations, ann);})* sup = ReferenceType() + { + sup.setAnnotations(annotations); + } + ] + { + return new WildcardType(range(begin, tokenEnd()),ext, sup); + } +} + +PrimitiveType PrimitiveType(): +{ + PrimitiveType ret; +} +{ +( + "boolean" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Boolean); } +| + "char" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Char); } +| + "byte" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Byte); } +| + "short" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Short); } +| + "int" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Int); } +| + "long" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Long); } +| + "float" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Float); } +| + "double" { ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Double); } +) +{ return ret; } +} + +Type ResultType(): +{ + Type ret; +} +{ + ( + "void" { ret = new VoidType(tokenRange()); } + | + ret = Type() + ) + { return ret; } +} + +NameExpr Name(): +/* + * A lookahead of 2 is required below since "Name" can be followed + * by a ".*" when used in the context of an "ImportDeclaration". + */ +{ + NameExpr ret; +} +{ + { ret = new NameExpr(tokenRange(), token.image); } + ( LOOKAHEAD(2) "." { ret = new QualifiedNameExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, token.image); } )* + { return ret; } +} + +NameExpr SimpleName(): +{ + NameExpr ret; +} +{ + { ret = new NameExpr(tokenRange(), token.image); } + { return ret; } +} + +/* + * Expression syntax follows. + */ + +Expression Expression(): +/* + * This expansion has been written this way instead of: + * Assignment() | ConditionalExpression() + * for performance reasons. + * However, it is a weakening of the grammar for it allows the LHS of + * assignments to be any conditional expression whereas it can only be + * a primary expression. Consider adding a semantic predicate to work + * around this. + */ +{ + Expression ret; + AssignExpr.Operator op; + Expression value; + Statement lambdaBody = null; + RangedList typeArgs = new RangedList(null); +} +{ + ret = ConditionalExpression() + [ + ( + LOOKAHEAD(2) + op = AssignmentOperator() value = Expression() { ret = new AssignExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, value, op); } + | + "->" lambdaBody = LambdaBody() + { + if (ret instanceof CastExpr) + { + ret = generateLambda(ret, lambdaBody); + } + else if (ret instanceof ConditionalExpr){ + ConditionalExpr ce = (ConditionalExpr) ret; + if(ce.getElseExpr() != null){ + ce.setElseExpr(generateLambda(ce.getElseExpr(), lambdaBody)); + } + } + else + { + ret = generateLambda(ret, lambdaBody); + } + } + | "::" [typeArgs = TypeArguments() ] ( | "new") + { + ret = new MethodReferenceExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, createTypeArguments(typeArgs.list), token.image); + } + ) + ] + + { return ret; } +} + +AssignExpr.Operator AssignmentOperator(): +{ + AssignExpr.Operator ret; +} +{ + ( + "=" { ret = AssignExpr.Operator.assign; } + | "*=" { ret = AssignExpr.Operator.star; } + | "/=" { ret = AssignExpr.Operator.slash; } + | "%=" { ret = AssignExpr.Operator.rem; } + | "+=" { ret = AssignExpr.Operator.plus; } + | "-=" { ret = AssignExpr.Operator.minus; } + | "<<=" { ret = AssignExpr.Operator.lShift; } + | ">>=" { ret = AssignExpr.Operator.rSignedShift; } + | ">>>=" { ret = AssignExpr.Operator.rUnsignedShift; } + | "&=" { ret = AssignExpr.Operator.and; } + | "^=" { ret = AssignExpr.Operator.xor; } + | "|=" { ret = AssignExpr.Operator.or; } + ) + { return ret; } +} + +Expression ConditionalExpression(): +{ + Expression ret; + Expression left; + Expression right; +} +{ + ret = ConditionalOrExpression() + [ "?" left = Expression() ":" right = ConditionalExpression() { ret = new ConditionalExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, left, right); } ] + { return ret; } +} + +Expression ConditionalOrExpression(): +{ + Expression ret; + Expression right; +} +{ + ret = ConditionalAndExpression() ( "||" right = ConditionalAndExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.or); } )* + { return ret; } +} + +Expression ConditionalAndExpression(): +{ + Expression ret; + Expression right; +} +{ + ret = InclusiveOrExpression() ( "&&" right = InclusiveOrExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.and); } )* + { return ret; } +} + +Expression InclusiveOrExpression(): +{ + Expression ret; + Expression right; +} +{ + ret = ExclusiveOrExpression() ( "|" right = ExclusiveOrExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.binOr); } )* + { return ret; } +} + +Expression ExclusiveOrExpression(): +{ + Expression ret; + Expression right; +} +{ + ret = AndExpression() ( "^" right = AndExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.xor); } )* + { return ret; } +} + +Expression AndExpression(): +{ + Expression ret; + Expression right; +} +{ + ret = EqualityExpression() ( "&" right = EqualityExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.binAnd); } )* + { return ret; } +} + +Expression EqualityExpression(): +{ + Expression ret; + Expression right; + BinaryExpr.Operator op; +} +{ + ret = InstanceOfExpression() + ( + ( "==" { op = BinaryExpr.Operator.equals; } | + "!=" { op = BinaryExpr.Operator.notEquals; } + ) right = InstanceOfExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); } + )* + { return ret; } +} + +Expression InstanceOfExpression(): +{ + Expression ret; + Type type; +} +{ + ret = RelationalExpression() [ "instanceof" type = Type() { ret = new InstanceOfExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, type); } ] + { return ret; } +} + +Expression RelationalExpression(): +{ + Expression ret; + Expression right; + BinaryExpr.Operator op; +} +{ + ret = ShiftExpression() + ( + ( "<" { op = BinaryExpr.Operator.less; } | + ">" { op = BinaryExpr.Operator.greater; } | + "<=" { op = BinaryExpr.Operator.lessEquals; } | + ">=" { op = BinaryExpr.Operator.greaterEquals; } + ) right = ShiftExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); } + )* + { return ret; } +} + +Expression ShiftExpression(): +{ + Expression ret; + Expression right; + BinaryExpr.Operator op; +} +{ + ret = AdditiveExpression() + ( + ( "<<" { op = BinaryExpr.Operator.lShift; } | + RSIGNEDSHIFT() { op = BinaryExpr.Operator.rSignedShift; } | + RUNSIGNEDSHIFT() { op = BinaryExpr.Operator.rUnsignedShift; } + ) right = AdditiveExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); } + )* + { return ret; } +} + +Expression AdditiveExpression(): +{ + Expression ret; + Expression right; + BinaryExpr.Operator op; +} +{ + ret = MultiplicativeExpression() + ( + ( "+" { op = BinaryExpr.Operator.plus; } | + "-" { op = BinaryExpr.Operator.minus; } + ) right = MultiplicativeExpression() { ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); } + )* + { return ret; } +} + +Expression MultiplicativeExpression(): +{ + Expression ret; + Expression right; + BinaryExpr.Operator op; +} +{ + ret = UnaryExpression() + ( + ( "*" { op = BinaryExpr.Operator.times; } | + "/" { op = BinaryExpr.Operator.divide; } | + "%" { op = BinaryExpr.Operator.remainder; } + ) right = UnaryExpression() { ret = new BinaryExpr(range(ret.getBegin(), tokenEnd()), ret, right, op); } + )* + { return ret; } +} + +Expression UnaryExpression(): +{ + Expression ret; + UnaryExpr.Operator op; + Position begin = INVALID; +} +{ + ( + ret = PreIncrementExpression() + | + ret = PreDecrementExpression() + | + ( "+" { op = UnaryExpr.Operator.positive; begin=tokenBegin();} | + "-" { op = UnaryExpr.Operator.negative; begin=tokenBegin();} + ) ret = UnaryExpression() + { + if(op == UnaryExpr.Operator.negative) { + if (ret instanceof IntegerLiteralExpr && ((IntegerLiteralExpr)ret).isMinValue()) { + ret = new IntegerLiteralMinValueExpr(range(begin, tokenEnd())); + } else if (ret instanceof LongLiteralExpr && ((LongLiteralExpr)ret).isMinValue()) { + ret = new LongLiteralMinValueExpr(range(begin, tokenEnd())); + } else { + ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); + } + } else { + ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); + } + } + | + ret = UnaryExpressionNotPlusMinus() + ) + { return ret; } +} + +Expression PreIncrementExpression(): +{ + Expression ret; + Position begin = INVALID; +} +{ + "++" {begin=tokenBegin();} ret = UnaryExpression() { ret = new UnaryExpr(range(begin, tokenEnd()), ret, UnaryExpr.Operator.preIncrement); } + { return ret; } +} + +Expression PreDecrementExpression(): +{ + Expression ret; + Position begin; +} +{ + "--" {begin=tokenBegin();} ret = UnaryExpression() { ret = new UnaryExpr(range(begin, tokenEnd()), ret, UnaryExpr.Operator.preDecrement); } + { return ret; } +} + +Expression UnaryExpressionNotPlusMinus(): +{ + Expression ret; + UnaryExpr.Operator op; + Position begin = INVALID; +} +{ + ( + ( "~" { op = UnaryExpr.Operator.inverse; begin=tokenBegin(); } | + "!" { op = UnaryExpr.Operator.not; begin=tokenBegin(); } + ) ret = UnaryExpression() { ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); } + | + LOOKAHEAD( CastExpression() ) + ret = CastExpression() + | + ret = PostfixExpression() + ) + { return ret; } +} + +Expression PostfixExpression(): +{ + Expression ret; + UnaryExpr.Operator op; +} +{ + ret = PrimaryExpression() + [ + LOOKAHEAD(2) + ( "++" { op = UnaryExpr.Operator.posIncrement; } | + "--" { op = UnaryExpr.Operator.posDecrement; } + ) { ret = new UnaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, op); } + ] + { return ret; } +} + +Expression CastExpression(): +{ + Expression ret; + ReferenceType referenceType; + PrimitiveType primitiveType; + Position begin = INVALID; + AnnotationExpr ann; + List annotations = null; + List typesOfMultiCast = null; +} +{ + "(" {begin=tokenBegin();} + (ann = Annotation() { annotations = add(annotations, ann);})* + ( + LOOKAHEAD(2) + primitiveType = PrimitiveType() ")" ret = UnaryExpression() { primitiveType.setAnnotations(annotations); ret = new CastExpr(range(begin, tokenEnd()), primitiveType, ret); } + | + referenceType = ReferenceType() { typesOfMultiCast = add(typesOfMultiCast, referenceType); referenceType.setAnnotations(annotations); } + ( "&" referenceType = ReferenceType() { + typesOfMultiCast = add(typesOfMultiCast, referenceType); + } + )* + ")" ret = UnaryExpressionNotPlusMinus() { + if (typesOfMultiCast.size() > 1) { + ret = new CastExpr(range(begin, tokenEnd()), new IntersectionType(range(begin, tokenEnd()), typesOfMultiCast), ret); + } + ret = new CastExpr(range(begin, tokenEnd()), referenceType, ret); + } + ) + { return ret; } +} + + + +Expression PrimaryExpression(): +{ + Expression ret; +} +{ + ret = PrimaryPrefix() ( LOOKAHEAD(2) ret = PrimarySuffix(ret) )* + { return ret; } +} + +Expression PrimaryExpressionWithoutSuperSuffix(): +{ + Expression ret; +} +{ + ret = PrimaryPrefix() ( LOOKAHEAD( PrimarySuffixWithoutSuper(null) ) ret = PrimarySuffixWithoutSuper(ret) )* + { return ret; } +} + +Expression PrimaryPrefix(): +{ + Expression ret = null; + NameExpr name; + RangedList typeArgs = new RangedList(null); + List args = null; + List params = null; + boolean hasArgs = false; + boolean isLambda = false; + Type type; + Position begin; + Parameter p = null; + VariableDeclaratorId id = null; +} +{ + ( + ret = Literal() + | + { ret = new ThisExpr(tokenRange(), null); } + | + { ret = new SuperExpr(tokenRange(), null); } + ( + "." + [ typeArgs = TypeArguments() ] + name = SimpleName() + [ args = Arguments() {hasArgs=true;} ] + { + if (hasArgs) { + MethodCallExpr m = new MethodCallExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, typeArgs.list, null, args); + m.setNameExpr(name); + ret = m; + } else { + FieldAccessExpr f = new FieldAccessExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, null, null); + f.setFieldExpr(name); + ret = f; + } + } + | + "::" [typeArgs = TypeArguments() ] ( | "new") + { + ret = new MethodReferenceExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, createTypeArguments(typeArgs.list), token.image); + } + ) + | + "(" {begin=tokenBegin();} + [ + ( LOOKAHEAD(FormalParameter()) p = FormalParameter() { isLambda = true;} [params = FormalLambdaParameters()] + | ret = Expression() [params = InferredLambdaParameters() { isLambda = true;} ] + ) + ] + ")" + { + if(!isLambda) { ret = new EnclosedExpr(range(begin, tokenEnd()), ret);} + else{ + if(ret != null){ + if(ret instanceof NameExpr) + { + id = new VariableDeclaratorId(range(ret.getBegin(), ret.getEnd()), ((NameExpr)ret).getName(), 0); + p = new Parameter(range(ret.getBegin(), ret.getEnd()), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id); + } + + } + params = add(0, params, p); + // TODO p may be null here + ret = new LambdaExpr(range(p.getBegin(), tokenEnd()), params, null, true); + } + + } + | + ret = AllocationExpression(null) + | + LOOKAHEAD( ResultType() "." "class" ) + type = ResultType() "." "class" { ret = new ClassExpr(range(type.getBegin(), tokenEnd()), type); } + + | LOOKAHEAD (ResultType() "::" ) + type = ResultType() "::" [typeArgs = TypeArguments() ] ( | "new") + { + ret = new TypeExpr(type.getRange(), type); + ret = new MethodReferenceExpr(ret.getRange(), ret, createTypeArguments(typeArgs.list), token.image); + } + + | + name = SimpleName() { begin=tokenBegin(); } + [ args = Arguments() {hasArgs=true;} ] + { + if (hasArgs) { + MethodCallExpr m = new MethodCallExpr(range(begin, tokenEnd()), null, null, null, args); + m.setNameExpr(name); + ret = m; + } else { + ret = name; + } + } + ) + { return ret; } +} + +Expression PrimarySuffix(Expression scope): +{ + Expression ret; +} +{ + ( + LOOKAHEAD(2) + ret = PrimarySuffixWithoutSuper(scope) + | + "." "super" { ret = new SuperExpr(range(scope.getBegin(), tokenEnd()), scope); } + ) + { return ret; } +} + +Expression PrimarySuffixWithoutSuper(Expression scope): +{ + Expression ret; + RangedList typeArgs = new RangedList(null); + List args = null; + boolean hasArgs = false; + NameExpr name; +} +{ + ( + "." + ( + "this" { ret = new ThisExpr(range(scope.getBegin(), tokenEnd()), scope); } + | + ret = AllocationExpression(scope) + | + LOOKAHEAD( [ TypeArguments() ] ) + [ typeArgs = TypeArguments() ] + name = SimpleName() + [ args = Arguments() {hasArgs=true;} ] + { + if (hasArgs) { + MethodCallExpr m = new MethodCallExpr(range(scope.getBegin(), tokenEnd()), scope, typeArgs.list, null, args); + m.setNameExpr(name); + ret = m; + } else { + FieldAccessExpr f = new FieldAccessExpr(range(scope.getBegin(), tokenEnd()), scope, typeArgs.list, null); + f.setFieldExpr(name); + ret = f; + } + } + ) + | + "["ret = Expression() "]" { ret = new ArrayAccessExpr(range(scope.getBegin(), tokenEnd()), scope, ret); } + ) + { return ret; } +} + +Expression Literal(): +{ + Expression ret; +} +{ + ( + { + ret = new IntegerLiteralExpr(tokenRange(), token.image); + } + | + { + ret = new LongLiteralExpr(tokenRange(), token.image); + } + | + { + ret = new DoubleLiteralExpr(tokenRange(), token.image); + } + | + { + ret = new CharLiteralExpr(tokenRange(), token.image.substring(1, token.image.length()-1)); + } + | + { + ret = new StringLiteralExpr(tokenRange(), token.image.substring(1, token.image.length()-1)); + } + | + ret = BooleanLiteral() + | + ret = NullLiteral() + ) + { return ret; } +} + +Expression BooleanLiteral(): +{ + Expression ret; +} +{ + ( + "true" { ret = new BooleanLiteralExpr(tokenRange(), true); } + | + "false" { ret = new BooleanLiteralExpr(tokenRange(), false); } + ) + { return ret; } +} + +Expression NullLiteral(): +{} +{ + "null" + { return new NullLiteralExpr(tokenRange()); } +} + +List Arguments(): +{ + List ret = null; +} +{ + "(" [ ret = ArgumentList() ] ")" + { return ret; } +} + +List ArgumentList(): +{ + List ret = new LinkedList(); + Expression expr; +} +{ + expr = Expression() { ret.add(expr); } ( "," expr = Expression() { ret.add(expr); } )* + { return ret; } +} + +Expression AllocationExpression(Expression scope): +{ + Expression ret; + ArrayCreationExpr arrayExpr; + Type type; + Object[] arr; + RangedList typeArgs = new RangedList(null); + List> anonymousBody = null; + List args; + Position begin; + List annotations = null; + AnnotationExpr ann; +} +{ + "new" { if(scope==null) {begin=tokenBegin();} else {begin=scope.getBegin();} } + + (ann = Annotation() { annotations = add(annotations, ann);})* + ( + type = PrimitiveType() {type.setAnnotations(annotations); } + arr = ArrayDimsAndInits() + { + arrayExpr = new ArrayCreationExpr(range(begin, tokenEnd()), type, null, 0); + arrayExpr.setArraysAnnotations((List)arr[2]); + if (arr[0] instanceof Integer) { + arrayExpr.setArrayCount(((Integer)arr[0]).intValue()); + arrayExpr.setInitializer((ArrayInitializerExpr)arr[1]); + } else { + arrayExpr.setArrayCount(((Integer)arr[1]).intValue()); + arrayExpr.setDimensions((List)arr[0]); + } + ret = arrayExpr; + } + | + [ typeArgs = TypeArguments() (ann = Annotation() { annotations = add(annotations, ann);})* ] + type = ClassOrInterfaceType() + ( + arr = ArrayDimsAndInits() {type.setAnnotations(annotations); arrayExpr = new ArrayCreationExpr(range(begin, tokenEnd()), type, null, 0); } + { + arrayExpr.setArraysAnnotations((List)arr[2]); + if (arr[0] instanceof Integer) { + arrayExpr.setArrayCount(((Integer)arr[0]).intValue()); + arrayExpr.setInitializer((ArrayInitializerExpr)arr[1]); + } else { + arrayExpr.setArrayCount(((Integer)arr[1]).intValue()); + arrayExpr.setDimensions((List)arr[0]); + } + ret = arrayExpr; + } + | + args = Arguments() [ LOOKAHEAD(2) anonymousBody = ClassOrInterfaceBody(false) ] + { type.setAnnotations(annotations); ret = new ObjectCreationExpr(range(begin, tokenEnd()), scope, (ClassOrInterfaceType) type, typeArgs.list, args, anonymousBody); } + ) + ) + { return ret; } +} + +/* + * The third LOOKAHEAD specification below is to parse to PrimarySuffix + * if there is an expression between the "[...]". + */ +// TODO fix the horrible return type. +Object[] ArrayDimsAndInits(): +{ + Object[] ret = new Object[3]; + Expression expr; + List inits = null; + int i = 0; + List> accum = null; + List annotations = null; + AnnotationExpr ann; +} +{ + (ann = Annotation() { annotations = add(annotations, ann); })* + ( + LOOKAHEAD(2) + ( LOOKAHEAD(2) "[" expr = Expression() { accum = add(accum, annotations); inits = add(inits, expr); } "]" )+ ( LOOKAHEAD(2) (ann = Annotation() { annotations = add(annotations, ann); })* "[" "]" { i++; } )* { accum = add(accum, annotations); annotations=null; ret[0] = inits; ret[1] = i; } + | + ( "[" "]" { i++; } )+ expr = ArrayInitializer() { accum = add(accum, annotations);ret[0] = i; ret[1] = expr; } + ) + { ret[2]=accum; return ret; } +} + + +/* + * Statement syntax follows. + */ + +Statement Statement(): +{ + Statement ret; +} +{ + ( + LOOKAHEAD(2) + ret = LabeledStatement() + | + ret = AssertStatement() + | + ret = Block() + | + ret = EmptyStatement() + | + ret = StatementExpression() + | + ret = SwitchStatement() + | + ret = IfStatement() + | + ret = WhileStatement() + | + ret = DoStatement() + | + ret = ForStatement() + | + ret = BreakStatement() + | + ret = ContinueStatement() + | + ret = ReturnStatement() + | + ret = ThrowStatement() + | + ret = SynchronizedStatement() + | + ret = TryStatement() + ) + { return ret; } +} + +AssertStmt AssertStatement(): +{ + Expression check; + Expression msg = null; + Position begin; +} +{ + "assert" {begin=tokenBegin();} check = Expression() [ ":" msg = Expression() ] ";" + { return new AssertStmt(range(begin, tokenEnd()),check, msg); } +} + +LabeledStmt LabeledStatement(): +{ + String label; + Statement stmt; + Position begin; +} +{ + {begin=tokenBegin();} { label = token.image; } ":" stmt = Statement() + { return new LabeledStmt(range(begin, tokenEnd()),label, stmt); } +} + +BlockStmt Block(): +{ + List stmts; + Position begin; +} +{ + "{" {begin=tokenBegin();} + stmts = Statements() + "}" + { return new BlockStmt(range(begin, tokenEnd()), stmts); } +} + +/* + * Classes inside block stametents can only be abstract or final. The semantic must check it. + */ +Statement BlockStatement(): +{ + Statement ret; + Expression expr; + ClassOrInterfaceDeclaration typeDecl; + ModifierHolder modifier; +} +{ + ( + LOOKAHEAD( Modifiers() ("class" | "interface") ) + { } + modifier = Modifiers() + typeDecl = ClassOrInterfaceDeclaration(modifier) { ret = new TypeDeclarationStmt(range(typeDecl.getBegin().line, typeDecl.getBegin().column, token.endLine, token.endColumn), typeDecl); } + | + LOOKAHEAD(VariableDeclarationExpression() ) + expr = VariableDeclarationExpression() ";" + { ret = new ExpressionStmt(range(expr.getBegin().line, expr.getBegin().column, token.endLine, token.endColumn), expr); } + | + ret = Statement() + ) + { return ret; } +} + +VariableDeclarationExpr VariableDeclarationExpression(): +{ + ModifierHolder modifier; + Type type; + List vars = new LinkedList(); + VariableDeclarator var; +} +{ + modifier = Modifiers() type = Type() var = VariableDeclarator() { vars.add(var); } ( "," var = VariableDeclarator() { vars.add(var); } )* + { + Position begin=modifier.begin.orIfInvalid(type.getBegin()); + return new VariableDeclarationExpr(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, vars); + } +} + +EmptyStmt EmptyStatement(): +{} +{ + ";" + { return new EmptyStmt(tokenRange()); } +} + +Statement LambdaBody(): +{ + Expression expr; + Statement n = null; +} +{ + ( + expr = Expression() + { + n = new ExpressionStmt(range(expr.getBegin(), tokenEnd()), expr); + } + | n = Block() + ) + { + return n; + } + +} + +ExpressionStmt StatementExpression(): +/* + * The last expansion of this production accepts more than the legal + * Java expansions for StatementExpression. This expansion does not + * use PostfixExpression for performance reasons. + */ +{ + Expression expr; + AssignExpr.Operator op; + Expression value; + RangedList typeArgs = new RangedList(null); + Statement lambdaBody; +} +{ + ( LOOKAHEAD(2) + expr = PreIncrementExpression() + | + expr = PreDecrementExpression() + | + expr = PrimaryExpression() + [ + "++" { expr = new UnaryExpr(range(expr.getBegin(), tokenEnd()), expr, UnaryExpr.Operator.posIncrement); } + | + "--" { expr = new UnaryExpr(range(expr.getBegin(), tokenEnd()), expr, UnaryExpr.Operator.posDecrement); } + | + op = AssignmentOperator() value = Expression() { expr = new AssignExpr(range(expr.getBegin(), tokenEnd()), expr, value, op); } + | "::" [typeArgs = TypeArguments() ] ( | "new"){expr = new MethodReferenceExpr(range(expr.getBegin(), tokenEnd()), expr, createTypeArguments(typeArgs.list), token.image); } + + | + "->" lambdaBody = LambdaBody() + { + expr = generateLambda(expr, lambdaBody); + } + ] + ) + ";" + { return new ExpressionStmt(range(expr.getBegin(), tokenEnd()), expr); } +} + +SwitchStmt SwitchStatement(): +{ + Expression selector; + SwitchEntryStmt entry; + List entries = null; + Position begin; +} +{ + "switch" {begin=tokenBegin();} "(" selector = Expression() ")" "{" + ( entry = SwitchEntry() { entries = add(entries, entry); } )* + "}" + + { return new SwitchStmt(range(begin, tokenEnd()), selector, entries); } +} + +SwitchEntryStmt SwitchEntry(): +{ + Expression label = null; + List stmts; + Position begin; +} +{ + ( + "case" {begin=tokenBegin();} label = Expression() + | + "default" {begin=tokenBegin();} + ) + ":" stmts = Statements() + + { return new SwitchEntryStmt(range(begin, tokenEnd()),label, stmts); } +} + +IfStmt IfStatement(): +/* + * The disambiguating algorithm of JavaCC automatically binds dangling + * else's to the innermost if statement. The LOOKAHEAD specification + * is to tell JavaCC that we know what we are doing. + */ +{ + Expression condition; + Statement thenStmt; + Statement elseStmt = null; + Position begin; + Comment thenCmmt = null; + Comment elseCmmt = null; +} +{ + "if" {begin=tokenBegin();} "(" condition = Expression() ")" {} thenStmt = Statement() [ LOOKAHEAD(1) "else" {} elseStmt = Statement() ] + { + IfStmt tmp = new IfStmt(range(begin, tokenEnd()),condition, thenStmt, elseStmt); + + // TODO comment is always null + thenStmt.setComment(thenCmmt); + if (elseStmt != null) + // TODO comment is always null + elseStmt.setComment(elseCmmt); + return tmp; + } +} + +WhileStmt WhileStatement(): +{ + Expression condition; + Statement body; + Position begin; +} +{ + "while" {begin=tokenBegin();} "(" condition = Expression() ")" body = Statement() + { return new WhileStmt(range(begin, tokenEnd()),condition, body); } +} + +DoStmt DoStatement(): +{ + Expression condition; + Statement body; + Position begin; +} +{ + "do" {begin=tokenBegin();} body = Statement() "while" "(" condition = Expression() ")" ";" + { return new DoStmt(range(begin, tokenEnd()),body, condition); } +} + +Statement ForStatement(): +{ + VariableDeclarationExpr varExpr = null; + Expression expr = null; + List init = null; + List update = null; + Statement body; + Position begin; +} +{ + "for" {begin=tokenBegin();} "(" + + ( + LOOKAHEAD(VariableDeclarationExpression() ":") + varExpr = VariableDeclarationExpression() ":" expr = Expression() + | + [ init = ForInit() ] ";" [ expr = Expression() ] ";" [ update = ForUpdate() ] + ) + + ")" body = Statement() + + { + if (varExpr != null) { + return new ForeachStmt(range(begin, tokenEnd()),varExpr, expr, body); + } + return new ForStmt(range(begin, tokenEnd()),init, expr, update, body); + } +} + +List ForInit(): +{ + List ret; + Expression expr; +} +{ + ( + LOOKAHEAD( Modifiers() Type() ) + expr = VariableDeclarationExpression() { ret = new LinkedList(); ret.add(expr); } + | + ret = ExpressionList() + ) + { return ret; } +} + +List ExpressionList(): +{ + List ret = new LinkedList(); + Expression expr; +} +{ + expr = Expression() { ret.add(expr); } ( "," expr = Expression() { ret.add(expr); } )* + + { return ret; } +} + +List ForUpdate(): +{ + List ret; +} +{ + ret = ExpressionList() + + { return ret; } +} + +BreakStmt BreakStatement(): +{ + String id = null; + Position begin; +} +{ + "break" {begin=tokenBegin();} [ { id = token.image; } ] ";" + { return new BreakStmt(range(begin, tokenEnd()),id); } +} + +ContinueStmt ContinueStatement(): +{ + String id = null; + Position begin; +} +{ + "continue" {begin=tokenBegin();} [ { id = token.image; } ] ";" + { return new ContinueStmt(range(begin, tokenEnd()),id); } +} + +ReturnStmt ReturnStatement(): +{ + Expression expr = null; + Position begin; +} +{ + "return" {begin=tokenBegin();} [ expr = Expression() ] ";" + { return new ReturnStmt(range(begin, tokenEnd()),expr); } +} + +ThrowStmt ThrowStatement(): +{ + Expression expr; + Position begin; +} +{ + "throw" {begin=tokenBegin();} expr = Expression() ";" + { return new ThrowStmt(range(begin, tokenEnd()),expr); } +} + +SynchronizedStmt SynchronizedStatement(): +{ + Expression expr; + BlockStmt block; + Position begin; +} +{ + "synchronized" {begin=tokenBegin();} "(" expr = Expression() ")" block = Block() + { return new SynchronizedStmt(range(begin, tokenEnd()),expr, block); } +} + +TryStmt TryStatement(): +/* + * Semantic check required here to make sure that at least one + * finally/catch is present. + */ +{ + List resources = new LinkedList(); + BlockStmt tryBlock; + BlockStmt finallyBlock = null; + List catchs = null; + BlockStmt catchBlock; + ModifierHolder exceptModifier; + ReferenceType exceptionType; + List exceptionTypes = new LinkedList(); + VariableDeclaratorId exceptId; + Position begin; + Position catchBegin; + Type type; +} +{ + "try" {begin=tokenBegin();} + (resources = ResourceSpecification())? + tryBlock = Block() + ( + LOOKAHEAD(2) + ( + "catch" {catchBegin=tokenBegin();} + "(" + exceptModifier = Modifiers() exceptionType = ReferenceType() { exceptionTypes.add(exceptionType); } + ( "|" exceptionType = ReferenceType() { exceptionTypes.add(exceptionType); } )* + exceptId = VariableDeclaratorId() + ")" + + catchBlock = Block() + { + if (exceptionTypes.size() > 1) { + type = new UnionType(exceptionTypes); + } else { + type = (Type)exceptionTypes.get(0); + } + catchs = add(catchs, new CatchClause(range(catchBegin, tokenEnd()), exceptModifier.modifiers, exceptModifier.annotations, type, exceptId, catchBlock)); + exceptionTypes = new LinkedList(); } + )* + [ "finally" finallyBlock = Block() ] + | + "finally" finallyBlock = Block() + ) + { return new TryStmt(range(begin, tokenEnd()), resources, tryBlock, catchs, finallyBlock); } +} + + +List ResourceSpecification() : +{ +List vars; +} +{ + "(" + vars = Resources() + (LOOKAHEAD(2) ";")? + ")" + { return vars; } +} + + +List Resources() : +{ + List vars = new LinkedList(); + VariableDeclarationExpr var; +} +{ + /*this is a bit more lenient than we need to be, eg allowing access modifiers like private*/ + var = VariableDeclarationExpression() {vars.add(var);} (LOOKAHEAD(2) ";" var = VariableDeclarationExpression() {vars.add(var);})* + { return vars; } +} + + +/* We use productions to match >>>, >> and > so that we can keep the + * type declaration syntax with generics clean + */ + +void RUNSIGNEDSHIFT(): +{} +{ + ( LOOKAHEAD({ getToken(1).kind == GT && + ((GTToken)getToken(1)).realKind == RUNSIGNEDSHIFT} ) + ">" ">" ">" + ) +} + +void RSIGNEDSHIFT(): +{} +{ + ( LOOKAHEAD({ getToken(1).kind == GT && + ((GTToken)getToken(1)).realKind == RSIGNEDSHIFT} ) + ">" ">" + ) +} + +/* Annotation syntax follows. */ + +AnnotationExpr Annotation(): +{ + AnnotationExpr ret; +} +{ + ( + LOOKAHEAD( "@" Name() "(" ( "=" | ")" )) + ret = NormalAnnotation() + | + LOOKAHEAD( "@" Name() "(" ) + ret = SingleMemberAnnotation() + | + ret = MarkerAnnotation() + ) + { return ret; } +} + +NormalAnnotationExpr NormalAnnotation(): +{ + NameExpr name; + List pairs = null; + Position begin; +} +{ + "@" {begin=tokenBegin();} name = Name() "(" [ pairs = MemberValuePairs() ] ")" + { return new NormalAnnotationExpr(range(begin, tokenEnd()),name, pairs); } +} + +MarkerAnnotationExpr MarkerAnnotation(): +{ + NameExpr name; + Position begin; +} +{ + "@" {begin=tokenBegin();} name = Name() + { return new MarkerAnnotationExpr(range(begin, tokenEnd()),name); } +} + +SingleMemberAnnotationExpr SingleMemberAnnotation(): +{ + NameExpr name; + Expression memberVal; + Position begin; +} +{ + "@" {begin=tokenBegin();} name = Name() "(" memberVal = MemberValue() ")" + { return new SingleMemberAnnotationExpr(range(begin, tokenEnd()),name, memberVal); } +} + +List MemberValuePairs(): +{ + List ret = new LinkedList(); + MemberValuePair pair; +} +{ + pair = MemberValuePair() { ret.add(pair); } ( "," pair = MemberValuePair() { ret.add(pair); } )* + { return ret; } +} + +MemberValuePair MemberValuePair(): +{ + String name; + Expression value; + Position begin; +} +{ + { name = token.image; begin=tokenBegin();} "=" value = MemberValue() + { return new MemberValuePair(range(begin, tokenEnd()),name, value); } +} + +Expression MemberValue(): +{ + Expression ret; +} +{ + ( + ret = Annotation() + | + ret = MemberValueArrayInitializer() + | + ret = ConditionalExpression() + ) + { return ret; } +} + +Expression MemberValueArrayInitializer(): +{ + List ret = new LinkedList(); + Expression member; + Position begin; +} +{ + "{" {begin=tokenBegin();} + ( member = MemberValue() { ret.add(member); } ( LOOKAHEAD(2) "," member = MemberValue() { ret.add(member); } )* )? [ "," ] + "}" + { return new ArrayInitializerExpr(range(begin, tokenEnd()),ret); } +} + + +/* Annotation Types. */ + +AnnotationDeclaration AnnotationTypeDeclaration(ModifierHolder modifier): +{ + NameExpr name; + List> members; + Position begin = modifier.begin; +} +{ + "@" { begin=begin.orIfInvalid(tokenBegin()); } + "interface" name = Name() members = AnnotationTypeBody() + + { + AnnotationDeclaration tmp = new AnnotationDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, null, members); + tmp.setNameExpr(name); + return tmp; + } +} + +List> AnnotationTypeBody(): +{ + List> ret = null; + BodyDeclaration member; +} +{ + "{" ( member = AnnotationBodyDeclaration() { ret = add(ret, member); } )* "}" + + { return ret; } +} + +BodyDeclaration AnnotationBodyDeclaration(): +{ + ModifierHolder modifier; + BodyDeclaration ret; +} +{ + { } + ( + ";" { ret = new EmptyTypeDeclaration(tokenRange()); } + | + modifier = Modifiers() + ( + LOOKAHEAD(Type() "(") + ret = AnnotationTypeMemberDeclaration(modifier) + | + ret = ClassOrInterfaceDeclaration(modifier) + | + ret = EnumDeclaration(modifier) + | + ret = AnnotationTypeDeclaration(modifier) + | + ret = FieldDeclaration(modifier) + ) + ) + { return ret; } +} + +AnnotationMemberDeclaration AnnotationTypeMemberDeclaration(ModifierHolder modifier): +{ + Type type; + String name; + Expression defaultVal = null; +} +{ + type = Type() { name = token.image; } "(" ")" [ defaultVal = DefaultValue() ] ";" + + { + Position begin = modifier.begin.orIfInvalid(tokenBegin()); + return new AnnotationMemberDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, name, defaultVal); + } +} + +Expression DefaultValue(): +{ + Expression ret; +} +{ + "default" ret = MemberValue() + { return ret; } +} diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParser.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParser.java new file mode 100644 index 00000000..67b9ca1a --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParser.java @@ -0,0 +1,9781 @@ +/* ASTParser.java */ +/* Generated By:JavaCC: Do not edit this line. ASTParser.java */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + +import java.io.*; +import java.util.*; +import com.github.javaparser.ast.*; +import com.github.javaparser.ast.body.*; +import com.github.javaparser.ast.comments.*; +import com.github.javaparser.ast.expr.*; +import com.github.javaparser.ast.stmt.*; +import com.github.javaparser.ast.type.*; +import static com.github.javaparser.Range.*; +import static com.github.javaparser.Position.*; + +/** + *

This class was generated automatically by javacc, do not edit.

+ */ +final class ASTParser implements ASTParserConstants { + + private final Position INVALID = pos(-1, 0); + + void reset(InputStream in, String encoding) throws IOException { + ReInit(new StreamProvider(in, encoding)); + } + + private List add(List list, T obj) { + if (list == null) { + list = new LinkedList(); + } + list.add(obj); + return list; + } + + private List add(int pos, List list, T obj) { + if (list == null) { + list = new LinkedList(); + } + list.add(pos, obj); + return list; + } + + private class ModifierHolder { + final EnumSet modifiers; + final List annotations; + final Position begin; + + public ModifierHolder(Position begin, EnumSet modifiers, List annotations) { + this.begin = begin; + this.modifiers = modifiers; + this.annotations = annotations; + } + } + + public void addModifier(EnumSet modifiers, Modifier mod, Token token) throws ParseException { + if (modifiers.contains(mod)) { + throwParseException("Duplicated modifier"); + } + modifiers.add(mod); + } + + public void addMultipleModifier(EnumSet modifiers, EnumSet mods, Token token) throws ParseException { + if(mods == null) + return; + for(Modifier m : mods) + if (modifiers.contains(m)) + throwParseException("Duplicated modifier"); + for(Modifier m : mods) + modifiers.add(m); + } + + /** + * Return the list of tokens that have been encountered while parsing code using + * this parser. + * + * @return a list of tokens + */ + public List getTokens() { + return token_source.getTokens(); + } + + private void throwParseException(String message) throws ParseException { + StringBuilder buf = new StringBuilder(); + buf.append(message); + buf.append(": \""); + buf.append(token.image); + buf.append("\" at line "); + buf.append(token.beginLine); + buf.append(", column "); + buf.append(token.beginColumn); + ParseException e = new ParseException(buf.toString()); + e.currentToken = token; + throw e; + } + + private Expression generateLambda(Expression ret, Statement lambdaBody) throws ParseException { + if (ret instanceof EnclosedExpr) { + Expression inner = ((EnclosedExpr) ret).getInner(); + if (inner != null && inner instanceof NameExpr) { + VariableDeclaratorId id = new VariableDeclaratorId(inner.getRange(), ((NameExpr)inner).getName(), 0); + List params = add(null, new Parameter(ret.getRange(), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id)); + ret = new LambdaExpr(range(ret.getBegin(), lambdaBody.getEnd()), params, lambdaBody, true); + } else { + ret = new LambdaExpr(range(ret.getBegin(), lambdaBody.getEnd()), null, lambdaBody, true); + } + } else if (ret instanceof NameExpr) { + VariableDeclaratorId id = new VariableDeclaratorId(ret.getRange(), ((NameExpr)ret).getName(), 0); + List params = add(null, new Parameter(ret.getRange(), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id)); + ret = new LambdaExpr(ret.getRange(), params, lambdaBody, false); + } else if (ret instanceof LambdaExpr) { + ((LambdaExpr) ret).setBody(lambdaBody); + ret.setEnd(lambdaBody.getEnd()); + } else if (ret instanceof CastExpr) { + CastExpr castExpr = (CastExpr)ret; + Expression inner = generateLambda(castExpr.getExpr(), lambdaBody); + castExpr.setExpr(inner); + } else { + throw new ParseException("Failed to parse lambda expression! Please create an issue at https://github.com/javaparser/javaparser/issues"); + } + return ret; + } + + private TypeArguments createTypeArguments(List typeArgs) { + boolean usesDiamondOperator = typeArgs != null && typeArgs.isEmpty(); + return usesDiamondOperator ? TypeArguments.withDiamondOperator() : TypeArguments.withArguments(typeArgs); + } + + static final class GTToken extends Token { + int realKind = ASTParserConstants.GT; + + GTToken(int kind, String image) { + this.kind = kind; + this.image = image; + } + + public static Token newToken(int kind, String image) { + return new GTToken(kind, image); + } + } + + private static class RangedList { + Range range = Range.UNKNOWN; + List list; + RangedList(List list) { + this.list = list; + } + void beginAt(Position begin) { + range=range.withBegin(begin); + } + void endAt(Position end) { + range=range.withEnd(end); + } + void add(T t) { + if (list == null) { + list = new LinkedList(); + } + list.add(t); + } + } + + private Position tokenBegin() { + return pos(token.beginLine,token.beginColumn); + } + + private Position tokenEnd() { + return pos(token.endLine,token.endColumn); + } + + private Range tokenRange() { + return range(token.beginLine, token.beginColumn, token.endLine, token.endColumn); + } + +/***************************************** + * THE JAVA LANGUAGE GRAMMAR STARTS HERE * + *****************************************/ + +/* + * Program structuring syntax follows. + */ + final public +CompilationUnit CompilationUnit() throws ParseException {PackageDeclaration pakage = null; + List imports = null; + ImportDeclaration in = null; + List> types = null; + TypeDeclaration tn = null; + Position begin = INVALID; + if (jj_2_1(2147483647)) { + pakage = PackageDeclaration(); +begin = begin.orIfInvalid(pakage.getBegin()); + } else { + ; + } + label_1: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IMPORT: + case SEMICOLON:{ + ; + break; + } + default: + jj_la1[0] = jj_gen; + break label_1; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IMPORT:{ + in = ImportDeclaration(); +begin = begin.orIfInvalid(in.getBegin()); imports = add(imports, in); + break; + } + case SEMICOLON:{ + in = EmptyImportDeclaration(); +begin = begin.orIfInvalid(in.getBegin()); imports = add(imports, in); + break; + } + default: + jj_la1[1] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + label_2: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case CLASS: + case ENUM: + case FINAL: + case INTERFACE: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOLATILE: + case SEMICOLON: + case AT:{ + ; + break; + } + default: + jj_la1[2] = jj_gen; + break label_2; + } + tn = TypeDeclaration(); +begin = begin.orIfInvalid(tn.getBegin()); types = add(types, tn); + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case 0:{ + jj_consume_token(0); + break; + } + case 156:{ + jj_consume_token(156); + break; + } + default: + jj_la1[3] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return new CompilationUnit(begin.invalid() ? Range.UNKNOWN : range(begin, tokenEnd()), pakage, imports, types); + } + + final public ImportDeclaration EmptyImportDeclaration() throws ParseException {Position begin; + jj_consume_token(SEMICOLON); +begin = tokenBegin(); +return ImportDeclaration.createEmptyDeclaration(range(begin, tokenEnd())); + } + + final public PackageDeclaration PackageDeclaration() throws ParseException {List annotations = null; + AnnotationExpr ann; + NameExpr name; + Position begin; + label_3: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[4] = jj_gen; + break label_3; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + jj_consume_token(PACKAGE); +begin = tokenBegin(); + name = Name(); + jj_consume_token(SEMICOLON); +return new PackageDeclaration(range(begin, tokenEnd()), annotations, name); + } + + final public ImportDeclaration ImportDeclaration() throws ParseException {NameExpr name; + boolean isStatic = false; + boolean isAsterisk = false; + Position begin; + jj_consume_token(IMPORT); +begin = tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case STATIC:{ + jj_consume_token(STATIC); +isStatic = true; + break; + } + default: + jj_la1[5] = jj_gen; + ; + } + name = Name(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case DOT:{ + jj_consume_token(DOT); + jj_consume_token(STAR); +isAsterisk = true; + break; + } + default: + jj_la1[6] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); +return new ImportDeclaration(range(begin, tokenEnd()),name, isStatic, isAsterisk); + } + +/* + * Modifiers. We match all modifiers in a single rule to reduce the chances of + * syntax errors for simple modifier mistakes. It will also enable us to give + * better error messages. + */ + final public +ModifierHolder Modifiers() throws ParseException {Position begin = INVALID; + EnumSet modifiers = EnumSet.noneOf(Modifier.class); + List annotations = null; + AnnotationExpr ann; + label_4: + while (true) { + if (jj_2_2(2)) { + ; + } else { + break label_4; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case PUBLIC:{ + jj_consume_token(PUBLIC); +addModifier(modifiers, Modifier.PUBLIC, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case STATIC:{ + jj_consume_token(STATIC); +addModifier(modifiers, Modifier.STATIC, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case PROTECTED:{ + jj_consume_token(PROTECTED); +addModifier(modifiers, Modifier.PROTECTED, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case PRIVATE:{ + jj_consume_token(PRIVATE); +addModifier(modifiers, Modifier.PRIVATE, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case FINAL:{ + jj_consume_token(FINAL); +addModifier(modifiers, Modifier.FINAL, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case ABSTRACT:{ + jj_consume_token(ABSTRACT); +addModifier(modifiers, Modifier.ABSTRACT, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case SYNCHRONIZED:{ + jj_consume_token(SYNCHRONIZED); +addModifier(modifiers, Modifier.SYNCHRONIZED, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case NATIVE:{ + jj_consume_token(NATIVE); +addModifier(modifiers, Modifier.NATIVE, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case TRANSIENT:{ + jj_consume_token(TRANSIENT); +addModifier(modifiers, Modifier.TRANSIENT, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case VOLATILE:{ + jj_consume_token(VOLATILE); +addModifier(modifiers, Modifier.VOLATILE, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case STRICTFP:{ + jj_consume_token(STRICTFP); +addModifier(modifiers, Modifier.STRICTFP, token); begin = begin.orIfInvalid(tokenBegin()); + break; + } + case AT:{ + ann = Annotation(); +annotations = add(annotations, ann); begin = begin.orIfInvalid(ann.getBegin()); + break; + } + default: + jj_la1[7] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return new ModifierHolder(begin, modifiers, annotations); + } + +/* + * Declaration syntax follows. + */ + final public TypeDeclaration TypeDeclaration() throws ParseException {ModifierHolder modifier; + TypeDeclaration ret; + + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case SEMICOLON:{ + jj_consume_token(SEMICOLON); +ret = new EmptyTypeDeclaration(tokenRange()); + break; + } + case ABSTRACT: + case CLASS: + case ENUM: + case FINAL: + case INTERFACE: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOLATILE: + case AT:{ + modifier = Modifiers(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case CLASS: + case INTERFACE:{ + ret = ClassOrInterfaceDeclaration(modifier); + break; + } + case ENUM:{ + ret = EnumDeclaration(modifier); + break; + } + case AT:{ + ret = AnnotationTypeDeclaration(modifier); + break; + } + default: + jj_la1[8] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + break; + } + default: + jj_la1[9] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public ClassOrInterfaceDeclaration ClassOrInterfaceDeclaration(ModifierHolder modifier) throws ParseException {boolean isInterface = false; + NameExpr name; + RangedList typePar = new RangedList(null); + List extList = null; + List impList = null; + List> members; + Position begin = modifier.begin; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case CLASS:{ + jj_consume_token(CLASS); + break; + } + case INTERFACE:{ + jj_consume_token(INTERFACE); +isInterface = true; + break; + } + default: + jj_la1[10] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +begin = begin.orIfInvalid(tokenBegin()); + name = Name(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typePar = TypeParameters(); + break; + } + default: + jj_la1[11] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case EXTENDS:{ + extList = ExtendsList(isInterface); + break; + } + default: + jj_la1[12] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IMPLEMENTS:{ + impList = ImplementsList(isInterface); + break; + } + default: + jj_la1[13] = jj_gen; + ; + } + members = ClassOrInterfaceBody(isInterface); +ClassOrInterfaceDeclaration tmp = new ClassOrInterfaceDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, isInterface, null, typePar.list, extList, impList, members); + tmp.setNameExpr(name); + return tmp; + } + + final public List ExtendsList(boolean isInterface) throws ParseException {boolean extendsMoreThanOne = false; + List ret = new LinkedList(); + ClassOrInterfaceType cit; + AnnotationExpr ann; + List annotations = null; + jj_consume_token(EXTENDS); + label_5: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[14] = jj_gen; + break label_5; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + cit = ClassOrInterfaceType(); +cit.setAnnotations(annotations); ret.add(cit); + label_6: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[15] = jj_gen; + break label_6; + } + jj_consume_token(COMMA); + cit = ClassOrInterfaceType(); +ret.add(cit); extendsMoreThanOne = true; + } +if (extendsMoreThanOne && !isInterface) + throwParseException("A class cannot extend more than one other class"); +return ret; + } + + final public List ImplementsList(boolean isInterface) throws ParseException {List ret = new LinkedList(); + ClassOrInterfaceType cit; + jj_consume_token(IMPLEMENTS); + cit = ClassOrInterfaceTypeWithAnnotations(); +ret.add(cit); + label_7: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[16] = jj_gen; + break label_7; + } + jj_consume_token(COMMA); + cit = ClassOrInterfaceTypeWithAnnotations(); +ret.add(cit); + } +if (isInterface) + throwParseException("An interface cannot implement other interfaces"); +return ret; + } + + final public EnumDeclaration EnumDeclaration(ModifierHolder modifier) throws ParseException {NameExpr name; + List impList = null; + EnumConstantDeclaration entry; + List entries = null; + BodyDeclaration member; + List> members = null; + Position begin = modifier.begin; + jj_consume_token(ENUM); +begin = begin.orIfInvalid(tokenBegin()); + name = Name(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IMPLEMENTS:{ + impList = ImplementsList(false); + break; + } + default: + jj_la1[17] = jj_gen; + ; + } + jj_consume_token(LBRACE); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER: + case AT:{ +entries = new LinkedList(); + entry = EnumConstantDeclaration(); +entries.add(entry); + label_8: + while (true) { + if (jj_2_3(2)) { + ; + } else { + break label_8; + } + jj_consume_token(COMMA); + entry = EnumConstantDeclaration(); +entries.add(entry); + } + break; + } + default: + jj_la1[18] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + jj_consume_token(COMMA); + break; + } + default: + jj_la1[19] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case SEMICOLON:{ + jj_consume_token(SEMICOLON); + label_9: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case CLASS: + case _DEFAULT: + case DOUBLE: + case ENUM: + case FINAL: + case FLOAT: + case INT: + case INTERFACE: + case LONG: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOID: + case VOLATILE: + case IDENTIFIER: + case LBRACE: + case SEMICOLON: + case AT: + case LT:{ + ; + break; + } + default: + jj_la1[20] = jj_gen; + break label_9; + } + member = ClassOrInterfaceBodyDeclaration(false); +members = add(members, member); + } + break; + } + default: + jj_la1[21] = jj_gen; + ; + } + jj_consume_token(RBRACE); +EnumDeclaration tmp = new EnumDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, null, impList, entries, members); + tmp.setNameExpr(name); + return tmp; + } + + final public EnumConstantDeclaration EnumConstantDeclaration() throws ParseException {List annotations = null; + AnnotationExpr ann; + String name; + List args = null; + List> classBody = null; + Position begin = INVALID; + + label_10: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[22] = jj_gen; + break label_10; + } + ann = Annotation(); +annotations = add(annotations, ann); begin = begin.orIfInvalid(ann.getBegin()); + } + jj_consume_token(IDENTIFIER); +name = token.image; begin = begin.orIfInvalid(tokenBegin()); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LPAREN:{ + args = Arguments(); + break; + } + default: + jj_la1[23] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACE:{ + classBody = ClassOrInterfaceBody(false); + break; + } + default: + jj_la1[24] = jj_gen; + ; + } +return new EnumConstantDeclaration(range(begin, tokenEnd()), annotations, name, args, classBody); + } + +/** + * If the list inside the returned RangedList is null, there are no brackets. + * If it is empty, there are brackets, but nothing is in them <>. + * The normal case is that it contains TypeParameters, like . + */ + final public RangedList TypeParameters() throws ParseException {RangedList ret = new RangedList(new LinkedList()); + TypeParameter tp; + List annotations = null; + AnnotationExpr ann; + jj_consume_token(LT); +ret.beginAt(tokenBegin()); + label_11: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[25] = jj_gen; + break label_11; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + tp = TypeParameter(); +ret.add(tp); tp.setAnnotations(annotations); annotations = null; + label_12: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[26] = jj_gen; + break label_12; + } + jj_consume_token(COMMA); + label_13: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[27] = jj_gen; + break label_13; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + tp = TypeParameter(); +ret.add(tp); tp.setAnnotations(annotations); annotations = null; + } + jj_consume_token(GT); +ret.endAt(tokenEnd()); +return ret; + } + + final public TypeParameter TypeParameter() throws ParseException {String name; + List typeBound = null; + Position begin; + jj_consume_token(IDENTIFIER); +name = token.image; begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case EXTENDS:{ + typeBound = TypeBound(); + break; + } + default: + jj_la1[28] = jj_gen; + ; + } +return new TypeParameter(range(begin, tokenEnd()),name, typeBound); + } + + final public List TypeBound() throws ParseException {List ret = new LinkedList(); + ClassOrInterfaceType cit; + AnnotationExpr ann; + List annotations = null; + jj_consume_token(EXTENDS); + label_14: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[29] = jj_gen; + break label_14; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + cit = ClassOrInterfaceType(); +cit.setAnnotations(annotations); ret.add(cit); annotations=null; + label_15: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BIT_AND:{ + ; + break; + } + default: + jj_la1[30] = jj_gen; + break label_15; + } + jj_consume_token(BIT_AND); + label_16: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[31] = jj_gen; + break label_16; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + cit = ClassOrInterfaceType(); +cit.setAnnotations(annotations); ret.add(cit); annotations=null; + } +return ret; + } + + final public List> ClassOrInterfaceBody(boolean isInterface) throws ParseException {List> ret = new LinkedList>(); + BodyDeclaration member; + jj_consume_token(LBRACE); + label_17: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case CLASS: + case _DEFAULT: + case DOUBLE: + case ENUM: + case FINAL: + case FLOAT: + case INT: + case INTERFACE: + case LONG: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOID: + case VOLATILE: + case IDENTIFIER: + case LBRACE: + case SEMICOLON: + case AT: + case LT:{ + ; + break; + } + default: + jj_la1[32] = jj_gen; + break label_17; + } + member = ClassOrInterfaceBodyDeclaration(isInterface); +ret.add(member); + } + jj_consume_token(RBRACE); +return ret; + } + + final public BodyDeclaration ClassOrInterfaceBodyDeclaration(boolean isInterface) throws ParseException {ModifierHolder modifier; + ModifierHolder modifier2 = null; + EnumSet aux = null; + BodyDeclaration ret; + boolean isDefault = false; + + if (jj_2_6(2)) { + ret = InitializerDeclaration(); +if (isInterface) + throwParseException("An interface cannot have initializers"); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case CLASS: + case _DEFAULT: + case DOUBLE: + case ENUM: + case FINAL: + case FLOAT: + case INT: + case INTERFACE: + case LONG: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOID: + case VOLATILE: + case IDENTIFIER: + case AT: + case LT:{ + modifier = Modifiers(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case _DEFAULT:{ + jj_consume_token(_DEFAULT); + modifier2 = Modifiers(); +if(!isInterface) + { + throwParseException("A class cannot have default members"); + } + isDefault = true; + break; + } + default: + jj_la1[33] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case CLASS: + case INTERFACE:{ + ret = ClassOrInterfaceDeclaration(modifier); + break; + } + case ENUM:{ + ret = EnumDeclaration(modifier); + break; + } + case AT:{ + ret = AnnotationTypeDeclaration(modifier); + break; + } + default: + jj_la1[34] = jj_gen; + if (jj_2_4(2147483647)) { + ret = ConstructorDeclaration(modifier); + } else if (jj_2_5(2147483647)) { + ret = FieldDeclaration(modifier); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT: + case VOID: + case IDENTIFIER: + case LT:{ + ret = MethodDeclaration(modifier); +if(isDefault && ret!= null && ((MethodDeclaration)ret).getBody() == null) + { + throwParseException("\"default\" methods must have a body"); + } + ((MethodDeclaration)ret).setDefault(isDefault); + if(modifier2!= null) + { + aux = modifier2.modifiers; + } + addMultipleModifier(modifier.modifiers, aux, token); + ((MethodDeclaration)ret).setModifiers(modifier.modifiers); + break; + } + default: + jj_la1[35] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } +if(isDefault && ! (ret instanceof MethodDeclaration)) + { + throwParseException("Only methods can have the keyword \"default\"."); + } + break; + } + case SEMICOLON:{ + jj_consume_token(SEMICOLON); +ret = new EmptyMemberDeclaration(tokenRange()); + break; + } + default: + jj_la1[36] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public FieldDeclaration FieldDeclaration(ModifierHolder modifier) throws ParseException {Type type; + List variables = new LinkedList(); + VariableDeclarator val; + // Modifiers are already matched in the caller + type = Type(); + val = VariableDeclarator(); +variables.add(val); + label_18: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[37] = jj_gen; + break label_18; + } + jj_consume_token(COMMA); + val = VariableDeclarator(); +variables.add(val); + } + jj_consume_token(SEMICOLON); +Position begin = modifier.begin.orIfInvalid(type.getBegin()); + return new FieldDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, variables); + } + + final public VariableDeclarator VariableDeclarator() throws ParseException {VariableDeclaratorId id; + Expression init = null; + id = VariableDeclaratorId(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ASSIGN:{ + jj_consume_token(ASSIGN); + init = VariableInitializer(); + break; + } + default: + jj_la1[38] = jj_gen; + ; + } +return new VariableDeclarator(range(id.getBegin(), tokenEnd()), id, init); + } + + final public VariableDeclaratorId VariableDeclaratorId() throws ParseException {String name; + int arrayCount = 0; + Position begin; + jj_consume_token(IDENTIFIER); +name = token.image; begin=tokenBegin(); + label_19: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACKET:{ + ; + break; + } + default: + jj_la1[39] = jj_gen; + break label_19; + } + jj_consume_token(LBRACKET); + jj_consume_token(RBRACKET); +arrayCount++; + } +return new VariableDeclaratorId(range(begin, tokenEnd()),name, arrayCount); + } + + final public Expression VariableInitializer() throws ParseException {Expression ret; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACE:{ + ret = ArrayInitializer(); + break; + } + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + ret = Expression(); + break; + } + default: + jj_la1[40] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public ArrayInitializerExpr ArrayInitializer() throws ParseException {List values = null; + Expression val; + Position begin; + jj_consume_token(LBRACE); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case LBRACE: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + val = VariableInitializer(); +values = add(values, val); + label_20: + while (true) { + if (jj_2_7(2)) { + ; + } else { + break label_20; + } + jj_consume_token(COMMA); + val = VariableInitializer(); +values = add(values, val); + } + break; + } + default: + jj_la1[41] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + jj_consume_token(COMMA); + break; + } + default: + jj_la1[42] = jj_gen; + ; + } + jj_consume_token(RBRACE); +return new ArrayInitializerExpr(range(begin, tokenEnd()), values); + } + + final public MethodDeclaration MethodDeclaration(ModifierHolder modifier) throws ParseException {RangedList typeParameters = new RangedList(null); + Type type; + NameExpr name; + List parameters; + int arrayCount = 0; + List throws_ = null; + BlockStmt block = null; + Position beginPos = modifier.begin; + ReferenceType throwType; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeParameters = TypeParameters(); +if(beginPos.line==-1){ beginPos=typeParameters.range.begin;} + break; + } + default: + jj_la1[43] = jj_gen; + ; + } + type = ResultType(); +if(beginPos.line==-1){beginPos=type.getBegin();} + name = Name(); + parameters = FormalParameters(); + label_21: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACKET:{ + ; + break; + } + default: + jj_la1[44] = jj_gen; + break label_21; + } + jj_consume_token(LBRACKET); + jj_consume_token(RBRACKET); +arrayCount++; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case THROWS:{ + jj_consume_token(THROWS); + throwType = ReferenceTypeWithAnnotations(); +throws_ = add(throws_, throwType); + label_22: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[45] = jj_gen; + break label_22; + } + jj_consume_token(COMMA); + throwType = ReferenceTypeWithAnnotations(); +throws_ = add(throws_, throwType); + } + break; + } + default: + jj_la1[46] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACE:{ + block = Block(); + break; + } + case SEMICOLON:{ + jj_consume_token(SEMICOLON); + break; + } + default: + jj_la1[47] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +MethodDeclaration tmp = new MethodDeclaration(range(beginPos, pos(token.endLine, token.endColumn)), modifier.modifiers, modifier.annotations, typeParameters.list, type, null, parameters, arrayCount, throws_, block); + tmp.setNameExpr(name); + return tmp; + } + + final public ReferenceType ReferenceTypeWithAnnotations() throws ParseException {List annotations = new ArrayList(); + AnnotationExpr annotation = null; + ReferenceType type; + label_23: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[48] = jj_gen; + break label_23; + } + annotation = Annotation(); +annotations = add(annotations, annotation); + } + type = ReferenceType(); +if (type.getAnnotations() != null) { + type.getAnnotations().addAll(annotations); + } else { + type.setAnnotations(annotations); + } + return type; + } + + final public List FormalParameters() throws ParseException {List ret = null; + Parameter par; + jj_consume_token(LPAREN); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FINAL: + case FLOAT: + case INT: + case LONG: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOLATILE: + case IDENTIFIER: + case AT:{ + par = FormalParameter(); +ret = add(ret, par); + label_24: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[49] = jj_gen; + break label_24; + } + jj_consume_token(COMMA); + par = FormalParameter(); +ret = add(ret, par); + } + break; + } + default: + jj_la1[50] = jj_gen; + ; + } + jj_consume_token(RPAREN); +return ret; + } + + final public List FormalLambdaParameters() throws ParseException {List ret = null; + Parameter par; + jj_consume_token(COMMA); + par = FormalParameter(); +ret = add(ret, par); + label_25: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[51] = jj_gen; + break label_25; + } + jj_consume_token(COMMA); + par = FormalParameter(); +ret = add(ret, par); + } +return ret; + } + + final public List InferredLambdaParameters() throws ParseException {List ret = null; + VariableDeclaratorId id; + jj_consume_token(COMMA); + id = VariableDeclaratorId(); +ret = add(ret, new Parameter(range(id.getBegin(), id.getEnd()), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id)); + label_26: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[52] = jj_gen; + break label_26; + } + jj_consume_token(COMMA); + id = VariableDeclaratorId(); +ret = add(ret, new Parameter(range(id.getBegin(), id.getEnd()), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id)); + } +return ret; + } + + final public Parameter FormalParameter() throws ParseException {ModifierHolder modifier; + Type type; + boolean isVarArg = false; + VariableDeclaratorId id; + modifier = Modifiers(); + type = Type(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ELLIPSIS:{ + jj_consume_token(ELLIPSIS); +isVarArg = true; + break; + } + default: + jj_la1[53] = jj_gen; + ; + } + id = VariableDeclaratorId(); +Position begin = modifier.begin.orIfInvalid(type.getBegin()); + return new Parameter(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, isVarArg, id); + } + + final public ConstructorDeclaration ConstructorDeclaration(ModifierHolder modifier) throws ParseException {RangedList typeParameters = new RangedList(null); + NameExpr name; + List parameters; + List throws_ = null; + ExplicitConstructorInvocationStmt exConsInv = null; + List stmts; + Position begin = modifier.begin; + Position blockBegin = INVALID; + ReferenceType throwType; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeParameters = TypeParameters(); +begin = begin.orIfInvalid(typeParameters.range.begin); + break; + } + default: + jj_la1[54] = jj_gen; + ; + } + // Modifiers matched in the caller + name = SimpleName(); +begin = begin.orIfInvalid(typeParameters.range.begin); + parameters = FormalParameters(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case THROWS:{ + jj_consume_token(THROWS); + throwType = ReferenceTypeWithAnnotations(); +throws_ = add(throws_, throwType); + label_27: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[55] = jj_gen; + break label_27; + } + jj_consume_token(COMMA); + throwType = ReferenceTypeWithAnnotations(); +throws_ = add(throws_, throwType); + } + break; + } + default: + jj_la1[56] = jj_gen; + ; + } + jj_consume_token(LBRACE); +blockBegin=tokenBegin(); + if (jj_2_8(2147483647)) { + exConsInv = ExplicitConstructorInvocation(); + } else { + ; + } + stmts = Statements(); + jj_consume_token(RBRACE); +if (exConsInv != null) { + stmts = add(0, stmts, exConsInv); + } + ConstructorDeclaration tmp = new ConstructorDeclaration(range(begin, pos(token.endLine, token.endColumn)), modifier.modifiers, modifier.annotations, typeParameters.list, null, parameters, throws_, new BlockStmt(range(blockBegin, tokenEnd()), stmts)); + tmp.setNameExpr(name); + return tmp; + } + + final public ExplicitConstructorInvocationStmt ExplicitConstructorInvocation() throws ParseException {boolean isThis = false; + List args; + Expression expr = null; + RangedList typeArgs = new RangedList(null); + Position begin = INVALID; + if (jj_2_10(2147483647)) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); +begin=typeArgs.range.begin; + break; + } + default: + jj_la1[57] = jj_gen; + ; + } + jj_consume_token(THIS); +begin = begin.orIfInvalid(tokenBegin()); isThis = true; + args = Arguments(); + jj_consume_token(SEMICOLON); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case LT:{ + if (jj_2_9(2147483647)) { + expr = PrimaryExpressionWithoutSuperSuffix(); + jj_consume_token(DOT); +begin=expr.getBegin(); + } else { + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); +begin = begin.orIfInvalid(typeArgs.range.begin); + break; + } + default: + jj_la1[58] = jj_gen; + ; + } + jj_consume_token(SUPER); +begin = begin.orIfInvalid(tokenBegin()); + args = Arguments(); + jj_consume_token(SEMICOLON); + break; + } + default: + jj_la1[59] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return new ExplicitConstructorInvocationStmt(range(begin, tokenEnd()),typeArgs.list, isThis, expr, args); + } + + final public List Statements() throws ParseException {List ret = null; + Statement stmt; + label_28: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case ASSERT: + case BOOLEAN: + case BREAK: + case BYTE: + case CHAR: + case CLASS: + case CONTINUE: + case DO: + case DOUBLE: + case FALSE: + case FINAL: + case FLOAT: + case FOR: + case IF: + case INT: + case INTERFACE: + case LONG: + case NATIVE: + case NEW: + case NULL: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case RETURN: + case SHORT: + case STATIC: + case STRICTFP: + case SUPER: + case SWITCH: + case SYNCHRONIZED: + case THIS: + case THROW: + case TRANSIENT: + case TRUE: + case TRY: + case VOID: + case VOLATILE: + case WHILE: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case LBRACE: + case SEMICOLON: + case AT: + case INCR: + case DECR:{ + ; + break; + } + default: + jj_la1[60] = jj_gen; + break label_28; + } + stmt = BlockStatement(); +ret = add(ret, stmt); + } +return ret; + } + + final public InitializerDeclaration InitializerDeclaration() throws ParseException {BlockStmt block; + Position begin = INVALID; + boolean isStatic = false; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case STATIC:{ + jj_consume_token(STATIC); +isStatic = true; begin=tokenBegin(); + break; + } + default: + jj_la1[61] = jj_gen; + ; + } + block = Block(); +begin = begin.orIfInvalid(block.getBegin()); +return new InitializerDeclaration(range(begin, tokenEnd()), isStatic, block); + } + +/* + * Type, name and expression syntax follows. + */ + final public +Type Type() throws ParseException {Type ret; + if (jj_2_11(2)) { + ret = ReferenceType(); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT:{ + ret = PrimitiveType(); + break; + } + default: + jj_la1[62] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public ReferenceType ReferenceType() throws ParseException {Type type; + int arrayCount = 0; + List annotations = null; + List> accum= null; + AnnotationExpr ann; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT:{ + type = PrimitiveType(); + label_29: + while (true) { + label_30: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[63] = jj_gen; + break label_30; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + jj_consume_token(LBRACKET); + jj_consume_token(RBRACKET); +arrayCount++; accum = add(accum, annotations); annotations= null; + if (jj_2_12(2)) { + ; + } else { + break label_29; + } + } + break; + } + case IDENTIFIER:{ + type = ClassOrInterfaceType(); + label_31: + while (true) { + if (jj_2_13(2)) { + ; + } else { + break label_31; + } + label_32: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[64] = jj_gen; + break label_32; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + jj_consume_token(LBRACKET); + jj_consume_token(RBRACKET); +arrayCount++; accum = add(accum, annotations); annotations= null; + } + break; + } + default: + jj_la1[65] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return new ReferenceType(range(type.getBegin(), tokenEnd()), type, arrayCount, null, accum); + } + + final public IntersectionType IntersectionType() throws ParseException {Position begin; + ReferenceType elementType; + List elements = null; + elementType = ReferenceType(); +begin=elementType.getBegin(); elements = add(elements, elementType); + jj_consume_token(BIT_AND); + label_33: + while (true) { + elementType = ReferenceType(); +elements = add(elements, elementType); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT: + case IDENTIFIER:{ + ; + break; + } + default: + jj_la1[66] = jj_gen; + break label_33; + } + } +return new IntersectionType(range(begin, tokenEnd()), elements); + } + + final public ClassOrInterfaceType ClassOrInterfaceType() throws ParseException {ClassOrInterfaceType ret; + String name; + RangedList typeArgs = new RangedList(null); + Position begin; + List annotations = null; + AnnotationExpr ann; + jj_consume_token(IDENTIFIER); +begin=tokenBegin(); +name = token.image; + if (jj_2_14(2)) { + typeArgs = TypeArguments(); + } else { + ; + } +ret = new ClassOrInterfaceType(range(begin, tokenEnd()),null, name, createTypeArguments(typeArgs.list)); + label_34: + while (true) { + if (jj_2_15(2)) { + ; + } else { + break label_34; + } + jj_consume_token(DOT); + label_35: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[67] = jj_gen; + break label_35; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + jj_consume_token(IDENTIFIER); +name = token.image; + if (jj_2_16(2)) { + typeArgs = TypeArguments(); + } else { + ; + } +ret = new ClassOrInterfaceType(range(begin, tokenEnd()),ret, name, createTypeArguments(typeArgs.list)); + ret.setAnnotations(annotations); + annotations = null; + } +return ret; + } + + final public ClassOrInterfaceType ClassOrInterfaceTypeWithAnnotations() throws ParseException {List annotations = new ArrayList(); + AnnotationExpr annotation = null; + ClassOrInterfaceType type; + label_36: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[68] = jj_gen; + break label_36; + } + annotation = Annotation(); +annotations = add(annotations, annotation); + } + type = ClassOrInterfaceType(); +if (type.getAnnotations() != null) { + type.getAnnotations().addAll(annotations); + } else { + type.setAnnotations(annotations); + } + return type; + } + + final public RangedList TypeArguments() throws ParseException {RangedList ret = new RangedList(new LinkedList()); + Type type; + jj_consume_token(LT); +ret.beginAt(tokenBegin()); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT: + case IDENTIFIER: + case AT: + case HOOK:{ + type = TypeArgument(); +ret.add(type); + label_37: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[69] = jj_gen; + break label_37; + } + jj_consume_token(COMMA); + type = TypeArgument(); +ret.add(type); + } + break; + } + default: + jj_la1[70] = jj_gen; + ; + } + jj_consume_token(GT); +ret.endAt(tokenEnd()); +return ret; + } + + final public Type TypeArgument() throws ParseException {Type ret; + List annotations = null; + AnnotationExpr ann; + label_38: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[71] = jj_gen; + break label_38; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT: + case IDENTIFIER:{ + ret = ReferenceType(); + break; + } + case HOOK:{ + ret = Wildcard(); + break; + } + default: + jj_la1[72] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +ret.setAnnotations(annotations); return ret; + } + + final public WildcardType Wildcard() throws ParseException {ReferenceType ext = null; + ReferenceType sup = null; + Position begin; + AnnotationExpr ann; + List annotations = null; + jj_consume_token(HOOK); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case EXTENDS: + case SUPER:{ + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case EXTENDS:{ + jj_consume_token(EXTENDS); + label_39: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[73] = jj_gen; + break label_39; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + ext = ReferenceType(); +ext.setAnnotations(annotations); + break; + } + case SUPER:{ + jj_consume_token(SUPER); + label_40: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[74] = jj_gen; + break label_40; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + sup = ReferenceType(); +sup.setAnnotations(annotations); + break; + } + default: + jj_la1[75] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + break; + } + default: + jj_la1[76] = jj_gen; + ; + } +return new WildcardType(range(begin, tokenEnd()),ext, sup); + } + + final public PrimitiveType PrimitiveType() throws ParseException {PrimitiveType ret; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN:{ + jj_consume_token(BOOLEAN); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Boolean); + break; + } + case CHAR:{ + jj_consume_token(CHAR); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Char); + break; + } + case BYTE:{ + jj_consume_token(BYTE); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Byte); + break; + } + case SHORT:{ + jj_consume_token(SHORT); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Short); + break; + } + case INT:{ + jj_consume_token(INT); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Int); + break; + } + case LONG:{ + jj_consume_token(LONG); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Long); + break; + } + case FLOAT:{ + jj_consume_token(FLOAT); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Float); + break; + } + case DOUBLE:{ + jj_consume_token(DOUBLE); +ret = new PrimitiveType(tokenRange(), PrimitiveType.Primitive.Double); + break; + } + default: + jj_la1[77] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public Type ResultType() throws ParseException {Type ret; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case VOID:{ + jj_consume_token(VOID); +ret = new VoidType(tokenRange()); + break; + } + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT: + case IDENTIFIER:{ + ret = Type(); + break; + } + default: + jj_la1[78] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public NameExpr Name() throws ParseException {NameExpr ret; + jj_consume_token(IDENTIFIER); +ret = new NameExpr(tokenRange(), token.image); + label_41: + while (true) { + if (jj_2_17(2)) { + ; + } else { + break label_41; + } + jj_consume_token(DOT); + jj_consume_token(IDENTIFIER); +ret = new QualifiedNameExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, token.image); + } +return ret; + } + + final public NameExpr SimpleName() throws ParseException {NameExpr ret; + jj_consume_token(IDENTIFIER); +ret = new NameExpr(tokenRange(), token.image); +return ret; + } + +/* + * Expression syntax follows. + */ + final public +Expression Expression() throws ParseException {Expression ret; + AssignExpr.Operator op; + Expression value; + Statement lambdaBody = null; + RangedList typeArgs = new RangedList(null); + ret = ConditionalExpression(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ASSIGN: + case PLUSASSIGN: + case MINUSASSIGN: + case STARASSIGN: + case SLASHASSIGN: + case ANDASSIGN: + case ORASSIGN: + case XORASSIGN: + case REMASSIGN: + case LSHIFTASSIGN: + case RSIGNEDSHIFTASSIGN: + case RUNSIGNEDSHIFTASSIGN: + case ARROW: + case DOUBLECOLON:{ + if (jj_2_18(2)) { + op = AssignmentOperator(); + value = Expression(); +ret = new AssignExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, value, op); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ARROW:{ + jj_consume_token(ARROW); + lambdaBody = LambdaBody(); +if (ret instanceof CastExpr) + { + ret = generateLambda(ret, lambdaBody); + } + else if (ret instanceof ConditionalExpr){ + ConditionalExpr ce = (ConditionalExpr) ret; + if(ce.getElseExpr() != null){ + ce.setElseExpr(generateLambda(ce.getElseExpr(), lambdaBody)); + } + } + else + { + ret = generateLambda(ret, lambdaBody); + } + break; + } + case DOUBLECOLON:{ + jj_consume_token(DOUBLECOLON); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); + break; + } + default: + jj_la1[79] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + jj_consume_token(IDENTIFIER); + break; + } + case NEW:{ + jj_consume_token(NEW); + break; + } + default: + jj_la1[80] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +ret = new MethodReferenceExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, createTypeArguments(typeArgs.list), token.image); + break; + } + default: + jj_la1[81] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + break; + } + default: + jj_la1[82] = jj_gen; + ; + } +return ret; + } + + final public AssignExpr.Operator AssignmentOperator() throws ParseException {AssignExpr.Operator ret; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ASSIGN:{ + jj_consume_token(ASSIGN); +ret = AssignExpr.Operator.assign; + break; + } + case STARASSIGN:{ + jj_consume_token(STARASSIGN); +ret = AssignExpr.Operator.star; + break; + } + case SLASHASSIGN:{ + jj_consume_token(SLASHASSIGN); +ret = AssignExpr.Operator.slash; + break; + } + case REMASSIGN:{ + jj_consume_token(REMASSIGN); +ret = AssignExpr.Operator.rem; + break; + } + case PLUSASSIGN:{ + jj_consume_token(PLUSASSIGN); +ret = AssignExpr.Operator.plus; + break; + } + case MINUSASSIGN:{ + jj_consume_token(MINUSASSIGN); +ret = AssignExpr.Operator.minus; + break; + } + case LSHIFTASSIGN:{ + jj_consume_token(LSHIFTASSIGN); +ret = AssignExpr.Operator.lShift; + break; + } + case RSIGNEDSHIFTASSIGN:{ + jj_consume_token(RSIGNEDSHIFTASSIGN); +ret = AssignExpr.Operator.rSignedShift; + break; + } + case RUNSIGNEDSHIFTASSIGN:{ + jj_consume_token(RUNSIGNEDSHIFTASSIGN); +ret = AssignExpr.Operator.rUnsignedShift; + break; + } + case ANDASSIGN:{ + jj_consume_token(ANDASSIGN); +ret = AssignExpr.Operator.and; + break; + } + case XORASSIGN:{ + jj_consume_token(XORASSIGN); +ret = AssignExpr.Operator.xor; + break; + } + case ORASSIGN:{ + jj_consume_token(ORASSIGN); +ret = AssignExpr.Operator.or; + break; + } + default: + jj_la1[83] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public Expression ConditionalExpression() throws ParseException {Expression ret; + Expression left; + Expression right; + ret = ConditionalOrExpression(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case HOOK:{ + jj_consume_token(HOOK); + left = Expression(); + jj_consume_token(COLON); + right = ConditionalExpression(); +ret = new ConditionalExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, left, right); + break; + } + default: + jj_la1[84] = jj_gen; + ; + } +return ret; + } + + final public Expression ConditionalOrExpression() throws ParseException {Expression ret; + Expression right; + ret = ConditionalAndExpression(); + label_42: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case SC_OR:{ + ; + break; + } + default: + jj_la1[85] = jj_gen; + break label_42; + } + jj_consume_token(SC_OR); + right = ConditionalAndExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.or); + } +return ret; + } + + final public Expression ConditionalAndExpression() throws ParseException {Expression ret; + Expression right; + ret = InclusiveOrExpression(); + label_43: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case SC_AND:{ + ; + break; + } + default: + jj_la1[86] = jj_gen; + break label_43; + } + jj_consume_token(SC_AND); + right = InclusiveOrExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.and); + } +return ret; + } + + final public Expression InclusiveOrExpression() throws ParseException {Expression ret; + Expression right; + ret = ExclusiveOrExpression(); + label_44: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BIT_OR:{ + ; + break; + } + default: + jj_la1[87] = jj_gen; + break label_44; + } + jj_consume_token(BIT_OR); + right = ExclusiveOrExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.binOr); + } +return ret; + } + + final public Expression ExclusiveOrExpression() throws ParseException {Expression ret; + Expression right; + ret = AndExpression(); + label_45: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case XOR:{ + ; + break; + } + default: + jj_la1[88] = jj_gen; + break label_45; + } + jj_consume_token(XOR); + right = AndExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.xor); + } +return ret; + } + + final public Expression AndExpression() throws ParseException {Expression ret; + Expression right; + ret = EqualityExpression(); + label_46: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BIT_AND:{ + ; + break; + } + default: + jj_la1[89] = jj_gen; + break label_46; + } + jj_consume_token(BIT_AND); + right = EqualityExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, BinaryExpr.Operator.binAnd); + } +return ret; + } + + final public Expression EqualityExpression() throws ParseException {Expression ret; + Expression right; + BinaryExpr.Operator op; + ret = InstanceOfExpression(); + label_47: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case EQ: + case NE:{ + ; + break; + } + default: + jj_la1[90] = jj_gen; + break label_47; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case EQ:{ + jj_consume_token(EQ); +op = BinaryExpr.Operator.equals; + break; + } + case NE:{ + jj_consume_token(NE); +op = BinaryExpr.Operator.notEquals; + break; + } + default: + jj_la1[91] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + right = InstanceOfExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); + } +return ret; + } + + final public Expression InstanceOfExpression() throws ParseException {Expression ret; + Type type; + ret = RelationalExpression(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case INSTANCEOF:{ + jj_consume_token(INSTANCEOF); + type = Type(); +ret = new InstanceOfExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, type); + break; + } + default: + jj_la1[92] = jj_gen; + ; + } +return ret; + } + + final public Expression RelationalExpression() throws ParseException {Expression ret; + Expression right; + BinaryExpr.Operator op; + ret = ShiftExpression(); + label_48: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT: + case LE: + case GE: + case GT:{ + ; + break; + } + default: + jj_la1[93] = jj_gen; + break label_48; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + jj_consume_token(LT); +op = BinaryExpr.Operator.less; + break; + } + case GT:{ + jj_consume_token(GT); +op = BinaryExpr.Operator.greater; + break; + } + case LE:{ + jj_consume_token(LE); +op = BinaryExpr.Operator.lessEquals; + break; + } + case GE:{ + jj_consume_token(GE); +op = BinaryExpr.Operator.greaterEquals; + break; + } + default: + jj_la1[94] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + right = ShiftExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); + } +return ret; + } + + final public Expression ShiftExpression() throws ParseException {Expression ret; + Expression right; + BinaryExpr.Operator op; + ret = AdditiveExpression(); + label_49: + while (true) { + if (jj_2_19(1)) { + ; + } else { + break label_49; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LSHIFT:{ + jj_consume_token(LSHIFT); +op = BinaryExpr.Operator.lShift; + break; + } + default: + jj_la1[95] = jj_gen; + if (jj_2_20(1)) { + RSIGNEDSHIFT(); +op = BinaryExpr.Operator.rSignedShift; + } else if (jj_2_21(1)) { + RUNSIGNEDSHIFT(); +op = BinaryExpr.Operator.rUnsignedShift; + } else { + jj_consume_token(-1); + throw new ParseException(); + } + } + right = AdditiveExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); + } +return ret; + } + + final public Expression AdditiveExpression() throws ParseException {Expression ret; + Expression right; + BinaryExpr.Operator op; + ret = MultiplicativeExpression(); + label_50: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case PLUS: + case MINUS:{ + ; + break; + } + default: + jj_la1[96] = jj_gen; + break label_50; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case PLUS:{ + jj_consume_token(PLUS); +op = BinaryExpr.Operator.plus; + break; + } + case MINUS:{ + jj_consume_token(MINUS); +op = BinaryExpr.Operator.minus; + break; + } + default: + jj_la1[97] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + right = MultiplicativeExpression(); +ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); + } +return ret; + } + + final public Expression MultiplicativeExpression() throws ParseException {Expression ret; + Expression right; + BinaryExpr.Operator op; + ret = UnaryExpression(); + label_51: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case STAR: + case SLASH: + case REM:{ + ; + break; + } + default: + jj_la1[98] = jj_gen; + break label_51; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case STAR:{ + jj_consume_token(STAR); +op = BinaryExpr.Operator.times; + break; + } + case SLASH:{ + jj_consume_token(SLASH); +op = BinaryExpr.Operator.divide; + break; + } + case REM:{ + jj_consume_token(REM); +op = BinaryExpr.Operator.remainder; + break; + } + default: + jj_la1[99] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + right = UnaryExpression(); +ret = new BinaryExpr(range(ret.getBegin(), tokenEnd()), ret, right, op); + } +return ret; + } + + final public Expression UnaryExpression() throws ParseException {Expression ret; + UnaryExpr.Operator op; + Position begin = INVALID; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case INCR:{ + ret = PreIncrementExpression(); + break; + } + case DECR:{ + ret = PreDecrementExpression(); + break; + } + case PLUS: + case MINUS:{ + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case PLUS:{ + jj_consume_token(PLUS); +op = UnaryExpr.Operator.positive; begin=tokenBegin(); + break; + } + case MINUS:{ + jj_consume_token(MINUS); +op = UnaryExpr.Operator.negative; begin=tokenBegin(); + break; + } + default: + jj_la1[100] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + ret = UnaryExpression(); +if(op == UnaryExpr.Operator.negative) { + if (ret instanceof IntegerLiteralExpr && ((IntegerLiteralExpr)ret).isMinValue()) { + ret = new IntegerLiteralMinValueExpr(range(begin, tokenEnd())); + } else if (ret instanceof LongLiteralExpr && ((LongLiteralExpr)ret).isMinValue()) { + ret = new LongLiteralMinValueExpr(range(begin, tokenEnd())); + } else { + ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); + } + } else { + ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); + } + break; + } + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE:{ + ret = UnaryExpressionNotPlusMinus(); + break; + } + default: + jj_la1[101] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public Expression PreIncrementExpression() throws ParseException {Expression ret; + Position begin = INVALID; + jj_consume_token(INCR); +begin=tokenBegin(); + ret = UnaryExpression(); +ret = new UnaryExpr(range(begin, tokenEnd()), ret, UnaryExpr.Operator.preIncrement); +return ret; + } + + final public Expression PreDecrementExpression() throws ParseException {Expression ret; + Position begin; + jj_consume_token(DECR); +begin=tokenBegin(); + ret = UnaryExpression(); +ret = new UnaryExpr(range(begin, tokenEnd()), ret, UnaryExpr.Operator.preDecrement); +return ret; + } + + final public Expression UnaryExpressionNotPlusMinus() throws ParseException {Expression ret; + UnaryExpr.Operator op; + Position begin = INVALID; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BANG: + case TILDE:{ + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case TILDE:{ + jj_consume_token(TILDE); +op = UnaryExpr.Operator.inverse; begin=tokenBegin(); + break; + } + case BANG:{ + jj_consume_token(BANG); +op = UnaryExpr.Operator.not; begin=tokenBegin(); + break; + } + default: + jj_la1[102] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + ret = UnaryExpression(); +ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); + break; + } + default: + jj_la1[103] = jj_gen; + if (jj_2_22(2147483647)) { + ret = CastExpression(); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN:{ + ret = PostfixExpression(); + break; + } + default: + jj_la1[104] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } +return ret; + } + + final public Expression PostfixExpression() throws ParseException {Expression ret; + UnaryExpr.Operator op; + ret = PrimaryExpression(); + if (jj_2_23(2)) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case INCR:{ + jj_consume_token(INCR); +op = UnaryExpr.Operator.posIncrement; + break; + } + case DECR:{ + jj_consume_token(DECR); +op = UnaryExpr.Operator.posDecrement; + break; + } + default: + jj_la1[105] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +ret = new UnaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, op); + } else { + ; + } +return ret; + } + + final public Expression CastExpression() throws ParseException {Expression ret; + ReferenceType referenceType; + PrimitiveType primitiveType; + Position begin = INVALID; + AnnotationExpr ann; + List annotations = null; + List typesOfMultiCast = null; + jj_consume_token(LPAREN); +begin=tokenBegin(); + label_52: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[106] = jj_gen; + break label_52; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + if (jj_2_24(2)) { + primitiveType = PrimitiveType(); + jj_consume_token(RPAREN); + ret = UnaryExpression(); +primitiveType.setAnnotations(annotations); ret = new CastExpr(range(begin, tokenEnd()), primitiveType, ret); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT: + case IDENTIFIER:{ + referenceType = ReferenceType(); +typesOfMultiCast = add(typesOfMultiCast, referenceType); referenceType.setAnnotations(annotations); + label_53: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BIT_AND:{ + ; + break; + } + default: + jj_la1[107] = jj_gen; + break label_53; + } + jj_consume_token(BIT_AND); + referenceType = ReferenceType(); +typesOfMultiCast = add(typesOfMultiCast, referenceType); + } + jj_consume_token(RPAREN); + ret = UnaryExpressionNotPlusMinus(); +if (typesOfMultiCast.size() > 1) { + ret = new CastExpr(range(begin, tokenEnd()), new IntersectionType(range(begin, tokenEnd()), typesOfMultiCast), ret); + } + ret = new CastExpr(range(begin, tokenEnd()), referenceType, ret); + break; + } + default: + jj_la1[108] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public Expression PrimaryExpression() throws ParseException {Expression ret; + ret = PrimaryPrefix(); + label_54: + while (true) { + if (jj_2_25(2)) { + ; + } else { + break label_54; + } + ret = PrimarySuffix(ret); + } +return ret; + } + + final public Expression PrimaryExpressionWithoutSuperSuffix() throws ParseException {Expression ret; + ret = PrimaryPrefix(); + label_55: + while (true) { + if (jj_2_26(2147483647)) { + ; + } else { + break label_55; + } + ret = PrimarySuffixWithoutSuper(ret); + } +return ret; + } + + final public Expression PrimaryPrefix() throws ParseException {Expression ret = null; + NameExpr name; + RangedList typeArgs = new RangedList(null); + List args = null; + List params = null; + boolean hasArgs = false; + boolean isLambda = false; + Type type; + Position begin; + Parameter p = null; + VariableDeclaratorId id = null; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case FALSE: + case NULL: + case TRUE: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL:{ + ret = Literal(); + break; + } + case THIS:{ + jj_consume_token(THIS); +ret = new ThisExpr(tokenRange(), null); + break; + } + case SUPER:{ + jj_consume_token(SUPER); +ret = new SuperExpr(tokenRange(), null); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case DOT:{ + jj_consume_token(DOT); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); + break; + } + default: + jj_la1[109] = jj_gen; + ; + } + name = SimpleName(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LPAREN:{ + args = Arguments(); +hasArgs=true; + break; + } + default: + jj_la1[110] = jj_gen; + ; + } +if (hasArgs) { + MethodCallExpr m = new MethodCallExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, typeArgs.list, null, args); + m.setNameExpr(name); + ret = m; + } else { + FieldAccessExpr f = new FieldAccessExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, null, null); + f.setFieldExpr(name); + ret = f; + } + break; + } + case DOUBLECOLON:{ + jj_consume_token(DOUBLECOLON); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); + break; + } + default: + jj_la1[111] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + jj_consume_token(IDENTIFIER); + break; + } + case NEW:{ + jj_consume_token(NEW); + break; + } + default: + jj_la1[112] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +ret = new MethodReferenceExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, createTypeArguments(typeArgs.list), token.image); + break; + } + default: + jj_la1[113] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + break; + } + case LPAREN:{ + jj_consume_token(LPAREN); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FINAL: + case FLOAT: + case INT: + case LONG: + case NATIVE: + case NEW: + case NULL: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SUPER: + case SYNCHRONIZED: + case THIS: + case TRANSIENT: + case TRUE: + case VOID: + case VOLATILE: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case AT: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + if (jj_2_27(2147483647)) { + p = FormalParameter(); +isLambda = true; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + params = FormalLambdaParameters(); + break; + } + default: + jj_la1[114] = jj_gen; + ; + } + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + ret = Expression(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + params = InferredLambdaParameters(); +isLambda = true; + break; + } + default: + jj_la1[115] = jj_gen; + ; + } + break; + } + default: + jj_la1[116] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + break; + } + default: + jj_la1[117] = jj_gen; + ; + } + jj_consume_token(RPAREN); +if(!isLambda) { ret = new EnclosedExpr(range(begin, tokenEnd()), ret);} + else{ + if(ret != null){ + if(ret instanceof NameExpr) + { + id = new VariableDeclaratorId(range(ret.getBegin(), ret.getEnd()), ((NameExpr)ret).getName(), 0); + p = new Parameter(range(ret.getBegin(), ret.getEnd()), EnumSet.noneOf(Modifier.class), null, new UnknownType(), false, id); + } + + } + params = add(0, params, p); + // TODO p may be null here + ret = new LambdaExpr(range(p.getBegin(), tokenEnd()), params, null, true); + } + break; + } + case NEW:{ + ret = AllocationExpression(null); + break; + } + default: + jj_la1[121] = jj_gen; + if (jj_2_28(2147483647)) { + type = ResultType(); + jj_consume_token(DOT); + jj_consume_token(CLASS); +ret = new ClassExpr(range(type.getBegin(), tokenEnd()), type); + } else if (jj_2_29(2147483647)) { + type = ResultType(); + jj_consume_token(DOUBLECOLON); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); + break; + } + default: + jj_la1[118] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + jj_consume_token(IDENTIFIER); + break; + } + case NEW:{ + jj_consume_token(NEW); + break; + } + default: + jj_la1[119] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +ret = new TypeExpr(type.getRange(), type); + ret = new MethodReferenceExpr(ret.getRange(), ret, createTypeArguments(typeArgs.list), token.image); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + name = SimpleName(); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LPAREN:{ + args = Arguments(); +hasArgs=true; + break; + } + default: + jj_la1[120] = jj_gen; + ; + } +if (hasArgs) { + MethodCallExpr m = new MethodCallExpr(range(begin, tokenEnd()), null, null, null, args); + m.setNameExpr(name); + ret = m; + } else { + ret = name; + } + break; + } + default: + jj_la1[122] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } +return ret; + } + + final public Expression PrimarySuffix(Expression scope) throws ParseException {Expression ret; + if (jj_2_30(2)) { + ret = PrimarySuffixWithoutSuper(scope); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case DOT:{ + jj_consume_token(DOT); + jj_consume_token(SUPER); +ret = new SuperExpr(range(scope.getBegin(), tokenEnd()), scope); + break; + } + default: + jj_la1[123] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public Expression PrimarySuffixWithoutSuper(Expression scope) throws ParseException {Expression ret; + RangedList typeArgs = new RangedList(null); + List args = null; + boolean hasArgs = false; + NameExpr name; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case DOT:{ + jj_consume_token(DOT); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case THIS:{ + jj_consume_token(THIS); +ret = new ThisExpr(range(scope.getBegin(), tokenEnd()), scope); + break; + } + case NEW:{ + ret = AllocationExpression(scope); + break; + } + default: + jj_la1[126] = jj_gen; + if (jj_2_31(2147483647)) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); + break; + } + default: + jj_la1[124] = jj_gen; + ; + } + name = SimpleName(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LPAREN:{ + args = Arguments(); +hasArgs=true; + break; + } + default: + jj_la1[125] = jj_gen; + ; + } +if (hasArgs) { + MethodCallExpr m = new MethodCallExpr(range(scope.getBegin(), tokenEnd()), scope, typeArgs.list, null, args); + m.setNameExpr(name); + ret = m; + } else { + FieldAccessExpr f = new FieldAccessExpr(range(scope.getBegin(), tokenEnd()), scope, typeArgs.list, null); + f.setFieldExpr(name); + ret = f; + } + } else { + jj_consume_token(-1); + throw new ParseException(); + } + } + break; + } + case LBRACKET:{ + jj_consume_token(LBRACKET); + ret = Expression(); + jj_consume_token(RBRACKET); +ret = new ArrayAccessExpr(range(scope.getBegin(), tokenEnd()), scope, ret); + break; + } + default: + jj_la1[127] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public Expression Literal() throws ParseException {Expression ret; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case INTEGER_LITERAL:{ + jj_consume_token(INTEGER_LITERAL); +ret = new IntegerLiteralExpr(tokenRange(), token.image); + break; + } + case LONG_LITERAL:{ + jj_consume_token(LONG_LITERAL); +ret = new LongLiteralExpr(tokenRange(), token.image); + break; + } + case FLOATING_POINT_LITERAL:{ + jj_consume_token(FLOATING_POINT_LITERAL); +ret = new DoubleLiteralExpr(tokenRange(), token.image); + break; + } + case CHARACTER_LITERAL:{ + jj_consume_token(CHARACTER_LITERAL); +ret = new CharLiteralExpr(tokenRange(), token.image.substring(1, token.image.length()-1)); + break; + } + case STRING_LITERAL:{ + jj_consume_token(STRING_LITERAL); +ret = new StringLiteralExpr(tokenRange(), token.image.substring(1, token.image.length()-1)); + break; + } + case FALSE: + case TRUE:{ + ret = BooleanLiteral(); + break; + } + case NULL:{ + ret = NullLiteral(); + break; + } + default: + jj_la1[128] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public Expression BooleanLiteral() throws ParseException {Expression ret; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case TRUE:{ + jj_consume_token(TRUE); +ret = new BooleanLiteralExpr(tokenRange(), true); + break; + } + case FALSE:{ + jj_consume_token(FALSE); +ret = new BooleanLiteralExpr(tokenRange(), false); + break; + } + default: + jj_la1[129] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public Expression NullLiteral() throws ParseException { + jj_consume_token(NULL); +return new NullLiteralExpr(tokenRange()); + } + + final public List Arguments() throws ParseException {List ret = null; + jj_consume_token(LPAREN); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + ret = ArgumentList(); + break; + } + default: + jj_la1[130] = jj_gen; + ; + } + jj_consume_token(RPAREN); +return ret; + } + + final public List ArgumentList() throws ParseException {List ret = new LinkedList(); + Expression expr; + expr = Expression(); +ret.add(expr); + label_56: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[131] = jj_gen; + break label_56; + } + jj_consume_token(COMMA); + expr = Expression(); +ret.add(expr); + } +return ret; + } + + final public Expression AllocationExpression(Expression scope) throws ParseException {Expression ret; + ArrayCreationExpr arrayExpr; + Type type; + Object[] arr; + RangedList typeArgs = new RangedList(null); + List> anonymousBody = null; + List args; + Position begin; + List annotations = null; + AnnotationExpr ann; + jj_consume_token(NEW); +if(scope==null) {begin=tokenBegin();} else {begin=scope.getBegin();} + label_57: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[132] = jj_gen; + break label_57; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT:{ + type = PrimitiveType(); +type.setAnnotations(annotations); + arr = ArrayDimsAndInits(); +arrayExpr = new ArrayCreationExpr(range(begin, tokenEnd()), type, null, 0); + arrayExpr.setArraysAnnotations((List)arr[2]); + if (arr[0] instanceof Integer) { + arrayExpr.setArrayCount(((Integer)arr[0]).intValue()); + arrayExpr.setInitializer((ArrayInitializerExpr)arr[1]); + } else { + arrayExpr.setArrayCount(((Integer)arr[1]).intValue()); + arrayExpr.setDimensions((List)arr[0]); + } + ret = arrayExpr; + break; + } + case IDENTIFIER: + case LT:{ + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); + label_58: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[133] = jj_gen; + break label_58; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + break; + } + default: + jj_la1[134] = jj_gen; + ; + } + type = ClassOrInterfaceType(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACKET: + case AT:{ + arr = ArrayDimsAndInits(); +type.setAnnotations(annotations); arrayExpr = new ArrayCreationExpr(range(begin, tokenEnd()), type, null, 0); +arrayExpr.setArraysAnnotations((List)arr[2]); + if (arr[0] instanceof Integer) { + arrayExpr.setArrayCount(((Integer)arr[0]).intValue()); + arrayExpr.setInitializer((ArrayInitializerExpr)arr[1]); + } else { + arrayExpr.setArrayCount(((Integer)arr[1]).intValue()); + arrayExpr.setDimensions((List)arr[0]); + } + ret = arrayExpr; + break; + } + case LPAREN:{ + args = Arguments(); + if (jj_2_32(2)) { + anonymousBody = ClassOrInterfaceBody(false); + } else { + ; + } +type.setAnnotations(annotations); ret = new ObjectCreationExpr(range(begin, tokenEnd()), scope, (ClassOrInterfaceType) type, typeArgs.list, args, anonymousBody); + break; + } + default: + jj_la1[135] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + break; + } + default: + jj_la1[136] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + +/* + * The third LOOKAHEAD specification below is to parse to PrimarySuffix + * if there is an expression between the "[...]". + */ +// TODO fix the horrible return type. + final public Object[] ArrayDimsAndInits() throws ParseException {Object[] ret = new Object[3]; + Expression expr; + List inits = null; + int i = 0; + List> accum = null; + List annotations = null; + AnnotationExpr ann; + label_59: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[137] = jj_gen; + break label_59; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + if (jj_2_35(2)) { + label_60: + while (true) { + jj_consume_token(LBRACKET); + expr = Expression(); +accum = add(accum, annotations); inits = add(inits, expr); + jj_consume_token(RBRACKET); + if (jj_2_33(2)) { + ; + } else { + break label_60; + } + } + label_61: + while (true) { + if (jj_2_34(2)) { + ; + } else { + break label_61; + } + label_62: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ; + break; + } + default: + jj_la1[138] = jj_gen; + break label_62; + } + ann = Annotation(); +annotations = add(annotations, ann); + } + jj_consume_token(LBRACKET); + jj_consume_token(RBRACKET); +i++; + } +accum = add(accum, annotations); annotations=null; ret[0] = inits; ret[1] = i; + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACKET:{ + label_63: + while (true) { + jj_consume_token(LBRACKET); + jj_consume_token(RBRACKET); +i++; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LBRACKET:{ + ; + break; + } + default: + jj_la1[139] = jj_gen; + break label_63; + } + } + expr = ArrayInitializer(); +accum = add(accum, annotations);ret[0] = i; ret[1] = expr; + break; + } + default: + jj_la1[140] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +ret[2]=accum; return ret; + } + +/* + * Statement syntax follows. + */ + final public +Statement Statement() throws ParseException {Statement ret; + if (jj_2_36(2)) { + ret = LabeledStatement(); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ASSERT:{ + ret = AssertStatement(); + break; + } + case LBRACE:{ + ret = Block(); + break; + } + case SEMICOLON:{ + ret = EmptyStatement(); + break; + } + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case INCR: + case DECR:{ + ret = StatementExpression(); + break; + } + case SWITCH:{ + ret = SwitchStatement(); + break; + } + case IF:{ + ret = IfStatement(); + break; + } + case WHILE:{ + ret = WhileStatement(); + break; + } + case DO:{ + ret = DoStatement(); + break; + } + case FOR:{ + ret = ForStatement(); + break; + } + case BREAK:{ + ret = BreakStatement(); + break; + } + case CONTINUE:{ + ret = ContinueStatement(); + break; + } + case RETURN:{ + ret = ReturnStatement(); + break; + } + case THROW:{ + ret = ThrowStatement(); + break; + } + case SYNCHRONIZED:{ + ret = SynchronizedStatement(); + break; + } + case TRY:{ + ret = TryStatement(); + break; + } + default: + jj_la1[141] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public AssertStmt AssertStatement() throws ParseException {Expression check; + Expression msg = null; + Position begin; + jj_consume_token(ASSERT); +begin=tokenBegin(); + check = Expression(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COLON:{ + jj_consume_token(COLON); + msg = Expression(); + break; + } + default: + jj_la1[142] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); +return new AssertStmt(range(begin, tokenEnd()),check, msg); + } + + final public LabeledStmt LabeledStatement() throws ParseException {String label; + Statement stmt; + Position begin; + jj_consume_token(IDENTIFIER); +begin=tokenBegin(); +label = token.image; + jj_consume_token(COLON); + stmt = Statement(); +return new LabeledStmt(range(begin, tokenEnd()),label, stmt); + } + + final public BlockStmt Block() throws ParseException {List stmts; + Position begin; + jj_consume_token(LBRACE); +begin=tokenBegin(); + stmts = Statements(); + jj_consume_token(RBRACE); +return new BlockStmt(range(begin, tokenEnd()), stmts); + } + +/* + * Classes inside block stametents can only be abstract or final. The semantic must check it. + */ + final public Statement BlockStatement() throws ParseException {Statement ret; + Expression expr; + ClassOrInterfaceDeclaration typeDecl; + ModifierHolder modifier; + if (jj_2_37(2147483647)) { + + modifier = Modifiers(); + typeDecl = ClassOrInterfaceDeclaration(modifier); +ret = new TypeDeclarationStmt(range(typeDecl.getBegin().line, typeDecl.getBegin().column, token.endLine, token.endColumn), typeDecl); + } else if (jj_2_38(2147483647)) { + expr = VariableDeclarationExpression(); + jj_consume_token(SEMICOLON); +ret = new ExpressionStmt(range(expr.getBegin().line, expr.getBegin().column, token.endLine, token.endColumn), expr); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ASSERT: + case BOOLEAN: + case BREAK: + case BYTE: + case CHAR: + case CONTINUE: + case DO: + case DOUBLE: + case FALSE: + case FLOAT: + case FOR: + case IF: + case INT: + case LONG: + case NEW: + case NULL: + case RETURN: + case SHORT: + case SUPER: + case SWITCH: + case SYNCHRONIZED: + case THIS: + case THROW: + case TRUE: + case TRY: + case VOID: + case WHILE: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case LBRACE: + case SEMICOLON: + case INCR: + case DECR:{ + ret = Statement(); + break; + } + default: + jj_la1[143] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public VariableDeclarationExpr VariableDeclarationExpression() throws ParseException {ModifierHolder modifier; + Type type; + List vars = new LinkedList(); + VariableDeclarator var; + modifier = Modifiers(); + type = Type(); + var = VariableDeclarator(); +vars.add(var); + label_64: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[144] = jj_gen; + break label_64; + } + jj_consume_token(COMMA); + var = VariableDeclarator(); +vars.add(var); + } +Position begin=modifier.begin.orIfInvalid(type.getBegin()); + return new VariableDeclarationExpr(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, vars); + } + + final public EmptyStmt EmptyStatement() throws ParseException { + jj_consume_token(SEMICOLON); +return new EmptyStmt(tokenRange()); + } + + final public Statement LambdaBody() throws ParseException {Expression expr; + Statement n = null; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + expr = Expression(); +n = new ExpressionStmt(range(expr.getBegin(), tokenEnd()), expr); + break; + } + case LBRACE:{ + n = Block(); + break; + } + default: + jj_la1[145] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return n; + } + + final public ExpressionStmt StatementExpression() throws ParseException {Expression expr; + AssignExpr.Operator op; + Expression value; + RangedList typeArgs = new RangedList(null); + Statement lambdaBody; + if (jj_2_39(2)) { + expr = PreIncrementExpression(); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case DECR:{ + expr = PreDecrementExpression(); + break; + } + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN:{ + expr = PrimaryExpression(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ASSIGN: + case INCR: + case DECR: + case PLUSASSIGN: + case MINUSASSIGN: + case STARASSIGN: + case SLASHASSIGN: + case ANDASSIGN: + case ORASSIGN: + case XORASSIGN: + case REMASSIGN: + case LSHIFTASSIGN: + case RSIGNEDSHIFTASSIGN: + case RUNSIGNEDSHIFTASSIGN: + case ARROW: + case DOUBLECOLON:{ + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case INCR:{ + jj_consume_token(INCR); +expr = new UnaryExpr(range(expr.getBegin(), tokenEnd()), expr, UnaryExpr.Operator.posIncrement); + break; + } + case DECR:{ + jj_consume_token(DECR); +expr = new UnaryExpr(range(expr.getBegin(), tokenEnd()), expr, UnaryExpr.Operator.posDecrement); + break; + } + case ASSIGN: + case PLUSASSIGN: + case MINUSASSIGN: + case STARASSIGN: + case SLASHASSIGN: + case ANDASSIGN: + case ORASSIGN: + case XORASSIGN: + case REMASSIGN: + case LSHIFTASSIGN: + case RSIGNEDSHIFTASSIGN: + case RUNSIGNEDSHIFTASSIGN:{ + op = AssignmentOperator(); + value = Expression(); +expr = new AssignExpr(range(expr.getBegin(), tokenEnd()), expr, value, op); + break; + } + case DOUBLECOLON:{ + jj_consume_token(DOUBLECOLON); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LT:{ + typeArgs = TypeArguments(); + break; + } + default: + jj_la1[146] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + jj_consume_token(IDENTIFIER); + break; + } + case NEW:{ + jj_consume_token(NEW); + break; + } + default: + jj_la1[147] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +expr = new MethodReferenceExpr(range(expr.getBegin(), tokenEnd()), expr, createTypeArguments(typeArgs.list), token.image); + break; + } + case ARROW:{ + jj_consume_token(ARROW); + lambdaBody = LambdaBody(); +expr = generateLambda(expr, lambdaBody); + break; + } + default: + jj_la1[148] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + break; + } + default: + jj_la1[149] = jj_gen; + ; + } + break; + } + default: + jj_la1[150] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + jj_consume_token(SEMICOLON); +return new ExpressionStmt(range(expr.getBegin(), tokenEnd()), expr); + } + + final public SwitchStmt SwitchStatement() throws ParseException {Expression selector; + SwitchEntryStmt entry; + List entries = null; + Position begin; + jj_consume_token(SWITCH); +begin=tokenBegin(); + jj_consume_token(LPAREN); + selector = Expression(); + jj_consume_token(RPAREN); + jj_consume_token(LBRACE); + label_65: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case CASE: + case _DEFAULT:{ + ; + break; + } + default: + jj_la1[151] = jj_gen; + break label_65; + } + entry = SwitchEntry(); +entries = add(entries, entry); + } + jj_consume_token(RBRACE); +return new SwitchStmt(range(begin, tokenEnd()), selector, entries); + } + + final public SwitchEntryStmt SwitchEntry() throws ParseException {Expression label = null; + List stmts; + Position begin; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case CASE:{ + jj_consume_token(CASE); +begin=tokenBegin(); + label = Expression(); + break; + } + case _DEFAULT:{ + jj_consume_token(_DEFAULT); +begin=tokenBegin(); + break; + } + default: + jj_la1[152] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + jj_consume_token(COLON); + stmts = Statements(); +return new SwitchEntryStmt(range(begin, tokenEnd()),label, stmts); + } + + final public IfStmt IfStatement() throws ParseException {Expression condition; + Statement thenStmt; + Statement elseStmt = null; + Position begin; + Comment thenCmmt = null; + Comment elseCmmt = null; + jj_consume_token(IF); +begin=tokenBegin(); + jj_consume_token(LPAREN); + condition = Expression(); + jj_consume_token(RPAREN); + + thenStmt = Statement(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ELSE:{ + jj_consume_token(ELSE); + + elseStmt = Statement(); + break; + } + default: + jj_la1[153] = jj_gen; + ; + } +IfStmt tmp = new IfStmt(range(begin, tokenEnd()),condition, thenStmt, elseStmt); + + // TODO comment is always null + thenStmt.setComment(thenCmmt); + if (elseStmt != null) + // TODO comment is always null + elseStmt.setComment(elseCmmt); + return tmp; + } + + final public WhileStmt WhileStatement() throws ParseException {Expression condition; + Statement body; + Position begin; + jj_consume_token(WHILE); +begin=tokenBegin(); + jj_consume_token(LPAREN); + condition = Expression(); + jj_consume_token(RPAREN); + body = Statement(); +return new WhileStmt(range(begin, tokenEnd()),condition, body); + } + + final public DoStmt DoStatement() throws ParseException {Expression condition; + Statement body; + Position begin; + jj_consume_token(DO); +begin=tokenBegin(); + body = Statement(); + jj_consume_token(WHILE); + jj_consume_token(LPAREN); + condition = Expression(); + jj_consume_token(RPAREN); + jj_consume_token(SEMICOLON); +return new DoStmt(range(begin, tokenEnd()),body, condition); + } + + final public Statement ForStatement() throws ParseException {VariableDeclarationExpr varExpr = null; + Expression expr = null; + List init = null; + List update = null; + Statement body; + Position begin; + jj_consume_token(FOR); +begin=tokenBegin(); + jj_consume_token(LPAREN); + if (jj_2_40(2147483647)) { + varExpr = VariableDeclarationExpression(); + jj_consume_token(COLON); + expr = Expression(); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FINAL: + case FLOAT: + case INT: + case LONG: + case NATIVE: + case NEW: + case NULL: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SUPER: + case SYNCHRONIZED: + case THIS: + case TRANSIENT: + case TRUE: + case VOID: + case VOLATILE: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case SEMICOLON: + case AT: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FINAL: + case FLOAT: + case INT: + case LONG: + case NATIVE: + case NEW: + case NULL: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SUPER: + case SYNCHRONIZED: + case THIS: + case TRANSIENT: + case TRUE: + case VOID: + case VOLATILE: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case AT: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + init = ForInit(); + break; + } + default: + jj_la1[154] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + expr = Expression(); + break; + } + default: + jj_la1[155] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + update = ForUpdate(); + break; + } + default: + jj_la1[156] = jj_gen; + ; + } + break; + } + default: + jj_la1[157] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + jj_consume_token(RPAREN); + body = Statement(); +if (varExpr != null) { + return new ForeachStmt(range(begin, tokenEnd()),varExpr, expr, body); + } + return new ForStmt(range(begin, tokenEnd()),init, expr, update, body); + } + + final public List ForInit() throws ParseException {List ret; + Expression expr; + if (jj_2_41(2147483647)) { + expr = VariableDeclarationExpression(); +ret = new LinkedList(); ret.add(expr); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + ret = ExpressionList(); + break; + } + default: + jj_la1[158] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public List ExpressionList() throws ParseException {List ret = new LinkedList(); + Expression expr; + expr = Expression(); +ret.add(expr); + label_66: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[159] = jj_gen; + break label_66; + } + jj_consume_token(COMMA); + expr = Expression(); +ret.add(expr); + } +return ret; + } + + final public List ForUpdate() throws ParseException {List ret; + ret = ExpressionList(); +return ret; + } + + final public BreakStmt BreakStatement() throws ParseException {String id = null; + Position begin; + jj_consume_token(BREAK); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + jj_consume_token(IDENTIFIER); +id = token.image; + break; + } + default: + jj_la1[160] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); +return new BreakStmt(range(begin, tokenEnd()),id); + } + + final public ContinueStmt ContinueStatement() throws ParseException {String id = null; + Position begin; + jj_consume_token(CONTINUE); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + jj_consume_token(IDENTIFIER); +id = token.image; + break; + } + default: + jj_la1[161] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); +return new ContinueStmt(range(begin, tokenEnd()),id); + } + + final public ReturnStmt ReturnStatement() throws ParseException {Expression expr = null; + Position begin; + jj_consume_token(RETURN); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + expr = Expression(); + break; + } + default: + jj_la1[162] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); +return new ReturnStmt(range(begin, tokenEnd()),expr); + } + + final public ThrowStmt ThrowStatement() throws ParseException {Expression expr; + Position begin; + jj_consume_token(THROW); +begin=tokenBegin(); + expr = Expression(); + jj_consume_token(SEMICOLON); +return new ThrowStmt(range(begin, tokenEnd()),expr); + } + + final public SynchronizedStmt SynchronizedStatement() throws ParseException {Expression expr; + BlockStmt block; + Position begin; + jj_consume_token(SYNCHRONIZED); +begin=tokenBegin(); + jj_consume_token(LPAREN); + expr = Expression(); + jj_consume_token(RPAREN); + block = Block(); +return new SynchronizedStmt(range(begin, tokenEnd()),expr, block); + } + + final public TryStmt TryStatement() throws ParseException {List resources = new LinkedList(); + BlockStmt tryBlock; + BlockStmt finallyBlock = null; + List catchs = null; + BlockStmt catchBlock; + ModifierHolder exceptModifier; + ReferenceType exceptionType; + List exceptionTypes = new LinkedList(); + VariableDeclaratorId exceptId; + Position begin; + Position catchBegin; + Type type; + jj_consume_token(TRY); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case LPAREN:{ + resources = ResourceSpecification(); + break; + } + default: + jj_la1[163] = jj_gen; + ; + } + tryBlock = Block(); + label_67: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case CATCH:{ + ; + break; + } + default: + jj_la1[164] = jj_gen; + break label_67; + } + jj_consume_token(CATCH); +catchBegin=tokenBegin(); + jj_consume_token(LPAREN); + exceptModifier = Modifiers(); + exceptionType = ReferenceType(); +exceptionTypes.add(exceptionType); + label_68: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BIT_OR:{ + ; + break; + } + default: + jj_la1[165] = jj_gen; + break label_68; + } + jj_consume_token(BIT_OR); + exceptionType = ReferenceType(); +exceptionTypes.add(exceptionType); + } + exceptId = VariableDeclaratorId(); + jj_consume_token(RPAREN); + catchBlock = Block(); +if (exceptionTypes.size() > 1) { + type = new UnionType(exceptionTypes); + } else { + type = (Type)exceptionTypes.get(0); + } + catchs = add(catchs, new CatchClause(range(catchBegin, tokenEnd()), exceptModifier.modifiers, exceptModifier.annotations, type, exceptId, catchBlock)); + exceptionTypes = new LinkedList(); + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case FINALLY:{ + jj_consume_token(FINALLY); + finallyBlock = Block(); + break; + } + default: + jj_la1[166] = jj_gen; + ; + } +return new TryStmt(range(begin, tokenEnd()), resources, tryBlock, catchs, finallyBlock); + } + + final public List ResourceSpecification() throws ParseException {List vars; + jj_consume_token(LPAREN); + vars = Resources(); + if (jj_2_42(2)) { + jj_consume_token(SEMICOLON); + } else { + ; + } + jj_consume_token(RPAREN); +return vars; + } + + final public List Resources() throws ParseException {List vars = new LinkedList(); + VariableDeclarationExpr var; + /*this is a bit more lenient than we need to be, eg allowing access modifiers like private*/ + var = VariableDeclarationExpression(); +vars.add(var); + label_69: + while (true) { + if (jj_2_43(2)) { + ; + } else { + break label_69; + } + jj_consume_token(SEMICOLON); + var = VariableDeclarationExpression(); +vars.add(var); + } +return vars; + } + +/* We use productions to match >>>, >> and > so that we can keep the + * type declaration syntax with generics clean + */ + final public +void RUNSIGNEDSHIFT() throws ParseException { + if (getToken(1).kind == GT && + ((GTToken)getToken(1)).realKind == RUNSIGNEDSHIFT) { + + } else { + jj_consume_token(-1); + throw new ParseException(); + } + jj_consume_token(GT); + jj_consume_token(GT); + jj_consume_token(GT); + } + + final public void RSIGNEDSHIFT() throws ParseException { + if (getToken(1).kind == GT && + ((GTToken)getToken(1)).realKind == RSIGNEDSHIFT) { + + } else { + jj_consume_token(-1); + throw new ParseException(); + } + jj_consume_token(GT); + jj_consume_token(GT); + } + +/* Annotation syntax follows. */ + final public +AnnotationExpr Annotation() throws ParseException {AnnotationExpr ret; + if (jj_2_44(2147483647)) { + ret = NormalAnnotation(); + } else if (jj_2_45(2147483647)) { + ret = SingleMemberAnnotation(); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ret = MarkerAnnotation(); + break; + } + default: + jj_la1[167] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } +return ret; + } + + final public NormalAnnotationExpr NormalAnnotation() throws ParseException {NameExpr name; + List pairs = null; + Position begin; + jj_consume_token(AT); +begin=tokenBegin(); + name = Name(); + jj_consume_token(LPAREN); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case IDENTIFIER:{ + pairs = MemberValuePairs(); + break; + } + default: + jj_la1[168] = jj_gen; + ; + } + jj_consume_token(RPAREN); +return new NormalAnnotationExpr(range(begin, tokenEnd()),name, pairs); + } + + final public MarkerAnnotationExpr MarkerAnnotation() throws ParseException {NameExpr name; + Position begin; + jj_consume_token(AT); +begin=tokenBegin(); + name = Name(); +return new MarkerAnnotationExpr(range(begin, tokenEnd()),name); + } + + final public SingleMemberAnnotationExpr SingleMemberAnnotation() throws ParseException {NameExpr name; + Expression memberVal; + Position begin; + jj_consume_token(AT); +begin=tokenBegin(); + name = Name(); + jj_consume_token(LPAREN); + memberVal = MemberValue(); + jj_consume_token(RPAREN); +return new SingleMemberAnnotationExpr(range(begin, tokenEnd()),name, memberVal); + } + + final public List MemberValuePairs() throws ParseException {List ret = new LinkedList(); + MemberValuePair pair; + pair = MemberValuePair(); +ret.add(pair); + label_70: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + ; + break; + } + default: + jj_la1[169] = jj_gen; + break label_70; + } + jj_consume_token(COMMA); + pair = MemberValuePair(); +ret.add(pair); + } +return ret; + } + + final public MemberValuePair MemberValuePair() throws ParseException {String name; + Expression value; + Position begin; + jj_consume_token(IDENTIFIER); +name = token.image; begin=tokenBegin(); + jj_consume_token(ASSIGN); + value = MemberValue(); +return new MemberValuePair(range(begin, tokenEnd()),name, value); + } + + final public Expression MemberValue() throws ParseException {Expression ret; + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case AT:{ + ret = Annotation(); + break; + } + case LBRACE:{ + ret = MemberValueArrayInitializer(); + break; + } + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + ret = ConditionalExpression(); + break; + } + default: + jj_la1[170] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public Expression MemberValueArrayInitializer() throws ParseException {List ret = new LinkedList(); + Expression member; + Position begin; + jj_consume_token(LBRACE); +begin=tokenBegin(); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FALSE: + case FLOAT: + case INT: + case LONG: + case NEW: + case NULL: + case SHORT: + case SUPER: + case THIS: + case TRUE: + case VOID: + case LONG_LITERAL: + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case IDENTIFIER: + case LPAREN: + case LBRACE: + case AT: + case BANG: + case TILDE: + case INCR: + case DECR: + case PLUS: + case MINUS:{ + member = MemberValue(); +ret.add(member); + label_71: + while (true) { + if (jj_2_46(2)) { + ; + } else { + break label_71; + } + jj_consume_token(COMMA); + member = MemberValue(); +ret.add(member); + } + break; + } + default: + jj_la1[171] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case COMMA:{ + jj_consume_token(COMMA); + break; + } + default: + jj_la1[172] = jj_gen; + ; + } + jj_consume_token(RBRACE); +return new ArrayInitializerExpr(range(begin, tokenEnd()),ret); + } + +/* Annotation Types. */ + final public +AnnotationDeclaration AnnotationTypeDeclaration(ModifierHolder modifier) throws ParseException {NameExpr name; + List> members; + Position begin = modifier.begin; + jj_consume_token(AT); +begin=begin.orIfInvalid(tokenBegin()); + jj_consume_token(INTERFACE); + name = Name(); + members = AnnotationTypeBody(); +AnnotationDeclaration tmp = new AnnotationDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, null, members); + tmp.setNameExpr(name); + return tmp; + } + + final public List> AnnotationTypeBody() throws ParseException {List> ret = null; + BodyDeclaration member; + jj_consume_token(LBRACE); + label_72: + while (true) { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case CLASS: + case DOUBLE: + case ENUM: + case FINAL: + case FLOAT: + case INT: + case INTERFACE: + case LONG: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOLATILE: + case IDENTIFIER: + case SEMICOLON: + case AT:{ + ; + break; + } + default: + jj_la1[173] = jj_gen; + break label_72; + } + member = AnnotationBodyDeclaration(); +ret = add(ret, member); + } + jj_consume_token(RBRACE); +return ret; + } + + final public BodyDeclaration AnnotationBodyDeclaration() throws ParseException {ModifierHolder modifier; + BodyDeclaration ret; + + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case SEMICOLON:{ + jj_consume_token(SEMICOLON); +ret = new EmptyTypeDeclaration(tokenRange()); + break; + } + case ABSTRACT: + case BOOLEAN: + case BYTE: + case CHAR: + case CLASS: + case DOUBLE: + case ENUM: + case FINAL: + case FLOAT: + case INT: + case INTERFACE: + case LONG: + case NATIVE: + case PRIVATE: + case PROTECTED: + case PUBLIC: + case SHORT: + case STATIC: + case STRICTFP: + case SYNCHRONIZED: + case TRANSIENT: + case VOLATILE: + case IDENTIFIER: + case AT:{ + modifier = Modifiers(); + if (jj_2_47(2147483647)) { + ret = AnnotationTypeMemberDeclaration(modifier); + } else { + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case CLASS: + case INTERFACE:{ + ret = ClassOrInterfaceDeclaration(modifier); + break; + } + case ENUM:{ + ret = EnumDeclaration(modifier); + break; + } + case AT:{ + ret = AnnotationTypeDeclaration(modifier); + break; + } + case BOOLEAN: + case BYTE: + case CHAR: + case DOUBLE: + case FLOAT: + case INT: + case LONG: + case SHORT: + case IDENTIFIER:{ + ret = FieldDeclaration(modifier); + break; + } + default: + jj_la1[174] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + break; + } + default: + jj_la1[175] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } +return ret; + } + + final public AnnotationMemberDeclaration AnnotationTypeMemberDeclaration(ModifierHolder modifier) throws ParseException {Type type; + String name; + Expression defaultVal = null; + type = Type(); + jj_consume_token(IDENTIFIER); +name = token.image; + jj_consume_token(LPAREN); + jj_consume_token(RPAREN); + switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { + case _DEFAULT:{ + defaultVal = DefaultValue(); + break; + } + default: + jj_la1[176] = jj_gen; + ; + } + jj_consume_token(SEMICOLON); +Position begin = modifier.begin.orIfInvalid(tokenBegin()); + return new AnnotationMemberDeclaration(range(begin, tokenEnd()), modifier.modifiers, modifier.annotations, type, name, defaultVal); + } + + final public Expression DefaultValue() throws ParseException {Expression ret; + jj_consume_token(_DEFAULT); + ret = MemberValue(); +return ret; + } + + private boolean jj_2_1(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_1(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(0, xla); } + } + + private boolean jj_2_2(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_2(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(1, xla); } + } + + private boolean jj_2_3(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_3(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(2, xla); } + } + + private boolean jj_2_4(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_4(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(3, xla); } + } + + private boolean jj_2_5(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_5(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(4, xla); } + } + + private boolean jj_2_6(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_6(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(5, xla); } + } + + private boolean jj_2_7(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_7(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(6, xla); } + } + + private boolean jj_2_8(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_8(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(7, xla); } + } + + private boolean jj_2_9(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_9(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(8, xla); } + } + + private boolean jj_2_10(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_10(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(9, xla); } + } + + private boolean jj_2_11(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_11(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(10, xla); } + } + + private boolean jj_2_12(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_12(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(11, xla); } + } + + private boolean jj_2_13(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_13(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(12, xla); } + } + + private boolean jj_2_14(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_14(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(13, xla); } + } + + private boolean jj_2_15(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_15(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(14, xla); } + } + + private boolean jj_2_16(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_16(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(15, xla); } + } + + private boolean jj_2_17(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_17(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(16, xla); } + } + + private boolean jj_2_18(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_18(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(17, xla); } + } + + private boolean jj_2_19(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_19(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(18, xla); } + } + + private boolean jj_2_20(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_20(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(19, xla); } + } + + private boolean jj_2_21(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_21(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(20, xla); } + } + + private boolean jj_2_22(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_22(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(21, xla); } + } + + private boolean jj_2_23(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_23(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(22, xla); } + } + + private boolean jj_2_24(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_24(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(23, xla); } + } + + private boolean jj_2_25(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_25(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(24, xla); } + } + + private boolean jj_2_26(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_26(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(25, xla); } + } + + private boolean jj_2_27(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_27(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(26, xla); } + } + + private boolean jj_2_28(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_28(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(27, xla); } + } + + private boolean jj_2_29(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_29(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(28, xla); } + } + + private boolean jj_2_30(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_30(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(29, xla); } + } + + private boolean jj_2_31(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_31(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(30, xla); } + } + + private boolean jj_2_32(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_32(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(31, xla); } + } + + private boolean jj_2_33(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_33(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(32, xla); } + } + + private boolean jj_2_34(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_34(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(33, xla); } + } + + private boolean jj_2_35(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_35(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(34, xla); } + } + + private boolean jj_2_36(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_36(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(35, xla); } + } + + private boolean jj_2_37(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_37(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(36, xla); } + } + + private boolean jj_2_38(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_38(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(37, xla); } + } + + private boolean jj_2_39(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_39(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(38, xla); } + } + + private boolean jj_2_40(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_40(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(39, xla); } + } + + private boolean jj_2_41(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_41(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(40, xla); } + } + + private boolean jj_2_42(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_42(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(41, xla); } + } + + private boolean jj_2_43(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_43(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(42, xla); } + } + + private boolean jj_2_44(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_44(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(43, xla); } + } + + private boolean jj_2_45(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_45(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(44, xla); } + } + + private boolean jj_2_46(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_46(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(45, xla); } + } + + private boolean jj_2_47(int xla) + { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_47(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(46, xla); } + } + + private boolean jj_3R_356() + { + if (jj_scan_token(BREAK)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_422()) jj_scanpos = xsp; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_171() + { + if (jj_3R_207()) return true; + return false; + } + + private boolean jj_3R_210() + { + if (jj_3R_242()) return true; + return false; + } + + private boolean jj_3R_209() + { + if (jj_3R_119()) return true; + return false; + } + + private boolean jj_3R_279() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_114() + { + if (jj_scan_token(LBRACE)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_171()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_305() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_455() + { + if (jj_3R_462()) return true; + return false; + } + + private boolean jj_3R_174() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_209()) { + jj_scanpos = xsp; + if (jj_3R_210()) { + jj_scanpos = xsp; + if (jj_3R_211()) { + jj_scanpos = xsp; + if (jj_3R_212()) return true; + } + } + } + return false; + } + + private boolean jj_3R_280() + { + if (jj_scan_token(BIT_AND)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_305()) { jj_scanpos = xsp; break; } + } + if (jj_3R_198()) return true; + return false; + } + + private boolean jj_3R_433() + { + if (jj_scan_token(REM)) return true; + return false; + } + + private boolean jj_3R_245() + { + if (jj_scan_token(EXTENDS)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_279()) { jj_scanpos = xsp; break; } + } + if (jj_3R_198()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_280()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_41() + { + if (jj_3R_117()) return true; + if (jj_3R_88()) return true; + if (jj_scan_token(IDENTIFIER)) return true; + return false; + } + + private boolean jj_3R_432() + { + if (jj_scan_token(SLASH)) return true; + return false; + } + + private boolean jj_3R_431() + { + if (jj_scan_token(STAR)) return true; + return false; + } + + private boolean jj_3R_419() + { + if (jj_scan_token(ELSE)) return true; + if (jj_3R_306()) return true; + return false; + } + + private boolean jj_3R_414() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_431()) { + jj_scanpos = xsp; + if (jj_3R_432()) { + jj_scanpos = xsp; + if (jj_3R_433()) return true; + } + } + if (jj_3R_174()) return true; + return false; + } + + private boolean jj_3R_462() + { + if (jj_3R_101()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_464()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_461() + { + if (jj_3R_462()) return true; + return false; + } + + private boolean jj_3R_437() + { + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_460() + { + if (jj_3R_118()) return true; + return false; + } + + private boolean jj_3_3() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_86()) return true; + return false; + } + + private boolean jj_3R_376() + { + if (jj_3R_174()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_414()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_182() + { + if (jj_scan_token(IDENTIFIER)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_217()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_416() + { + if (jj_scan_token(MINUS)) return true; + return false; + } + + private boolean jj_3R_218() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_415() + { + if (jj_scan_token(PLUS)) return true; + return false; + } + + private boolean jj_3R_454() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_460()) { + jj_scanpos = xsp; + if (jj_3R_461()) return true; + } + return false; + } + + private boolean jj_3R_404() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_415()) { + jj_scanpos = xsp; + if (jj_3R_416()) return true; + } + if (jj_3R_376()) return true; + return false; + } + + private boolean jj_3R_183() + { + if (jj_scan_token(COMMA)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_218()) { jj_scanpos = xsp; break; } + } + if (jj_3R_182()) return true; + return false; + } + + private boolean jj_3R_410() + { + if (jj_3R_114()) return true; + return false; + } + + private boolean jj_3R_181() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_372() + { + if (jj_3R_376()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_404()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_126() + { + if (jj_scan_token(LT)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_181()) { jj_scanpos = xsp; break; } + } + if (jj_3R_182()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_183()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(GT)) return true; + return false; + } + + private boolean jj_3_40() + { + if (jj_3R_118()) return true; + if (jj_scan_token(COLON)) return true; + return false; + } + + private boolean jj_3_21() + { + if (jj_3R_104()) return true; + return false; + } + + private boolean jj_3R_436() + { + if (jj_3R_454()) return true; + return false; + } + + private boolean jj_3_20() + { + if (jj_3R_103()) return true; + return false; + } + + private boolean jj_3R_102() + { + if (jj_scan_token(LSHIFT)) return true; + return false; + } + + private boolean jj_3R_421() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_436()) jj_scanpos = xsp; + if (jj_scan_token(SEMICOLON)) return true; + xsp = jj_scanpos; + if (jj_3R_437()) jj_scanpos = xsp; + if (jj_scan_token(SEMICOLON)) return true; + xsp = jj_scanpos; + if (jj_3R_438()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3_19() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_102()) { + jj_scanpos = xsp; + if (jj_3_20()) { + jj_scanpos = xsp; + if (jj_3_21()) return true; + } + } + if (jj_3R_372()) return true; + return false; + } + + private boolean jj_3R_420() + { + if (jj_3R_118()) return true; + if (jj_scan_token(COLON)) return true; + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_373() + { + if (jj_scan_token(INSTANCEOF)) return true; + if (jj_3R_88()) return true; + return false; + } + + private boolean jj_3R_370() + { + if (jj_3R_372()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_19()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_355() + { + if (jj_scan_token(FOR)) return true; + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_420()) { + jj_scanpos = xsp; + if (jj_3R_421()) return true; + } + if (jj_scan_token(RPAREN)) return true; + if (jj_3R_306()) return true; + return false; + } + + private boolean jj_3R_409() + { + if (jj_3R_187()) return true; + return false; + } + + private boolean jj_3R_125() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_395() + { + if (jj_scan_token(GE)) return true; + return false; + } + + private boolean jj_3R_398() + { + if (jj_3R_207()) return true; + return false; + } + + private boolean jj_3R_394() + { + if (jj_scan_token(LE)) return true; + return false; + } + + private boolean jj_3R_86() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_125()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(IDENTIFIER)) return true; + xsp = jj_scanpos; + if (jj_3R_409()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_410()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_393() + { + if (jj_scan_token(GT)) return true; + return false; + } + + private boolean jj_3R_392() + { + if (jj_scan_token(LT)) return true; + return false; + } + + private boolean jj_3R_377() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_392()) { + jj_scanpos = xsp; + if (jj_3R_393()) { + jj_scanpos = xsp; + if (jj_3R_394()) { + jj_scanpos = xsp; + if (jj_3R_395()) return true; + } + } + } + if (jj_3R_370()) return true; + return false; + } + + private boolean jj_3R_383() + { + if (jj_scan_token(SEMICOLON)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_398()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_354() + { + if (jj_scan_token(DO)) return true; + if (jj_3R_306()) return true; + if (jj_scan_token(WHILE)) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(RPAREN)) return true; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_368() + { + if (jj_3R_370()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_377()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_353() + { + if (jj_scan_token(WHILE)) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(RPAREN)) return true; + if (jj_3R_306()) return true; + return false; + } + + private boolean jj_3R_369() + { + if (jj_scan_token(BIT_AND)) return true; + if (jj_3R_345()) return true; + return false; + } + + private boolean jj_3R_382() + { + if (jj_3R_86()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_3()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_364() + { + if (jj_3R_368()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_373()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_381() + { + if (jj_3R_397()) return true; + return false; + } + + private boolean jj_3R_375() + { + if (jj_scan_token(NE)) return true; + return false; + } + + private boolean jj_3R_374() + { + if (jj_scan_token(EQ)) return true; + return false; + } + + private boolean jj_3R_299() + { + if (jj_scan_token(ENUM)) return true; + if (jj_3R_120()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_381()) jj_scanpos = xsp; + if (jj_scan_token(LBRACE)) return true; + xsp = jj_scanpos; + if (jj_3R_382()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(113)) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_383()) jj_scanpos = xsp; + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_371() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_374()) { + jj_scanpos = xsp; + if (jj_3R_375()) return true; + } + if (jj_3R_364()) return true; + return false; + } + + private boolean jj_3R_365() + { + if (jj_scan_token(XOR)) return true; + if (jj_3R_315()) return true; + return false; + } + + private boolean jj_3R_346() + { + if (jj_scan_token(BIT_OR)) return true; + if (jj_3R_293()) return true; + return false; + } + + private boolean jj_3R_345() + { + if (jj_3R_364()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_371()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_352() + { + if (jj_scan_token(IF)) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(RPAREN)) return true; + if (jj_3R_306()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_419()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_316() + { + if (jj_scan_token(SC_AND)) return true; + if (jj_3R_264()) return true; + return false; + } + + private boolean jj_3R_408() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_407()) return true; + return false; + } + + private boolean jj_3R_315() + { + if (jj_3R_345()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_369()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_397() + { + if (jj_scan_token(IMPLEMENTS)) return true; + if (jj_3R_407()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_408()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_453() + { + if (jj_scan_token(_DEFAULT)) return true; + return false; + } + + private boolean jj_3R_295() + { + if (jj_scan_token(SC_OR)) return true; + if (jj_3R_233()) return true; + return false; + } + + private boolean jj_3R_452() + { + if (jj_scan_token(CASE)) return true; + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_405() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_293() + { + if (jj_3R_315()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_365()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_406() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_198()) return true; + return false; + } + + private boolean jj_3R_435() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_452()) { + jj_scanpos = xsp; + if (jj_3R_453()) return true; + } + if (jj_scan_token(COLON)) return true; + if (jj_3R_184()) return true; + return false; + } + + private boolean jj_3R_396() + { + if (jj_scan_token(EXTENDS)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_405()) { jj_scanpos = xsp; break; } + } + if (jj_3R_198()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_406()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_264() + { + if (jj_3R_293()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_346()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_418() + { + if (jj_3R_435()) return true; + return false; + } + + private boolean jj_3R_173() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_172()) return true; + return false; + } + + private boolean jj_3R_319() + { + if (jj_scan_token(INTERFACE)) return true; + return false; + } + + private boolean jj_3R_351() + { + if (jj_scan_token(SWITCH)) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(RPAREN)) return true; + if (jj_scan_token(LBRACE)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_418()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_233() + { + if (jj_3R_264()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_316()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_459() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_380() + { + if (jj_3R_397()) return true; + return false; + } + + private boolean jj_3R_379() + { + if (jj_3R_396()) return true; + return false; + } + + private boolean jj_3R_378() + { + if (jj_3R_126()) return true; + return false; + } + + private boolean jj_3R_451() + { + if (jj_scan_token(ARROW)) return true; + if (jj_3R_296()) return true; + return false; + } + + private boolean jj_3R_450() + { + if (jj_scan_token(DOUBLECOLON)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_459()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(103)) { + jj_scanpos = xsp; + if (jj_scan_token(68)) return true; + } + return false; + } + + private boolean jj_3R_298() + { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(45)) { + jj_scanpos = xsp; + if (jj_3R_319()) return true; + } + if (jj_3R_120()) return true; + xsp = jj_scanpos; + if (jj_3R_378()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_379()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_380()) jj_scanpos = xsp; + if (jj_3R_114()) return true; + return false; + } + + private boolean jj_3R_200() + { + if (jj_3R_233()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_295()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_449() + { + if (jj_3R_100()) return true; + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_448() + { + if (jj_scan_token(DECR)) return true; + return false; + } + + private boolean jj_3R_447() + { + if (jj_scan_token(INCR)) return true; + return false; + } + + private boolean jj_3R_434() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_447()) { + jj_scanpos = xsp; + if (jj_3R_448()) { + jj_scanpos = xsp; + if (jj_3R_449()) { + jj_scanpos = xsp; + if (jj_3R_450()) { + jj_scanpos = xsp; + if (jj_3R_451()) return true; + } + } + } + } + return false; + } + + private boolean jj_3R_268() + { + if (jj_scan_token(HOOK)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(COLON)) return true; + if (jj_3R_151()) return true; + return false; + } + + private boolean jj_3R_367() + { + if (jj_3R_294()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_434()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_366() + { + if (jj_3R_242()) return true; + return false; + } + + private boolean jj_3R_151() + { + if (jj_3R_200()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_268()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_150() + { + if (jj_scan_token(ORASSIGN)) return true; + return false; + } + + private boolean jj_3R_149() + { + if (jj_scan_token(XORASSIGN)) return true; + return false; + } + + private boolean jj_3_39() + { + if (jj_3R_119()) return true; + return false; + } + + private boolean jj_3R_148() + { + if (jj_scan_token(ANDASSIGN)) return true; + return false; + } + + private boolean jj_3R_350() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_39()) { + jj_scanpos = xsp; + if (jj_3R_366()) { + jj_scanpos = xsp; + if (jj_3R_367()) return true; + } + } + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_147() + { + if (jj_scan_token(RUNSIGNEDSHIFTASSIGN)) return true; + return false; + } + + private boolean jj_3R_146() + { + if (jj_scan_token(RSIGNEDSHIFTASSIGN)) return true; + return false; + } + + private boolean jj_3R_145() + { + if (jj_scan_token(LSHIFTASSIGN)) return true; + return false; + } + + private boolean jj_3R_144() + { + if (jj_scan_token(MINUSASSIGN)) return true; + return false; + } + + private boolean jj_3R_143() + { + if (jj_scan_token(PLUSASSIGN)) return true; + return false; + } + + private boolean jj_3R_142() + { + if (jj_scan_token(REMASSIGN)) return true; + return false; + } + + private boolean jj_3R_141() + { + if (jj_scan_token(SLASHASSIGN)) return true; + return false; + } + + private boolean jj_3R_140() + { + if (jj_scan_token(STARASSIGN)) return true; + return false; + } + + private boolean jj_3R_139() + { + if (jj_scan_token(ASSIGN)) return true; + return false; + } + + private boolean jj_3R_318() + { + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3R_100() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_139()) { + jj_scanpos = xsp; + if (jj_3R_140()) { + jj_scanpos = xsp; + if (jj_3R_141()) { + jj_scanpos = xsp; + if (jj_3R_142()) { + jj_scanpos = xsp; + if (jj_3R_143()) { + jj_scanpos = xsp; + if (jj_3R_144()) { + jj_scanpos = xsp; + if (jj_3R_145()) { + jj_scanpos = xsp; + if (jj_3R_146()) { + jj_scanpos = xsp; + if (jj_3R_147()) { + jj_scanpos = xsp; + if (jj_3R_148()) { + jj_scanpos = xsp; + if (jj_3R_149()) { + jj_scanpos = xsp; + if (jj_3R_150()) return true; + } + } + } + } + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_297() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_317() + { + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_85() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_84() + { + if (jj_scan_token(STRICTFP)) return true; + return false; + } + + private boolean jj_3R_270() + { + if (jj_scan_token(DOUBLECOLON)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_297()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(103)) { + jj_scanpos = xsp; + if (jj_scan_token(68)) return true; + } + return false; + } + + private boolean jj_3R_83() + { + if (jj_scan_token(VOLATILE)) return true; + return false; + } + + private boolean jj_3R_296() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_317()) { + jj_scanpos = xsp; + if (jj_3R_318()) return true; + } + return false; + } + + private boolean jj_3R_82() + { + if (jj_scan_token(TRANSIENT)) return true; + return false; + } + + private boolean jj_3R_81() + { + if (jj_scan_token(NATIVE)) return true; + return false; + } + + private boolean jj_3R_80() + { + if (jj_scan_token(SYNCHRONIZED)) return true; + return false; + } + + private boolean jj_3R_79() + { + if (jj_scan_token(ABSTRACT)) return true; + return false; + } + + private boolean jj_3R_115() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_349() + { + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_78() + { + if (jj_scan_token(FINAL)) return true; + return false; + } + + private boolean jj_3R_77() + { + if (jj_scan_token(PRIVATE)) return true; + return false; + } + + private boolean jj_3R_76() + { + if (jj_scan_token(PROTECTED)) return true; + return false; + } + + private boolean jj_3R_75() + { + if (jj_scan_token(STATIC)) return true; + return false; + } + + private boolean jj_3_18() + { + if (jj_3R_100()) return true; + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_269() + { + if (jj_scan_token(ARROW)) return true; + if (jj_3R_296()) return true; + return false; + } + + private boolean jj_3R_74() + { + if (jj_scan_token(PUBLIC)) return true; + return false; + } + + private boolean jj_3_38() + { + if (jj_3R_118()) return true; + return false; + } + + private boolean jj_3R_239() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_18()) { + jj_scanpos = xsp; + if (jj_3R_269()) { + jj_scanpos = xsp; + if (jj_3R_270()) return true; + } + } + return false; + } + + private boolean jj_3R_118() + { + if (jj_3R_117()) return true; + if (jj_3R_88()) return true; + if (jj_3R_172()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_173()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_2() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_74()) { + jj_scanpos = xsp; + if (jj_3R_75()) { + jj_scanpos = xsp; + if (jj_3R_76()) { + jj_scanpos = xsp; + if (jj_3R_77()) { + jj_scanpos = xsp; + if (jj_3R_78()) { + jj_scanpos = xsp; + if (jj_3R_79()) { + jj_scanpos = xsp; + if (jj_3R_80()) { + jj_scanpos = xsp; + if (jj_3R_81()) { + jj_scanpos = xsp; + if (jj_3R_82()) { + jj_scanpos = xsp; + if (jj_3R_83()) { + jj_scanpos = xsp; + if (jj_3R_84()) { + jj_scanpos = xsp; + if (jj_3R_85()) return true; + } + } + } + } + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_117() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_2()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_34() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_115()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(LBRACKET)) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3_37() + { + if (jj_3R_117()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(45)) { + jj_scanpos = xsp; + if (jj_scan_token(65)) return true; + } + return false; + } + + private boolean jj_3R_101() + { + if (jj_3R_151()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_239()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_283() + { + if (jj_3R_306()) return true; + return false; + } + + private boolean jj_3R_417() + { + if (jj_scan_token(COLON)) return true; + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_282() + { + if (jj_3R_118()) return true; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_281() + { + if (jj_3R_117()) return true; + if (jj_3R_298()) return true; + return false; + } + + private boolean jj_3R_246() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_281()) { + jj_scanpos = xsp; + if (jj_3R_282()) { + jj_scanpos = xsp; + if (jj_3R_283()) return true; + } + } + return false; + } + + private boolean jj_3R_227() + { + if (jj_scan_token(IDENTIFIER)) return true; + return false; + } + + private boolean jj_3R_123() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3_17() + { + if (jj_scan_token(DOT)) return true; + if (jj_scan_token(IDENTIFIER)) return true; + return false; + } + + private boolean jj_3R_73() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_123()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(PACKAGE)) return true; + if (jj_3R_120()) return true; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_120() + { + if (jj_scan_token(IDENTIFIER)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_17()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_129() + { + if (jj_scan_token(LBRACE)) return true; + if (jj_3R_184()) return true; + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_170() + { + if (jj_3R_88()) return true; + return false; + } + + private boolean jj_3R_169() + { + if (jj_scan_token(VOID)) return true; + return false; + } + + private boolean jj_3_1() + { + if (jj_3R_73()) return true; + return false; + } + + private boolean jj_3R_116() + { + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_scan_token(COLON)) return true; + if (jj_3R_306()) return true; + return false; + } + + private boolean jj_3R_112() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_169()) { + jj_scanpos = xsp; + if (jj_3R_170()) return true; + } + return false; + } + + private boolean jj_3R_348() + { + if (jj_scan_token(ASSERT)) return true; + if (jj_3R_101()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_417()) jj_scanpos = xsp; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_339() + { + if (jj_3R_361()) return true; + return false; + } + + private boolean jj_3R_338() + { + if (jj_3R_360()) return true; + return false; + } + + private boolean jj_3R_163() + { + if (jj_scan_token(DOUBLE)) return true; + return false; + } + + private boolean jj_3R_337() + { + if (jj_3R_359()) return true; + return false; + } + + private boolean jj_3R_162() + { + if (jj_scan_token(FLOAT)) return true; + return false; + } + + private boolean jj_3R_336() + { + if (jj_3R_358()) return true; + return false; + } + + private boolean jj_3R_161() + { + if (jj_scan_token(LONG)) return true; + return false; + } + + private boolean jj_3R_335() + { + if (jj_3R_357()) return true; + return false; + } + + private boolean jj_3R_160() + { + if (jj_scan_token(INT)) return true; + return false; + } + + private boolean jj_3R_363() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_334() + { + if (jj_3R_356()) return true; + return false; + } + + private boolean jj_3R_159() + { + if (jj_scan_token(SHORT)) return true; + return false; + } + + private boolean jj_3R_362() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_333() + { + if (jj_3R_355()) return true; + return false; + } + + private boolean jj_3R_158() + { + if (jj_scan_token(BYTE)) return true; + return false; + } + + private boolean jj_3R_332() + { + if (jj_3R_354()) return true; + return false; + } + + private boolean jj_3R_157() + { + if (jj_scan_token(CHAR)) return true; + return false; + } + + private boolean jj_3R_331() + { + if (jj_3R_353()) return true; + return false; + } + + private boolean jj_3R_156() + { + if (jj_scan_token(BOOLEAN)) return true; + return false; + } + + private boolean jj_3R_344() + { + if (jj_scan_token(SUPER)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_363()) { jj_scanpos = xsp; break; } + } + if (jj_3R_95()) return true; + return false; + } + + private boolean jj_3R_330() + { + if (jj_3R_352()) return true; + return false; + } + + private boolean jj_3R_108() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_156()) { + jj_scanpos = xsp; + if (jj_3R_157()) { + jj_scanpos = xsp; + if (jj_3R_158()) { + jj_scanpos = xsp; + if (jj_3R_159()) { + jj_scanpos = xsp; + if (jj_3R_160()) { + jj_scanpos = xsp; + if (jj_3R_161()) { + jj_scanpos = xsp; + if (jj_3R_162()) { + jj_scanpos = xsp; + if (jj_3R_163()) return true; + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_329() + { + if (jj_3R_351()) return true; + return false; + } + + private boolean jj_3R_328() + { + if (jj_3R_350()) return true; + return false; + } + + private boolean jj_3R_343() + { + if (jj_scan_token(EXTENDS)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_362()) { jj_scanpos = xsp; break; } + } + if (jj_3R_95()) return true; + return false; + } + + private boolean jj_3R_314() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_343()) { + jj_scanpos = xsp; + if (jj_3R_344()) return true; + } + return false; + } + + private boolean jj_3R_229() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_199()) return true; + return false; + } + + private boolean jj_3R_327() + { + if (jj_3R_349()) return true; + return false; + } + + private boolean jj_3R_326() + { + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3R_325() + { + if (jj_3R_348()) return true; + return false; + } + + private boolean jj_3_36() + { + if (jj_3R_116()) return true; + return false; + } + + private boolean jj_3R_263() + { + if (jj_scan_token(HOOK)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_314()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_306() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_36()) { + jj_scanpos = xsp; + if (jj_3R_325()) { + jj_scanpos = xsp; + if (jj_3R_326()) { + jj_scanpos = xsp; + if (jj_3R_327()) { + jj_scanpos = xsp; + if (jj_3R_328()) { + jj_scanpos = xsp; + if (jj_3R_329()) { + jj_scanpos = xsp; + if (jj_3R_330()) { + jj_scanpos = xsp; + if (jj_3R_331()) { + jj_scanpos = xsp; + if (jj_3R_332()) { + jj_scanpos = xsp; + if (jj_3R_333()) { + jj_scanpos = xsp; + if (jj_3R_334()) { + jj_scanpos = xsp; + if (jj_3R_335()) { + jj_scanpos = xsp; + if (jj_3R_336()) { + jj_scanpos = xsp; + if (jj_3R_337()) { + jj_scanpos = xsp; + if (jj_3R_338()) { + jj_scanpos = xsp; + if (jj_3R_339()) return true; + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_342() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3_33() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3R_312() + { + Token xsp; + if (jj_3R_342()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_342()) { jj_scanpos = xsp; break; } + } + if (jj_3R_185()) return true; + return false; + } + + private boolean jj_3_35() + { + Token xsp; + if (jj_3_33()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_33()) { jj_scanpos = xsp; break; } + } + while (true) { + xsp = jj_scanpos; + if (jj_3_34()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_32() + { + if (jj_3R_114()) return true; + return false; + } + + private boolean jj_3R_232() + { + if (jj_3R_263()) return true; + return false; + } + + private boolean jj_3R_231() + { + if (jj_3R_95()) return true; + return false; + } + + private boolean jj_3R_230() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_199() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_230()) { jj_scanpos = xsp; break; } + } + xsp = jj_scanpos; + if (jj_3R_231()) { + jj_scanpos = xsp; + if (jj_3R_232()) return true; + } + return false; + } + + private boolean jj_3R_311() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_289() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_311()) { jj_scanpos = xsp; break; } + } + xsp = jj_scanpos; + if (jj_3_35()) { + jj_scanpos = xsp; + if (jj_3R_312()) return true; + } + return false; + } + + private boolean jj_3R_313() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_138() + { + if (jj_3R_199()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_229()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_98() + { + if (jj_scan_token(LT)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_138()) jj_scanpos = xsp; + if (jj_scan_token(GT)) return true; + return false; + } + + private boolean jj_3R_292() + { + if (jj_3R_187()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_32()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_99() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_291() + { + if (jj_3R_289()) return true; + return false; + } + + private boolean jj_3R_428() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_407() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_428()) { jj_scanpos = xsp; break; } + } + if (jj_3R_198()) return true; + return false; + } + + private boolean jj_3R_290() + { + if (jj_3R_98()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_313()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_97() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_262() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_290()) jj_scanpos = xsp; + if (jj_3R_198()) return true; + xsp = jj_scanpos; + if (jj_3R_291()) { + jj_scanpos = xsp; + if (jj_3R_292()) return true; + } + return false; + } + + private boolean jj_3R_284() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3_16() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3_15() + { + if (jj_scan_token(DOT)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_99()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(IDENTIFIER)) return true; + xsp = jj_scanpos; + if (jj_3_16()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_96() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3_13() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_97()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(LBRACKET)) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3R_261() + { + if (jj_3R_108()) return true; + if (jj_3R_289()) return true; + return false; + } + + private boolean jj_3R_463() + { + if (jj_3R_465()) return true; + return false; + } + + private boolean jj_3_14() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_198() + { + if (jj_scan_token(IDENTIFIER)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_14()) jj_scanpos = xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_15()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_260() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3_12() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_96()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(LBRACKET)) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3R_225() + { + if (jj_scan_token(NEW)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_260()) { jj_scanpos = xsp; break; } + } + xsp = jj_scanpos; + if (jj_3R_261()) { + jj_scanpos = xsp; + if (jj_3R_262()) return true; + } + return false; + } + + private boolean jj_3R_386() + { + if (jj_scan_token(THROWS)) return true; + if (jj_3R_401()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_402()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_247() + { + if (jj_3R_101()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_284()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_137() + { + if (jj_3R_198()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_13()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_220() + { + if (jj_3R_247()) return true; + return false; + } + + private boolean jj_3R_136() + { + if (jj_3R_108()) return true; + Token xsp; + if (jj_3_12()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3_12()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_95() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_136()) { + jj_scanpos = xsp; + if (jj_3R_137()) return true; + } + return false; + } + + private boolean jj_3R_187() + { + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_220()) jj_scanpos = xsp; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3R_286() + { + if (jj_scan_token(NULL)) return true; + return false; + } + + private boolean jj_3R_308() + { + if (jj_scan_token(FALSE)) return true; + return false; + } + + private boolean jj_3R_465() + { + if (jj_scan_token(_DEFAULT)) return true; + if (jj_3R_122()) return true; + return false; + } + + private boolean jj_3R_127() + { + if (jj_3R_108()) return true; + return false; + } + + private boolean jj_3R_307() + { + if (jj_scan_token(TRUE)) return true; + return false; + } + + private boolean jj_3_11() + { + if (jj_3R_95()) return true; + return false; + } + + private boolean jj_3R_88() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_11()) { + jj_scanpos = xsp; + if (jj_3R_127()) return true; + } + return false; + } + + private boolean jj_3R_285() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_307()) { + jj_scanpos = xsp; + if (jj_3R_308()) return true; + } + return false; + } + + private boolean jj_3R_254() + { + if (jj_3R_286()) return true; + return false; + } + + private boolean jj_3R_458() + { + if (jj_3R_88()) return true; + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_scan_token(RPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_463()) jj_scanpos = xsp; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_253() + { + if (jj_3R_285()) return true; + return false; + } + + private boolean jj_3_47() + { + if (jj_3R_88()) return true; + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3R_446() + { + if (jj_3R_302()) return true; + return false; + } + + private boolean jj_3R_128() + { + if (jj_scan_token(STATIC)) return true; + return false; + } + + private boolean jj_3R_252() + { + if (jj_scan_token(STRING_LITERAL)) return true; + return false; + } + + private boolean jj_3R_445() + { + if (jj_3R_300()) return true; + return false; + } + + private boolean jj_3R_90() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_128()) jj_scanpos = xsp; + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3R_444() + { + if (jj_3R_299()) return true; + return false; + } + + private boolean jj_3R_219() + { + if (jj_3R_246()) return true; + return false; + } + + private boolean jj_3R_251() + { + if (jj_scan_token(CHARACTER_LITERAL)) return true; + return false; + } + + private boolean jj_3R_443() + { + if (jj_3R_298()) return true; + return false; + } + + private boolean jj_3R_184() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_219()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_442() + { + if (jj_3R_458()) return true; + return false; + } + + private boolean jj_3_9() + { + if (jj_3R_93()) return true; + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3R_250() + { + if (jj_scan_token(FLOATING_POINT_LITERAL)) return true; + return false; + } + + private boolean jj_3R_249() + { + if (jj_scan_token(LONG_LITERAL)) return true; + return false; + } + + private boolean jj_3_46() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_122()) return true; + return false; + } + + private boolean jj_3R_429() + { + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_94() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_189() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_248() + { + if (jj_scan_token(INTEGER_LITERAL)) return true; + return false; + } + + private boolean jj_3R_430() + { + if (jj_3R_117()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_442()) { + jj_scanpos = xsp; + if (jj_3R_443()) { + jj_scanpos = xsp; + if (jj_3R_444()) { + jj_scanpos = xsp; + if (jj_3R_445()) { + jj_scanpos = xsp; + if (jj_3R_446()) return true; + } + } + } + } + return false; + } + + private boolean jj_3_10() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_94()) jj_scanpos = xsp; + if (jj_scan_token(THIS)) return true; + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3R_188() + { + if (jj_3R_93()) return true; + if (jj_scan_token(DOT)) return true; + return false; + } + + private boolean jj_3R_133() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_188()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_189()) jj_scanpos = xsp; + if (jj_scan_token(SUPER)) return true; + if (jj_3R_187()) return true; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_411() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_429()) { + jj_scanpos = xsp; + if (jj_3R_430()) return true; + } + return false; + } + + private boolean jj_3R_186() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_113() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_221() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_248()) { + jj_scanpos = xsp; + if (jj_3R_249()) { + jj_scanpos = xsp; + if (jj_3R_250()) { + jj_scanpos = xsp; + if (jj_3R_251()) { + jj_scanpos = xsp; + if (jj_3R_252()) { + jj_scanpos = xsp; + if (jj_3R_253()) { + jj_scanpos = xsp; + if (jj_3R_254()) return true; + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_132() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_186()) jj_scanpos = xsp; + if (jj_scan_token(THIS)) return true; + if (jj_3R_187()) return true; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_166() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3_31() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_113()) jj_scanpos = xsp; + if (jj_scan_token(IDENTIFIER)) return true; + return false; + } + + private boolean jj_3R_399() + { + if (jj_3R_411()) return true; + return false; + } + + private boolean jj_3R_238() + { + if (jj_3R_187()) return true; + return false; + } + + private boolean jj_3R_384() + { + if (jj_scan_token(LBRACE)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_399()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_237() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_92() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_132()) { + jj_scanpos = xsp; + if (jj_3R_133()) return true; + } + return false; + } + + private boolean jj_3R_205() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_237()) jj_scanpos = xsp; + if (jj_3R_227()) return true; + xsp = jj_scanpos; + if (jj_3R_238()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_204() + { + if (jj_3R_225()) return true; + return false; + } + + private boolean jj_3R_203() + { + if (jj_scan_token(THIS)) return true; + return false; + } + + private boolean jj_3_8() + { + if (jj_3R_92()) return true; + return false; + } + + private boolean jj_3R_287() + { + if (jj_3R_309()) return true; + return false; + } + + private boolean jj_3R_167() + { + if (jj_scan_token(ELLIPSIS)) return true; + return false; + } + + private boolean jj_3R_300() + { + if (jj_scan_token(AT)) return true; + if (jj_scan_token(INTERFACE)) return true; + if (jj_3R_120()) return true; + if (jj_3R_384()) return true; + return false; + } + + private boolean jj_3R_340() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_111()) return true; + return false; + } + + private boolean jj_3R_165() + { + if (jj_scan_token(DOT)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_203()) { + jj_scanpos = xsp; + if (jj_3R_204()) { + jj_scanpos = xsp; + if (jj_3R_205()) return true; + } + } + return false; + } + + private boolean jj_3R_387() + { + if (jj_3R_92()) return true; + return false; + } + + private boolean jj_3R_324() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_323()) return true; + return false; + } + + private boolean jj_3R_347() + { + if (jj_3R_122()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_46()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_110() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_165()) { + jj_scanpos = xsp; + if (jj_3R_166()) return true; + } + return false; + } + + private boolean jj_3R_402() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_401()) return true; + return false; + } + + private boolean jj_3R_320() + { + if (jj_3R_126()) return true; + return false; + } + + private boolean jj_3R_301() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_320()) jj_scanpos = xsp; + if (jj_3R_227()) return true; + if (jj_3R_385()) return true; + xsp = jj_scanpos; + if (jj_3R_386()) jj_scanpos = xsp; + if (jj_scan_token(LBRACE)) return true; + xsp = jj_scanpos; + if (jj_3R_387()) jj_scanpos = xsp; + if (jj_3R_184()) return true; + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_412() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_111()) return true; + return false; + } + + private boolean jj_3R_213() + { + if (jj_scan_token(LBRACE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_347()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(113)) jj_scanpos = xsp; + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_164() + { + if (jj_scan_token(DOT)) return true; + if (jj_scan_token(SUPER)) return true; + return false; + } + + private boolean jj_3R_177() + { + if (jj_3R_151()) return true; + return false; + } + + private boolean jj_3_30() + { + if (jj_3R_110()) return true; + return false; + } + + private boolean jj_3R_226() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_176() + { + if (jj_3R_213()) return true; + return false; + } + + private boolean jj_3R_175() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_109() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_30()) { + jj_scanpos = xsp; + if (jj_3R_164()) return true; + } + return false; + } + + private boolean jj_3R_228() + { + if (jj_3R_187()) return true; + return false; + } + + private boolean jj_3R_197() + { + if (jj_3R_227()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_228()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_122() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_175()) { + jj_scanpos = xsp; + if (jj_3R_176()) { + jj_scanpos = xsp; + if (jj_3R_177()) return true; + } + } + return false; + } + + private boolean jj_3R_111() + { + if (jj_3R_117()) return true; + if (jj_3R_88()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_167()) jj_scanpos = xsp; + if (jj_3R_168()) return true; + return false; + } + + private boolean jj_3_29() + { + if (jj_3R_112()) return true; + if (jj_scan_token(DOUBLECOLON)) return true; + return false; + } + + private boolean jj_3R_278() + { + if (jj_3R_304()) return true; + return false; + } + + private boolean jj_3_7() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_91()) return true; + return false; + } + + private boolean jj_3_28() + { + if (jj_3R_112()) return true; + if (jj_scan_token(DOT)) return true; + if (jj_scan_token(CLASS)) return true; + return false; + } + + private boolean jj_3R_323() + { + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_scan_token(ASSIGN)) return true; + if (jj_3R_122()) return true; + return false; + } + + private boolean jj_3R_341() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_168()) return true; + return false; + } + + private boolean jj_3R_288() + { + if (jj_3R_310()) return true; + return false; + } + + private boolean jj_3R_196() + { + if (jj_3R_112()) return true; + if (jj_scan_token(DOUBLECOLON)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_226()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(103)) { + jj_scanpos = xsp; + if (jj_scan_token(68)) return true; + } + return false; + } + + private boolean jj_3R_310() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_168()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_341()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_195() + { + if (jj_3R_112()) return true; + if (jj_scan_token(DOT)) return true; + if (jj_scan_token(CLASS)) return true; + return false; + } + + private boolean jj_3R_194() + { + if (jj_3R_225()) return true; + return false; + } + + private boolean jj_3R_304() + { + if (jj_3R_323()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_324()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3_27() + { + if (jj_3R_111()) return true; + return false; + } + + private boolean jj_3R_389() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3R_309() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_111()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_340()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_215() + { + if (jj_scan_token(AT)) return true; + if (jj_3R_120()) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_122()) return true; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3R_121() + { + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_scan_token(ASSIGN)) return true; + return false; + } + + private boolean jj_3R_259() + { + if (jj_3R_101()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_288()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_400() + { + if (jj_3R_111()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_412()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_258() + { + if (jj_3R_111()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_287()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_224() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_258()) { + jj_scanpos = xsp; + if (jj_3R_259()) return true; + } + return false; + } + + private boolean jj_3R_257() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3R_385() + { + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_400()) jj_scanpos = xsp; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3R_216() + { + if (jj_scan_token(AT)) return true; + if (jj_3R_120()) return true; + return false; + } + + private boolean jj_3R_193() + { + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_224()) jj_scanpos = xsp; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3R_223() + { + if (jj_scan_token(DOUBLECOLON)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_257()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(103)) { + jj_scanpos = xsp; + if (jj_scan_token(68)) return true; + } + return false; + } + + private boolean jj_3_45() + { + if (jj_scan_token(AT)) return true; + if (jj_3R_120()) return true; + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3_43() + { + if (jj_scan_token(SEMICOLON)) return true; + if (jj_3R_118()) return true; + return false; + } + + private boolean jj_3_44() + { + if (jj_scan_token(AT)) return true; + if (jj_3R_120()) return true; + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_121()) { + jj_scanpos = xsp; + if (jj_scan_token(107)) return true; + } + return false; + } + + private boolean jj_3R_214() + { + if (jj_scan_token(AT)) return true; + if (jj_3R_120()) return true; + if (jj_scan_token(LPAREN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_278()) jj_scanpos = xsp; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3R_413() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_401() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_413()) { jj_scanpos = xsp; break; } + } + if (jj_3R_95()) return true; + return false; + } + + private boolean jj_3R_180() + { + if (jj_3R_216()) return true; + return false; + } + + private boolean jj_3R_179() + { + if (jj_3R_215()) return true; + return false; + } + + private boolean jj_3R_206() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3R_178() + { + if (jj_3R_214()) return true; + return false; + } + + private boolean jj_3R_256() + { + if (jj_3R_187()) return true; + return false; + } + + private boolean jj_3R_222() + { + if (jj_scan_token(DOT)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_255()) jj_scanpos = xsp; + if (jj_3R_227()) return true; + xsp = jj_scanpos; + if (jj_3R_256()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_255() + { + if (jj_3R_98()) return true; + return false; + } + + private boolean jj_3_26() + { + if (jj_3R_110()) return true; + return false; + } + + private boolean jj_3R_322() + { + if (jj_3R_91()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_7()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_192() + { + if (jj_scan_token(SUPER)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_222()) { + jj_scanpos = xsp; + if (jj_3R_223()) return true; + } + return false; + } + + private boolean jj_3R_403() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_401()) return true; + return false; + } + + private boolean jj_3R_391() + { + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3R_191() + { + if (jj_scan_token(THIS)) return true; + return false; + } + + private boolean jj_3R_124() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_178()) { + jj_scanpos = xsp; + if (jj_3R_179()) { + jj_scanpos = xsp; + if (jj_3R_180()) return true; + } + } + return false; + } + + private boolean jj_3R_390() + { + if (jj_scan_token(THROWS)) return true; + if (jj_3R_401()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_403()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_152() + { + return false; + } + + private boolean jj_3R_190() + { + if (jj_3R_221()) return true; + return false; + } + + private boolean jj_3R_321() + { + if (jj_3R_126()) return true; + return false; + } + + private boolean jj_3R_303() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_321()) jj_scanpos = xsp; + if (jj_3R_112()) return true; + if (jj_3R_120()) return true; + if (jj_3R_385()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_389()) { jj_scanpos = xsp; break; } + } + xsp = jj_scanpos; + if (jj_3R_390()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_391()) { + jj_scanpos = xsp; + if (jj_scan_token(112)) return true; + } + return false; + } + + private boolean jj_3R_135() + { + if (jj_3R_110()) return true; + return false; + } + + private boolean jj_3R_153() + { + return false; + } + + private boolean jj_3R_134() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_190()) { + jj_scanpos = xsp; + if (jj_3R_191()) { + jj_scanpos = xsp; + if (jj_3R_192()) { + jj_scanpos = xsp; + if (jj_3R_193()) { + jj_scanpos = xsp; + if (jj_3R_194()) { + jj_scanpos = xsp; + if (jj_3R_195()) { + jj_scanpos = xsp; + if (jj_3R_196()) { + jj_scanpos = xsp; + if (jj_3R_197()) return true; + } + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_103() + { + jj_lookingAhead = true; + jj_semLA = getToken(1).kind == GT && + ((GTToken)getToken(1)).realKind == RSIGNEDSHIFT; + jj_lookingAhead = false; + if (!jj_semLA || jj_3R_152()) return true; + if (jj_scan_token(GT)) return true; + if (jj_scan_token(GT)) return true; + return false; + } + + private boolean jj_3_25() + { + if (jj_3R_109()) return true; + return false; + } + + private boolean jj_3R_104() + { + jj_lookingAhead = true; + jj_semLA = getToken(1).kind == GT && + ((GTToken)getToken(1)).realKind == RUNSIGNEDSHIFT; + jj_lookingAhead = false; + if (!jj_semLA || jj_3R_153()) return true; + if (jj_scan_token(GT)) return true; + if (jj_scan_token(GT)) return true; + if (jj_scan_token(GT)) return true; + return false; + } + + private boolean jj_3R_185() + { + if (jj_scan_token(LBRACE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_322()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_scan_token(113)) jj_scanpos = xsp; + if (jj_scan_token(RBRACE)) return true; + return false; + } + + private boolean jj_3R_131() + { + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_208() + { + if (jj_scan_token(ASSIGN)) return true; + if (jj_3R_91()) return true; + return false; + } + + private boolean jj_3R_130() + { + if (jj_3R_185()) return true; + return false; + } + + private boolean jj_3R_93() + { + if (jj_3R_134()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_135()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_456() + { + if (jj_3R_118()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_43()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_91() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_130()) { + jj_scanpos = xsp; + if (jj_3R_131()) return true; + } + return false; + } + + private boolean jj_3R_294() + { + if (jj_3R_134()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_25()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_441() + { + if (jj_scan_token(FINALLY)) return true; + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3R_427() + { + if (jj_scan_token(FINALLY)) return true; + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3_42() + { + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_168() + { + if (jj_scan_token(IDENTIFIER)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_206()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_439() + { + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_456()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_42()) jj_scanpos = xsp; + if (jj_scan_token(RPAREN)) return true; + return false; + } + + private boolean jj_3R_201() + { + if (jj_scan_token(BIT_AND)) return true; + if (jj_3R_95()) return true; + return false; + } + + private boolean jj_3R_457() + { + if (jj_scan_token(BIT_OR)) return true; + if (jj_3R_95()) return true; + return false; + } + + private boolean jj_3R_155() + { + if (jj_3R_95()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_201()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(RPAREN)) return true; + if (jj_3R_202()) return true; + return false; + } + + private boolean jj_3_24() + { + if (jj_3R_108()) return true; + if (jj_scan_token(RPAREN)) return true; + if (jj_3R_174()) return true; + return false; + } + + private boolean jj_3R_440() + { + if (jj_scan_token(CATCH)) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_117()) return true; + if (jj_3R_95()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_457()) { jj_scanpos = xsp; break; } + } + if (jj_3R_168()) return true; + if (jj_scan_token(RPAREN)) return true; + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3R_172() + { + if (jj_3R_168()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_208()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_154() + { + if (jj_3R_124()) return true; + return false; + } + + private boolean jj_3R_105() + { + if (jj_scan_token(LPAREN)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_154()) { jj_scanpos = xsp; break; } + } + xsp = jj_scanpos; + if (jj_3_24()) { + jj_scanpos = xsp; + if (jj_3R_155()) return true; + } + return false; + } + + private boolean jj_3R_89() + { + if (jj_scan_token(LBRACKET)) return true; + if (jj_scan_token(RBRACKET)) return true; + return false; + } + + private boolean jj_3R_388() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_172()) return true; + return false; + } + + private boolean jj_3R_426() + { + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_440()) { jj_scanpos = xsp; break; } + } + xsp = jj_scanpos; + if (jj_3R_441()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_302() + { + if (jj_3R_88()) return true; + if (jj_3R_172()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_388()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_241() + { + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_107() + { + if (jj_scan_token(DECR)) return true; + return false; + } + + private boolean jj_3_23() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_106()) { + jj_scanpos = xsp; + if (jj_3R_107()) return true; + } + return false; + } + + private boolean jj_3R_106() + { + if (jj_scan_token(INCR)) return true; + return false; + } + + private boolean jj_3R_425() + { + if (jj_3R_439()) return true; + return false; + } + + private boolean jj_3_22() + { + if (jj_3R_105()) return true; + return false; + } + + private boolean jj_3R_361() + { + if (jj_scan_token(TRY)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_425()) jj_scanpos = xsp; + if (jj_3R_129()) return true; + xsp = jj_scanpos; + if (jj_3R_426()) { + jj_scanpos = xsp; + if (jj_3R_427()) return true; + } + return false; + } + + private boolean jj_3R_267() + { + if (jj_3R_294()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3_23()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3_5() + { + if (jj_3R_88()) return true; + if (jj_scan_token(IDENTIFIER)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_89()) { jj_scanpos = xsp; break; } + } + xsp = jj_scanpos; + if (jj_scan_token(113)) { + jj_scanpos = xsp; + if (jj_scan_token(116)) { + jj_scanpos = xsp; + if (jj_scan_token(112)) return true; + } + } + return false; + } + + private boolean jj_3R_87() + { + if (jj_3R_126()) return true; + return false; + } + + private boolean jj_3_4() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_87()) jj_scanpos = xsp; + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_scan_token(LPAREN)) return true; + return false; + } + + private boolean jj_3R_235() + { + if (jj_3R_105()) return true; + return false; + } + + private boolean jj_3R_236() + { + if (jj_3R_267()) return true; + return false; + } + + private boolean jj_3R_266() + { + if (jj_scan_token(BANG)) return true; + return false; + } + + private boolean jj_3R_265() + { + if (jj_scan_token(TILDE)) return true; + return false; + } + + private boolean jj_3R_424() + { + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_277() + { + if (jj_3R_303()) return true; + return false; + } + + private boolean jj_3R_234() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_265()) { + jj_scanpos = xsp; + if (jj_3R_266()) return true; + } + if (jj_3R_174()) return true; + return false; + } + + private boolean jj_3R_271() + { + if (jj_scan_token(_DEFAULT)) return true; + if (jj_3R_117()) return true; + return false; + } + + private boolean jj_3R_276() + { + if (jj_3R_302()) return true; + return false; + } + + private boolean jj_3R_275() + { + if (jj_3R_301()) return true; + return false; + } + + private boolean jj_3R_423() + { + if (jj_scan_token(IDENTIFIER)) return true; + return false; + } + + private boolean jj_3R_274() + { + if (jj_3R_300()) return true; + return false; + } + + private boolean jj_3R_202() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_234()) { + jj_scanpos = xsp; + if (jj_3R_235()) { + jj_scanpos = xsp; + if (jj_3R_236()) return true; + } + } + return false; + } + + private boolean jj_3R_273() + { + if (jj_3R_299()) return true; + return false; + } + + private boolean jj_3R_360() + { + if (jj_scan_token(SYNCHRONIZED)) return true; + if (jj_scan_token(LPAREN)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(RPAREN)) return true; + if (jj_3R_129()) return true; + return false; + } + + private boolean jj_3R_272() + { + if (jj_3R_298()) return true; + return false; + } + + private boolean jj_3R_422() + { + if (jj_scan_token(IDENTIFIER)) return true; + return false; + } + + private boolean jj_3R_242() + { + if (jj_scan_token(DECR)) return true; + if (jj_3R_174()) return true; + return false; + } + + private boolean jj_3R_217() + { + if (jj_3R_245()) return true; + return false; + } + + private boolean jj_3R_359() + { + if (jj_scan_token(THROW)) return true; + if (jj_3R_101()) return true; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_240() + { + if (jj_3R_117()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_271()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_272()) { + jj_scanpos = xsp; + if (jj_3R_273()) { + jj_scanpos = xsp; + if (jj_3R_274()) { + jj_scanpos = xsp; + if (jj_3R_275()) { + jj_scanpos = xsp; + if (jj_3R_276()) { + jj_scanpos = xsp; + if (jj_3R_277()) return true; + } + } + } + } + } + return false; + } + + private boolean jj_3R_119() + { + if (jj_scan_token(INCR)) return true; + if (jj_3R_174()) return true; + return false; + } + + private boolean jj_3R_464() + { + if (jj_scan_token(COMMA)) return true; + if (jj_3R_101()) return true; + return false; + } + + private boolean jj_3R_358() + { + if (jj_scan_token(RETURN)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_424()) jj_scanpos = xsp; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_212() + { + if (jj_3R_202()) return true; + return false; + } + + private boolean jj_3_6() + { + if (jj_3R_90()) return true; + return false; + } + + private boolean jj_3R_357() + { + if (jj_scan_token(CONTINUE)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_423()) jj_scanpos = xsp; + if (jj_scan_token(SEMICOLON)) return true; + return false; + } + + private boolean jj_3R_207() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3_6()) { + jj_scanpos = xsp; + if (jj_3R_240()) { + jj_scanpos = xsp; + if (jj_3R_241()) return true; + } + } + return false; + } + + private boolean jj_3R_244() + { + if (jj_scan_token(MINUS)) return true; + return false; + } + + private boolean jj_3R_243() + { + if (jj_scan_token(PLUS)) return true; + return false; + } + + private boolean jj_3R_438() + { + if (jj_3R_455()) return true; + return false; + } + + private boolean jj_3R_211() + { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_243()) { + jj_scanpos = xsp; + if (jj_3R_244()) return true; + } + if (jj_3R_174()) return true; + return false; + } + + /** Generated Token Manager. */ + public ASTParserTokenManager token_source; + JavaCharStream jj_input_stream; + /** Current token. */ + public Token token; + /** Next token. */ + public Token jj_nt; + private int jj_ntk; + private Token jj_scanpos, jj_lastpos; + private int jj_la; + /** Whether we are looking ahead. */ + private boolean jj_lookingAhead = false; + private boolean jj_semLA; + private int jj_gen; + final private int[] jj_la1 = new int[177]; + static private int[] jj_la1_0; + static private int[] jj_la1_1; + static private int[] jj_la1_2; + static private int[] jj_la1_3; + static private int[] jj_la1_4; + static { + jj_la1_init_0(); + jj_la1_init_1(); + jj_la1_init_2(); + jj_la1_init_3(); + jj_la1_init_4(); + } + private static void jj_la1_init_0() { + jj_la1_0 = new int[] {0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; + } + private static void jj_la1_init_1() { + jj_la1_1 = new int[] {0x40000000,0x40000000,0x902020,0x0,0x0,0x0,0x0,0x800020,0x102000,0x902020,0x2000,0x0,0x200000,0x20000000,0x0,0x0,0x0,0x20000000,0x0,0x0,0x29532a0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x200000,0x0,0x0,0x0,0x29532a0,0x10000,0x102000,0x2041280,0x29532a0,0x0,0x0,0x0,0x2441280,0x2441280,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x28412a0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2441280,0x16c6b3e0,0x0,0x2041280,0x0,0x0,0x2041280,0x2041280,0x0,0x0,0x0,0x2041280,0x0,0x2041280,0x0,0x0,0x200000,0x200000,0x2041280,0x2041280,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x80000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2441280,0x0,0x0,0x2441280,0x0,0x0,0x0,0x2041280,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2441280,0x2c412a0,0x0,0x0,0x0,0x400000,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x400000,0x2441280,0x0,0x0,0x0,0x0,0x0,0x2041280,0x0,0x0,0x0,0x0,0x164693c0,0x0,0x164693c0,0x0,0x2441280,0x0,0x0,0x0,0x0,0x2441280,0x10400,0x10400,0x80000,0x2c412a0,0x2441280,0x2441280,0x2c412a0,0x2441280,0x0,0x0,0x0,0x2441280,0x0,0x800,0x0,0x1000000,0x0,0x0,0x0,0x2441280,0x2441280,0x0,0x29432a0,0x2143280,0x29432a0,0x10000,}; + } + private static void jj_la1_init_2() { + jj_la1_2 = new int[] {0x0,0x0,0x111338a,0x0,0x0,0x1000,0x0,0x1113388,0x2,0x111338a,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1913b8f,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1913b8f,0x0,0x2,0x800805,0x1913b8f,0x0,0x0,0x0,0xca24835,0xca24835,0x0,0x0,0x0,0x0,0x80000,0x0,0x0,0x0,0x1113b8d,0x0,0x0,0x0,0x0,0x0,0x80000,0x0,0x0,0xca24835,0xff7ffbf,0x1000,0x805,0x0,0x0,0x805,0x805,0x0,0x0,0x0,0x805,0x0,0x805,0x0,0x0,0x4000,0x4000,0x805,0x800805,0x0,0x10,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xca24835,0x0,0x0,0xca24835,0x0,0x0,0x0,0x805,0x0,0x0,0x0,0x10,0x0,0x0,0x0,0xca24835,0xdb37bbd,0x0,0x10,0x0,0xc224030,0x0,0x0,0x0,0x0,0x20010,0x0,0xc200020,0x200000,0xca24835,0x0,0x0,0x0,0x0,0x0,0x805,0x0,0x0,0x0,0x0,0xee7cc35,0x0,0xee7cc35,0x0,0xca24835,0x0,0x10,0x0,0x0,0xca24835,0x0,0x0,0x0,0xdb37bbd,0xca24835,0xca24835,0xdb37bbd,0xca24835,0x0,0x0,0x0,0xca24835,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xca24835,0xca24835,0x0,0x1113b8f,0x807,0x1113b8f,0x0,}; + } + private static void jj_la1_init_3() { + jj_la1_3 = new int[] {0x10000,0x10000,0x90000,0x0,0x80000,0x0,0x40000,0x80000,0x80000,0x90000,0x0,0x200000,0x0,0x0,0x80000,0x20000,0x20000,0x0,0x80080,0x20000,0x291080,0x10000,0x80000,0x400,0x1000,0x80000,0x20000,0x80000,0x0,0x80000,0x0,0x80000,0x291080,0x0,0x80000,0x200080,0x290080,0x20000,0x100000,0x4000,0xc014e1,0xc014e1,0x20000,0x200000,0x4000,0x20000,0x0,0x11000,0x80000,0x20000,0x80080,0x20000,0x20000,0x0,0x200000,0x20000,0x0,0x200000,0x200000,0x2004e1,0x914e1,0x0,0x0,0x80000,0x80000,0x80,0x80,0x80000,0x80000,0x20000,0x1080080,0x80000,0x1000080,0x80000,0x80000,0x0,0x0,0x0,0x80,0x200000,0x80,0x0,0x100000,0x100000,0x1000000,0x40000000,0x80000000,0x0,0x0,0x0,0x24000000,0x24000000,0x0,0x18200000,0x18200000,0x0,0x0,0x0,0x0,0x0,0x0,0xc004e1,0xc00000,0xc00000,0x4e1,0x0,0x80000,0x0,0x80,0x200000,0x400,0x200000,0x80,0x40000,0x20000,0x20000,0xc004e1,0xc804e1,0x200000,0x80,0x400,0x461,0x80,0x40000,0x200000,0x400,0x0,0x44000,0x61,0x0,0xc004e1,0x20000,0x80000,0x80000,0x200000,0x84400,0x200080,0x80000,0x80000,0x4000,0x4000,0x114e1,0x2000000,0x114e1,0x20000,0xc014e1,0x200000,0x80,0x100000,0x100000,0x4e1,0x0,0x0,0x0,0xc804e1,0xc004e1,0xc004e1,0xc904e1,0xc004e1,0x20000,0x80,0x80,0xc004e1,0x400,0x0,0x0,0x0,0x80000,0x80,0x20000,0xc814e1,0xc814e1,0x20000,0x90080,0x80080,0x90080,0x0,}; + } + private static void jj_la1_init_4() { + jj_la1_4 = new int[] {0x0,0x0,0x0,0x10000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xf,0xf,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x0,0x0,0x0,0x0,0x0,0x0,0x3,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1800000,0x1bff800,0x3ff800,0x0,0x0,0x0,0x80,0x100,0x40,0x0,0x0,0x0,0x8000000,0x8000000,0x400,0xc,0xc,0x230,0x230,0xc,0xf,0x0,0x0,0x0,0x3,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x1000000,0x0,0x0,0xf,0xf,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xf,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3,0x0,0x3,0x0,0xf,0x0,0x0,0x1bff803,0x1bff803,0x2,0x0,0x0,0x0,0xf,0xf,0xf,0xf,0xf,0x0,0x0,0x0,0xf,0x0,0x0,0x80,0x0,0x0,0x0,0x0,0xf,0xf,0x0,0x0,0x0,0x0,0x0,}; + } + final private JJCalls[] jj_2_rtns = new JJCalls[47]; + private boolean jj_rescan = false; + private int jj_gc = 0; + + /** Constructor. */ + public ASTParser(Provider stream) { + jj_input_stream = new JavaCharStream(stream, 1, 1); + token_source = new ASTParserTokenManager(jj_input_stream); + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 177; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + /** Constructor. */ + public ASTParser(String dsl) throws ParseException, TokenMgrException { + this(new StringProvider(dsl)); + } + + public void ReInit(String s) { + ReInit(new StringProvider(s)); + } + /** Reinitialise. */ + public void ReInit(Provider stream) { + if (jj_input_stream == null) { + jj_input_stream = new JavaCharStream(stream, 1, 1); + } else { + jj_input_stream.ReInit(stream, 1, 1); + } + if (token_source == null) { + token_source = new ASTParserTokenManager(jj_input_stream); + } + + token_source.ReInit(jj_input_stream); + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 177; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + /** Constructor with generated Token Manager. */ + public ASTParser(ASTParserTokenManager tm) { + token_source = tm; + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 177; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + /** Reinitialise. */ + public void ReInit(ASTParserTokenManager tm) { + token_source = tm; + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 177; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + private Token jj_consume_token(int kind) throws ParseException { + Token oldToken; + if ((oldToken = token).next != null) token = token.next; + else token = token.next = token_source.getNextToken(); + jj_ntk = -1; + if (token.kind == kind) { + jj_gen++; + if (++jj_gc > 100) { + jj_gc = 0; + for (int i = 0; i < jj_2_rtns.length; i++) { + JJCalls c = jj_2_rtns[i]; + while (c != null) { + if (c.gen < jj_gen) c.first = null; + c = c.next; + } + } + } + return token; + } + token = oldToken; + jj_kind = kind; + throw generateParseException(); + } + + @SuppressWarnings("serial") + static private final class LookaheadSuccess extends java.lang.RuntimeException { } + final private LookaheadSuccess jj_ls = new LookaheadSuccess(); + private boolean jj_scan_token(int kind) { + if (jj_scanpos == jj_lastpos) { + jj_la--; + if (jj_scanpos.next == null) { + jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken(); + } else { + jj_lastpos = jj_scanpos = jj_scanpos.next; + } + } else { + jj_scanpos = jj_scanpos.next; + } + if (jj_rescan) { + int i = 0; Token tok = token; + while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; } + if (tok != null) jj_add_error_token(kind, i); + } + if (jj_scanpos.kind != kind) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls; + return false; + } + + +/** Get the next Token. */ + final public Token getNextToken() { + if (token.next != null) token = token.next; + else token = token.next = token_source.getNextToken(); + jj_ntk = -1; + jj_gen++; + return token; + } + +/** Get the specific Token. */ + final public Token getToken(int index) { + Token t = jj_lookingAhead ? jj_scanpos : token; + for (int i = 0; i < index; i++) { + if (t.next != null) t = t.next; + else t = t.next = token_source.getNextToken(); + } + return t; + } + + private int jj_ntk_f() { + if ((jj_nt=token.next) == null) + return (jj_ntk = (token.next=token_source.getNextToken()).kind); + else + return (jj_ntk = jj_nt.kind); + } + + private java.util.List jj_expentries = new java.util.ArrayList(); + private int[] jj_expentry; + private int jj_kind = -1; + private int[] jj_lasttokens = new int[100]; + private int jj_endpos; + + private void jj_add_error_token(int kind, int pos) { + if (pos >= 100) { + return; + } + + if (pos == jj_endpos + 1) { + jj_lasttokens[jj_endpos++] = kind; + } else if (jj_endpos != 0) { + jj_expentry = new int[jj_endpos]; + + for (int i = 0; i < jj_endpos; i++) { + jj_expentry[i] = jj_lasttokens[i]; + } + + for (int[] oldentry : jj_expentries) { + if (oldentry.length == jj_expentry.length) { + boolean isMatched = true; + + for (int i = 0; i < jj_expentry.length; i++) { + if (oldentry[i] != jj_expentry[i]) { + isMatched = false; + break; + } + + } + if (isMatched) { + jj_expentries.add(jj_expentry); + break; + } + } + } + + if (pos != 0) { + jj_lasttokens[(jj_endpos = pos) - 1] = kind; + } + } + } + + /** Generate ParseException. */ + public ParseException generateParseException() { + jj_expentries.clear(); + boolean[] la1tokens = new boolean[157]; + if (jj_kind >= 0) { + la1tokens[jj_kind] = true; + jj_kind = -1; + } + for (int i = 0; i < 177; i++) { + if (jj_la1[i] == jj_gen) { + for (int j = 0; j < 32; j++) { + if ((jj_la1_0[i] & (1< jj_gen) { + jj_la = p.arg; jj_lastpos = jj_scanpos = p.first; + switch (i) { + case 0: jj_3_1(); break; + case 1: jj_3_2(); break; + case 2: jj_3_3(); break; + case 3: jj_3_4(); break; + case 4: jj_3_5(); break; + case 5: jj_3_6(); break; + case 6: jj_3_7(); break; + case 7: jj_3_8(); break; + case 8: jj_3_9(); break; + case 9: jj_3_10(); break; + case 10: jj_3_11(); break; + case 11: jj_3_12(); break; + case 12: jj_3_13(); break; + case 13: jj_3_14(); break; + case 14: jj_3_15(); break; + case 15: jj_3_16(); break; + case 16: jj_3_17(); break; + case 17: jj_3_18(); break; + case 18: jj_3_19(); break; + case 19: jj_3_20(); break; + case 20: jj_3_21(); break; + case 21: jj_3_22(); break; + case 22: jj_3_23(); break; + case 23: jj_3_24(); break; + case 24: jj_3_25(); break; + case 25: jj_3_26(); break; + case 26: jj_3_27(); break; + case 27: jj_3_28(); break; + case 28: jj_3_29(); break; + case 29: jj_3_30(); break; + case 30: jj_3_31(); break; + case 31: jj_3_32(); break; + case 32: jj_3_33(); break; + case 33: jj_3_34(); break; + case 34: jj_3_35(); break; + case 35: jj_3_36(); break; + case 36: jj_3_37(); break; + case 37: jj_3_38(); break; + case 38: jj_3_39(); break; + case 39: jj_3_40(); break; + case 40: jj_3_41(); break; + case 41: jj_3_42(); break; + case 42: jj_3_43(); break; + case 43: jj_3_44(); break; + case 44: jj_3_45(); break; + case 45: jj_3_46(); break; + case 46: jj_3_47(); break; + } + } + p = p.next; + } while (p != null); + + } catch(LookaheadSuccess ls) { } + } + jj_rescan = false; + } + + private void jj_save(int index, int xla) { + JJCalls p = jj_2_rtns[index]; + while (p.gen > jj_gen) { + if (p.next == null) { p = p.next = new JJCalls(); break; } + p = p.next; + } + + p.gen = jj_gen + xla - jj_la; + p.first = token; + p.arg = xla; + } + + static final class JJCalls { + int gen; + Token first; + int arg; + JJCalls next; + } + +} diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserConstants.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserConstants.java new file mode 100644 index 00000000..b256848a --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserConstants.java @@ -0,0 +1,438 @@ +/* Generated By:JavaCC: Do not edit this line. ASTParserConstants.java */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + + +/** + * Token literal values and constants. + * Generated by org.javacc.parser.OtherFilesGen#start() + */ +public interface ASTParserConstants { + + /** End of File. */ + int EOF = 0; + /** RegularExpression Id. */ + int SINGLE_LINE_COMMENT = 31; + /** RegularExpression Id. */ + int JAVA_DOC_COMMENT = 34; + /** RegularExpression Id. */ + int MULTI_LINE_COMMENT = 35; + /** RegularExpression Id. */ + int ABSTRACT = 37; + /** RegularExpression Id. */ + int ASSERT = 38; + /** RegularExpression Id. */ + int BOOLEAN = 39; + /** RegularExpression Id. */ + int BREAK = 40; + /** RegularExpression Id. */ + int BYTE = 41; + /** RegularExpression Id. */ + int CASE = 42; + /** RegularExpression Id. */ + int CATCH = 43; + /** RegularExpression Id. */ + int CHAR = 44; + /** RegularExpression Id. */ + int CLASS = 45; + /** RegularExpression Id. */ + int CONST = 46; + /** RegularExpression Id. */ + int CONTINUE = 47; + /** RegularExpression Id. */ + int _DEFAULT = 48; + /** RegularExpression Id. */ + int DO = 49; + /** RegularExpression Id. */ + int DOUBLE = 50; + /** RegularExpression Id. */ + int ELSE = 51; + /** RegularExpression Id. */ + int ENUM = 52; + /** RegularExpression Id. */ + int EXTENDS = 53; + /** RegularExpression Id. */ + int FALSE = 54; + /** RegularExpression Id. */ + int FINAL = 55; + /** RegularExpression Id. */ + int FINALLY = 56; + /** RegularExpression Id. */ + int FLOAT = 57; + /** RegularExpression Id. */ + int FOR = 58; + /** RegularExpression Id. */ + int GOTO = 59; + /** RegularExpression Id. */ + int IF = 60; + /** RegularExpression Id. */ + int IMPLEMENTS = 61; + /** RegularExpression Id. */ + int IMPORT = 62; + /** RegularExpression Id. */ + int INSTANCEOF = 63; + /** RegularExpression Id. */ + int INT = 64; + /** RegularExpression Id. */ + int INTERFACE = 65; + /** RegularExpression Id. */ + int LONG = 66; + /** RegularExpression Id. */ + int NATIVE = 67; + /** RegularExpression Id. */ + int NEW = 68; + /** RegularExpression Id. */ + int NULL = 69; + /** RegularExpression Id. */ + int PACKAGE = 70; + /** RegularExpression Id. */ + int PRIVATE = 71; + /** RegularExpression Id. */ + int PROTECTED = 72; + /** RegularExpression Id. */ + int PUBLIC = 73; + /** RegularExpression Id. */ + int RETURN = 74; + /** RegularExpression Id. */ + int SHORT = 75; + /** RegularExpression Id. */ + int STATIC = 76; + /** RegularExpression Id. */ + int STRICTFP = 77; + /** RegularExpression Id. */ + int SUPER = 78; + /** RegularExpression Id. */ + int SWITCH = 79; + /** RegularExpression Id. */ + int SYNCHRONIZED = 80; + /** RegularExpression Id. */ + int THIS = 81; + /** RegularExpression Id. */ + int THROW = 82; + /** RegularExpression Id. */ + int THROWS = 83; + /** RegularExpression Id. */ + int TRANSIENT = 84; + /** RegularExpression Id. */ + int TRUE = 85; + /** RegularExpression Id. */ + int TRY = 86; + /** RegularExpression Id. */ + int VOID = 87; + /** RegularExpression Id. */ + int VOLATILE = 88; + /** RegularExpression Id. */ + int WHILE = 89; + /** RegularExpression Id. */ + int LONG_LITERAL = 90; + /** RegularExpression Id. */ + int INTEGER_LITERAL = 91; + /** RegularExpression Id. */ + int DECIMAL_LITERAL = 92; + /** RegularExpression Id. */ + int HEX_LITERAL = 93; + /** RegularExpression Id. */ + int OCTAL_LITERAL = 94; + /** RegularExpression Id. */ + int BINARY_LITERAL = 95; + /** RegularExpression Id. */ + int FLOATING_POINT_LITERAL = 96; + /** RegularExpression Id. */ + int DECIMAL_FLOATING_POINT_LITERAL = 97; + /** RegularExpression Id. */ + int DECIMAL_EXPONENT = 98; + /** RegularExpression Id. */ + int HEXADECIMAL_FLOATING_POINT_LITERAL = 99; + /** RegularExpression Id. */ + int HEXADECIMAL_EXPONENT = 100; + /** RegularExpression Id. */ + int CHARACTER_LITERAL = 101; + /** RegularExpression Id. */ + int STRING_LITERAL = 102; + /** RegularExpression Id. */ + int IDENTIFIER = 103; + /** RegularExpression Id. */ + int LETTER = 104; + /** RegularExpression Id. */ + int PART_LETTER = 105; + /** RegularExpression Id. */ + int LPAREN = 106; + /** RegularExpression Id. */ + int RPAREN = 107; + /** RegularExpression Id. */ + int LBRACE = 108; + /** RegularExpression Id. */ + int RBRACE = 109; + /** RegularExpression Id. */ + int LBRACKET = 110; + /** RegularExpression Id. */ + int RBRACKET = 111; + /** RegularExpression Id. */ + int SEMICOLON = 112; + /** RegularExpression Id. */ + int COMMA = 113; + /** RegularExpression Id. */ + int DOT = 114; + /** RegularExpression Id. */ + int AT = 115; + /** RegularExpression Id. */ + int ASSIGN = 116; + /** RegularExpression Id. */ + int LT = 117; + /** RegularExpression Id. */ + int BANG = 118; + /** RegularExpression Id. */ + int TILDE = 119; + /** RegularExpression Id. */ + int HOOK = 120; + /** RegularExpression Id. */ + int COLON = 121; + /** RegularExpression Id. */ + int EQ = 122; + /** RegularExpression Id. */ + int LE = 123; + /** RegularExpression Id. */ + int GE = 124; + /** RegularExpression Id. */ + int NE = 125; + /** RegularExpression Id. */ + int SC_OR = 126; + /** RegularExpression Id. */ + int SC_AND = 127; + /** RegularExpression Id. */ + int INCR = 128; + /** RegularExpression Id. */ + int DECR = 129; + /** RegularExpression Id. */ + int PLUS = 130; + /** RegularExpression Id. */ + int MINUS = 131; + /** RegularExpression Id. */ + int STAR = 132; + /** RegularExpression Id. */ + int SLASH = 133; + /** RegularExpression Id. */ + int BIT_AND = 134; + /** RegularExpression Id. */ + int BIT_OR = 135; + /** RegularExpression Id. */ + int XOR = 136; + /** RegularExpression Id. */ + int REM = 137; + /** RegularExpression Id. */ + int LSHIFT = 138; + /** RegularExpression Id. */ + int PLUSASSIGN = 139; + /** RegularExpression Id. */ + int MINUSASSIGN = 140; + /** RegularExpression Id. */ + int STARASSIGN = 141; + /** RegularExpression Id. */ + int SLASHASSIGN = 142; + /** RegularExpression Id. */ + int ANDASSIGN = 143; + /** RegularExpression Id. */ + int ORASSIGN = 144; + /** RegularExpression Id. */ + int XORASSIGN = 145; + /** RegularExpression Id. */ + int REMASSIGN = 146; + /** RegularExpression Id. */ + int LSHIFTASSIGN = 147; + /** RegularExpression Id. */ + int RSIGNEDSHIFTASSIGN = 148; + /** RegularExpression Id. */ + int RUNSIGNEDSHIFTASSIGN = 149; + /** RegularExpression Id. */ + int ELLIPSIS = 150; + /** RegularExpression Id. */ + int ARROW = 151; + /** RegularExpression Id. */ + int DOUBLECOLON = 152; + /** RegularExpression Id. */ + int RUNSIGNEDSHIFT = 153; + /** RegularExpression Id. */ + int RSIGNEDSHIFT = 154; + /** RegularExpression Id. */ + int GT = 155; + + /** Lexical state. */ + int DEFAULT = 0; + /** Lexical state. */ + int IN_JAVA_DOC_COMMENT = 1; + /** Lexical state. */ + int IN_MULTI_LINE_COMMENT = 2; + + /** Literal token values. */ + String[] tokenImage = { + "", + "\" \"", + "\"\\t\"", + "\"\\n\"", + "\"\\r\"", + "\"\\f\"", + "\"\\u0085\"", + "\"\\u00a0\"", + "\"\\u1680\"", + "\"\\u180e\"", + "\"\\u2000\"", + "\"\\u2001\"", + "\"\\u2002\"", + "\"\\u2003\"", + "\"\\u2004\"", + "\"\\u2005\"", + "\"\\u2006\"", + "\"\\u2007\"", + "\"\\u2008\"", + "\"\\u2009\"", + "\"\\u200a\"", + "\"\\u200b\"", + "\"\\u200c\"", + "\"\\u200d\"", + "\"\\u2028\"", + "\"\\u2029\"", + "\"\\u202f\"", + "\"\\u205f\"", + "\"\\u2060\"", + "\"\\u3000\"", + "\"\\ufeff\"", + "", + "", + "\"/*\"", + "\"*/\"", + "\"*/\"", + "", + "\"abstract\"", + "\"assert\"", + "\"boolean\"", + "\"break\"", + "\"byte\"", + "\"case\"", + "\"catch\"", + "\"char\"", + "\"class\"", + "\"const\"", + "\"continue\"", + "\"default\"", + "\"do\"", + "\"double\"", + "\"else\"", + "\"enum\"", + "\"extends\"", + "\"false\"", + "\"final\"", + "\"finally\"", + "\"float\"", + "\"for\"", + "\"goto\"", + "\"if\"", + "\"implements\"", + "\"import\"", + "\"instanceof\"", + "\"int\"", + "\"interface\"", + "\"long\"", + "\"native\"", + "\"new\"", + "\"null\"", + "\"package\"", + "\"private\"", + "\"protected\"", + "\"public\"", + "\"return\"", + "\"short\"", + "\"static\"", + "\"strictfp\"", + "\"super\"", + "\"switch\"", + "\"synchronized\"", + "\"this\"", + "\"throw\"", + "\"throws\"", + "\"transient\"", + "\"true\"", + "\"try\"", + "\"void\"", + "\"volatile\"", + "\"while\"", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\"(\"", + "\")\"", + "\"{\"", + "\"}\"", + "\"[\"", + "\"]\"", + "\";\"", + "\",\"", + "\".\"", + "\"@\"", + "\"=\"", + "\"<\"", + "\"!\"", + "\"~\"", + "\"?\"", + "\":\"", + "\"==\"", + "\"<=\"", + "\">=\"", + "\"!=\"", + "\"||\"", + "\"&&\"", + "\"++\"", + "\"--\"", + "\"+\"", + "\"-\"", + "\"*\"", + "\"/\"", + "\"&\"", + "\"|\"", + "\"^\"", + "\"%\"", + "\"<<\"", + "\"+=\"", + "\"-=\"", + "\"*=\"", + "\"/=\"", + "\"&=\"", + "\"|=\"", + "\"^=\"", + "\"%=\"", + "\"<<=\"", + "\">>=\"", + "\">>>=\"", + "\"...\"", + "\"->\"", + "\"::\"", + "\">>>\"", + "\">>\"", + "\">\"", + "\"\\u001a\"", + }; + +} diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserTokenManager.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserTokenManager.java new file mode 100644 index 00000000..d2ef2b6f --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ASTParserTokenManager.java @@ -0,0 +1,2612 @@ +/* ASTParserTokenManager.java */ +/* Generated By:JavaCC: Do not edit this line. ASTParserTokenManager.java */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; +import java.io.*; +import java.util.*; +import com.github.javaparser.ast.*; +import com.github.javaparser.ast.body.*; +import com.github.javaparser.ast.comments.*; +import com.github.javaparser.ast.expr.*; +import com.github.javaparser.ast.stmt.*; +import com.github.javaparser.ast.type.*; +import static com.github.javaparser.Range.*; +import static com.github.javaparser.Position.*; + +/** Token Manager. */ +@SuppressWarnings("unused")public class ASTParserTokenManager implements ASTParserConstants { + private List tokens = new ArrayList(); + + List getTokens() { + return tokens; + } + + private void CommonTokenAction(Token token) { + tokens.add(token); + } + + /** Debug output. */ + public java.io.PrintStream debugStream = System.out; + /** Set debug output. */ + public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } +private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2){ + switch (pos) + { + case 0: + if ((active0 & 0xffffffe000000000L) != 0L || (active1 & 0x3ffffffL) != 0L) + { + jjmatchedKind = 103; + return 43; + } + if ((active0 & 0x200000000L) != 0L || (active2 & 0x4020L) != 0L) + return 45; + if ((active1 & 0x4000000000000L) != 0L || (active2 & 0x400000L) != 0L) + return 1; + return -1; + case 1: + if ((active0 & 0xeff9ffe000000000L) != 0L || (active1 & 0x3ffffffL) != 0L) + { + if (jjmatchedPos != 1) + { + jjmatchedKind = 103; + jjmatchedPos = 1; + } + return 43; + } + if ((active0 & 0x1006000000000000L) != 0L) + return 43; + if ((active0 & 0x200000000L) != 0L) + return 50; + return -1; + case 2: + if ((active0 & 0x400000000000000L) != 0L || (active1 & 0x400013L) != 0L) + return 43; + if ((active0 & 0xebfdffe000000000L) != 0L || (active1 & 0x3bfffecL) != 0L) + { + if (jjmatchedPos != 2) + { + jjmatchedKind = 103; + jjmatchedPos = 2; + } + return 43; + } + return -1; + case 3: + if ((active0 & 0xe3e5e9e000000000L) != 0L || (active1 & 0x31dffcaL) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 3; + return 43; + } + if ((active0 & 0x818160000000000L) != 0L || (active1 & 0xa20024L) != 0L) + return 43; + return -1; + case 4: + if ((active0 & 0xe02580e000000000L) != 0L || (active1 & 0x111b7caL) != 0L) + { + if (jjmatchedPos != 4) + { + jjmatchedKind = 103; + jjmatchedPos = 4; + } + return 43; + } + if ((active0 & 0x3c0690000000000L) != 0L || (active1 & 0x20c4800L) != 0L) + return 43; + return -1; + case 5: + if ((active0 & 0x4004004000000000L) != 0L || (active1 & 0x89608L) != 0L) + return 43; + if ((active0 & 0xa12180a000000000L) != 0L || (active1 & 0x11121c2L) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 5; + return 43; + } + return -1; + case 6: + if ((active0 & 0x121008000000000L) != 0L || (active1 & 0xc0L) != 0L) + return 43; + if ((active0 & 0xa000802000000000L) != 0L || (active1 & 0x1112102L) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 6; + return 43; + } + return -1; + case 7: + if ((active0 & 0xa000000000000000L) != 0L || (active1 & 0x110102L) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 7; + return 43; + } + if ((active0 & 0x802000000000L) != 0L || (active1 & 0x1002000L) != 0L) + return 43; + return -1; + case 8: + if ((active1 & 0x100102L) != 0L) + return 43; + if ((active0 & 0xa000000000000000L) != 0L || (active1 & 0x10000L) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 8; + return 43; + } + return -1; + case 9: + if ((active0 & 0xa000000000000000L) != 0L) + return 43; + if ((active1 & 0x10000L) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 9; + return 43; + } + return -1; + case 10: + if ((active1 & 0x10000L) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 10; + return 43; + } + return -1; + default : + return -1; + } +} +private final int jjStartNfa_0(int pos, long active0, long active1, long active2){ + return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); +} +private int jjStopAtPos(int pos, int kind) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + return pos + 1; +} +private int jjMoveStringLiteralDfa0_0(){ + switch(curChar) + { + case 26: + return jjStopAtPos(0, 156); + case 33: + jjmatchedKind = 118; + return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000000000000L, 0x0L); + case 37: + jjmatchedKind = 137; + return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x40000L); + case 38: + jjmatchedKind = 134; + return jjMoveStringLiteralDfa1_0(0x0L, 0x8000000000000000L, 0x8000L); + case 40: + return jjStopAtPos(0, 106); + case 41: + return jjStopAtPos(0, 107); + case 42: + jjmatchedKind = 132; + return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x2000L); + case 43: + jjmatchedKind = 130; + return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x801L); + case 44: + return jjStopAtPos(0, 113); + case 45: + jjmatchedKind = 131; + return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x801002L); + case 46: + jjmatchedKind = 114; + return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x400000L); + case 47: + jjmatchedKind = 133; + return jjMoveStringLiteralDfa1_0(0x200000000L, 0x0L, 0x4000L); + case 58: + jjmatchedKind = 121; + return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x1000000L); + case 59: + return jjStopAtPos(0, 112); + case 60: + jjmatchedKind = 117; + return jjMoveStringLiteralDfa1_0(0x0L, 0x800000000000000L, 0x80400L); + case 61: + jjmatchedKind = 116; + return jjMoveStringLiteralDfa1_0(0x0L, 0x400000000000000L, 0x0L); + case 62: + jjmatchedKind = 155; + return jjMoveStringLiteralDfa1_0(0x0L, 0x1000000000000000L, 0x6300000L); + case 63: + return jjStopAtPos(0, 120); + case 64: + return jjStopAtPos(0, 115); + case 91: + return jjStopAtPos(0, 110); + case 93: + return jjStopAtPos(0, 111); + case 94: + jjmatchedKind = 136; + return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x20000L); + case 97: + return jjMoveStringLiteralDfa1_0(0x6000000000L, 0x0L, 0x0L); + case 98: + return jjMoveStringLiteralDfa1_0(0x38000000000L, 0x0L, 0x0L); + case 99: + return jjMoveStringLiteralDfa1_0(0xfc0000000000L, 0x0L, 0x0L); + case 100: + return jjMoveStringLiteralDfa1_0(0x7000000000000L, 0x0L, 0x0L); + case 101: + return jjMoveStringLiteralDfa1_0(0x38000000000000L, 0x0L, 0x0L); + case 102: + return jjMoveStringLiteralDfa1_0(0x7c0000000000000L, 0x0L, 0x0L); + case 103: + return jjMoveStringLiteralDfa1_0(0x800000000000000L, 0x0L, 0x0L); + case 105: + return jjMoveStringLiteralDfa1_0(0xf000000000000000L, 0x3L, 0x0L); + case 108: + return jjMoveStringLiteralDfa1_0(0x0L, 0x4L, 0x0L); + case 110: + return jjMoveStringLiteralDfa1_0(0x0L, 0x38L, 0x0L); + case 112: + return jjMoveStringLiteralDfa1_0(0x0L, 0x3c0L, 0x0L); + case 114: + return jjMoveStringLiteralDfa1_0(0x0L, 0x400L, 0x0L); + case 115: + return jjMoveStringLiteralDfa1_0(0x0L, 0x1f800L, 0x0L); + case 116: + return jjMoveStringLiteralDfa1_0(0x0L, 0x7e0000L, 0x0L); + case 118: + return jjMoveStringLiteralDfa1_0(0x0L, 0x1800000L, 0x0L); + case 119: + return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000L, 0x0L); + case 123: + return jjStopAtPos(0, 108); + case 124: + jjmatchedKind = 135; + return jjMoveStringLiteralDfa1_0(0x0L, 0x4000000000000000L, 0x10000L); + case 125: + return jjStopAtPos(0, 109); + case 126: + return jjStopAtPos(0, 119); + case 133: + return jjStopAtPos(0, 6); + case 160: + return jjStopAtPos(0, 7); + case 5760: + return jjStopAtPos(0, 8); + case 6158: + return jjStopAtPos(0, 9); + case 8192: + return jjStopAtPos(0, 10); + case 8193: + return jjStopAtPos(0, 11); + case 8194: + return jjStopAtPos(0, 12); + case 8195: + return jjStopAtPos(0, 13); + case 8196: + return jjStopAtPos(0, 14); + case 8197: + return jjStopAtPos(0, 15); + case 8198: + return jjStopAtPos(0, 16); + case 8199: + return jjStopAtPos(0, 17); + case 8200: + return jjStopAtPos(0, 18); + case 8201: + return jjStopAtPos(0, 19); + case 8202: + return jjStopAtPos(0, 20); + case 8203: + return jjStopAtPos(0, 21); + case 8204: + return jjStopAtPos(0, 22); + case 8205: + return jjStopAtPos(0, 23); + case 8232: + return jjStopAtPos(0, 24); + case 8233: + return jjStopAtPos(0, 25); + case 8239: + return jjStopAtPos(0, 26); + case 8287: + return jjStopAtPos(0, 27); + case 8288: + return jjStopAtPos(0, 28); + case 12288: + return jjStopAtPos(0, 29); + case 65279: + return jjStopAtPos(0, 30); + default : + return jjMoveNfa_0(0, 0); + } +} +private int jjMoveStringLiteralDfa1_0(long active0, long active1, long active2){ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(0, active0, active1, active2); + return 1; + } + switch(curChar) + { + case 38: + if ((active1 & 0x8000000000000000L) != 0L) + return jjStopAtPos(1, 127); + break; + case 42: + if ((active0 & 0x200000000L) != 0L) + return jjStartNfaWithStates_0(1, 33, 50); + break; + case 43: + if ((active2 & 0x1L) != 0L) + return jjStopAtPos(1, 128); + break; + case 45: + if ((active2 & 0x2L) != 0L) + return jjStopAtPos(1, 129); + break; + case 46: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0L, active2, 0x400000L); + case 58: + if ((active2 & 0x1000000L) != 0L) + return jjStopAtPos(1, 152); + break; + case 60: + if ((active2 & 0x400L) != 0L) + { + jjmatchedKind = 138; + jjmatchedPos = 1; + } + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0L, active2, 0x80000L); + case 61: + if ((active1 & 0x400000000000000L) != 0L) + return jjStopAtPos(1, 122); + else if ((active1 & 0x800000000000000L) != 0L) + return jjStopAtPos(1, 123); + else if ((active1 & 0x1000000000000000L) != 0L) + return jjStopAtPos(1, 124); + else if ((active1 & 0x2000000000000000L) != 0L) + return jjStopAtPos(1, 125); + else if ((active2 & 0x800L) != 0L) + return jjStopAtPos(1, 139); + else if ((active2 & 0x1000L) != 0L) + return jjStopAtPos(1, 140); + else if ((active2 & 0x2000L) != 0L) + return jjStopAtPos(1, 141); + else if ((active2 & 0x4000L) != 0L) + return jjStopAtPos(1, 142); + else if ((active2 & 0x8000L) != 0L) + return jjStopAtPos(1, 143); + else if ((active2 & 0x10000L) != 0L) + return jjStopAtPos(1, 144); + else if ((active2 & 0x20000L) != 0L) + return jjStopAtPos(1, 145); + else if ((active2 & 0x40000L) != 0L) + return jjStopAtPos(1, 146); + break; + case 62: + if ((active2 & 0x800000L) != 0L) + return jjStopAtPos(1, 151); + else if ((active2 & 0x4000000L) != 0L) + { + jjmatchedKind = 154; + jjmatchedPos = 1; + } + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0L, active2, 0x2300000L); + case 97: + return jjMoveStringLiteralDfa2_0(active0, 0x400c0000000000L, active1, 0x48L, active2, 0L); + case 98: + return jjMoveStringLiteralDfa2_0(active0, 0x2000000000L, active1, 0L, active2, 0L); + case 101: + return jjMoveStringLiteralDfa2_0(active0, 0x1000000000000L, active1, 0x410L, active2, 0L); + case 102: + if ((active0 & 0x1000000000000000L) != 0L) + return jjStartNfaWithStates_0(1, 60, 43); + break; + case 104: + return jjMoveStringLiteralDfa2_0(active0, 0x100000000000L, active1, 0x20e0800L, active2, 0L); + case 105: + return jjMoveStringLiteralDfa2_0(active0, 0x180000000000000L, active1, 0L, active2, 0L); + case 108: + return jjMoveStringLiteralDfa2_0(active0, 0x208200000000000L, active1, 0L, active2, 0L); + case 109: + return jjMoveStringLiteralDfa2_0(active0, 0x6000000000000000L, active1, 0L, active2, 0L); + case 110: + return jjMoveStringLiteralDfa2_0(active0, 0x8010000000000000L, active1, 0x3L, active2, 0L); + case 111: + if ((active0 & 0x2000000000000L) != 0L) + { + jjmatchedKind = 49; + jjmatchedPos = 1; + } + return jjMoveStringLiteralDfa2_0(active0, 0xc04c08000000000L, active1, 0x1800004L, active2, 0L); + case 114: + return jjMoveStringLiteralDfa2_0(active0, 0x10000000000L, active1, 0x700180L, active2, 0L); + case 115: + return jjMoveStringLiteralDfa2_0(active0, 0x4000000000L, active1, 0L, active2, 0L); + case 116: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x3000L, active2, 0L); + case 117: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x4220L, active2, 0L); + case 119: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x8000L, active2, 0L); + case 120: + return jjMoveStringLiteralDfa2_0(active0, 0x20000000000000L, active1, 0L, active2, 0L); + case 121: + return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L, active1, 0x10000L, active2, 0L); + case 124: + if ((active1 & 0x4000000000000000L) != 0L) + return jjStopAtPos(1, 126); + break; + default : + break; + } + return jjStartNfa_0(0, active0, active1, active2); +} +private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1, long old2, long active2){ + if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L) + return jjStartNfa_0(0, old0, old1, old2); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(1, active0, active1, active2); + return 2; + } + switch(curChar) + { + case 46: + if ((active2 & 0x400000L) != 0L) + return jjStopAtPos(2, 150); + break; + case 61: + if ((active2 & 0x80000L) != 0L) + return jjStopAtPos(2, 147); + else if ((active2 & 0x100000L) != 0L) + return jjStopAtPos(2, 148); + break; + case 62: + if ((active2 & 0x2000000L) != 0L) + { + jjmatchedKind = 153; + jjmatchedPos = 2; + } + return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0L, active2, 0x200000L); + case 97: + return jjMoveStringLiteralDfa3_0(active0, 0x300000000000L, active1, 0x101000L, active2, 0L); + case 98: + return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x200L, active2, 0L); + case 99: + return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x40L, active2, 0L); + case 101: + return jjMoveStringLiteralDfa3_0(active0, 0x10000000000L, active1, 0L, active2, 0L); + case 102: + return jjMoveStringLiteralDfa3_0(active0, 0x1000000000000L, active1, 0L, active2, 0L); + case 105: + return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x2828080L, active2, 0L); + case 108: + return jjMoveStringLiteralDfa3_0(active0, 0x40000000000000L, active1, 0x1000020L, active2, 0L); + case 110: + return jjMoveStringLiteralDfa3_0(active0, 0x180c00000000000L, active1, 0x10004L, active2, 0L); + case 111: + return jjMoveStringLiteralDfa3_0(active0, 0x200008000000000L, active1, 0x900L, active2, 0L); + case 112: + return jjMoveStringLiteralDfa3_0(active0, 0x6000000000000000L, active1, 0x4000L, active2, 0L); + case 114: + if ((active0 & 0x400000000000000L) != 0L) + return jjStartNfaWithStates_0(2, 58, 43); + return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0xc2000L, active2, 0L); + case 115: + return jjMoveStringLiteralDfa3_0(active0, 0x8008046000000000L, active1, 0L, active2, 0L); + case 116: + if ((active1 & 0x1L) != 0L) + { + jjmatchedKind = 64; + jjmatchedPos = 2; + } + return jjMoveStringLiteralDfa3_0(active0, 0x8200a0000000000L, active1, 0x40aL, active2, 0L); + case 117: + return jjMoveStringLiteralDfa3_0(active0, 0x14000000000000L, active1, 0x200000L, active2, 0L); + case 119: + if ((active1 & 0x10L) != 0L) + return jjStartNfaWithStates_0(2, 68, 43); + break; + case 121: + if ((active1 & 0x400000L) != 0L) + return jjStartNfaWithStates_0(2, 86, 43); + break; + default : + break; + } + return jjStartNfa_0(1, active0, active1, active2); +} +private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1, long old2, long active2){ + if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L) + return jjStartNfa_0(1, old0, old1, old2); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(2, active0, active1, active2); + return 3; + } + switch(curChar) + { + case 61: + if ((active2 & 0x200000L) != 0L) + return jjStopAtPos(3, 149); + break; + case 97: + return jjMoveStringLiteralDfa4_0(active0, 0x381010000000000L, active1, 0x1000000L, active2, 0L); + case 98: + return jjMoveStringLiteralDfa4_0(active0, 0x4000000000000L, active1, 0L, active2, 0L); + case 99: + return jjMoveStringLiteralDfa4_0(active0, 0x80000000000L, active1, 0x10000L, active2, 0L); + case 100: + if ((active1 & 0x800000L) != 0L) + return jjStartNfaWithStates_0(3, 87, 43); + break; + case 101: + if ((active0 & 0x20000000000L) != 0L) + return jjStartNfaWithStates_0(3, 41, 43); + else if ((active0 & 0x40000000000L) != 0L) + return jjStartNfaWithStates_0(3, 42, 43); + else if ((active0 & 0x8000000000000L) != 0L) + return jjStartNfaWithStates_0(3, 51, 43); + else if ((active1 & 0x200000L) != 0L) + return jjStartNfaWithStates_0(3, 85, 43); + return jjMoveStringLiteralDfa4_0(active0, 0x20004000000000L, active1, 0x4002L, active2, 0L); + case 103: + if ((active1 & 0x4L) != 0L) + return jjStartNfaWithStates_0(3, 66, 43); + break; + case 105: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x2008L, active2, 0L); + case 107: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x40L, active2, 0L); + case 108: + if ((active1 & 0x20L) != 0L) + return jjStartNfaWithStates_0(3, 69, 43); + return jjMoveStringLiteralDfa4_0(active0, 0x2000008000000000L, active1, 0x2000200L, active2, 0L); + case 109: + if ((active0 & 0x10000000000000L) != 0L) + return jjStartNfaWithStates_0(3, 52, 43); + break; + case 110: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x100000L, active2, 0L); + case 111: + if ((active0 & 0x800000000000000L) != 0L) + return jjStartNfaWithStates_0(3, 59, 43); + return jjMoveStringLiteralDfa4_0(active0, 0x4000000000000000L, active1, 0xc0000L, active2, 0L); + case 114: + if ((active0 & 0x100000000000L) != 0L) + return jjStartNfaWithStates_0(3, 44, 43); + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x800L, active2, 0L); + case 115: + if ((active1 & 0x20000L) != 0L) + return jjStartNfaWithStates_0(3, 81, 43); + return jjMoveStringLiteralDfa4_0(active0, 0x40600000000000L, active1, 0L, active2, 0L); + case 116: + return jjMoveStringLiteralDfa4_0(active0, 0x8000802000000000L, active1, 0x9100L, active2, 0L); + case 117: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x400L, active2, 0L); + case 118: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x80L, active2, 0L); + default : + break; + } + return jjStartNfa_0(2, active0, active1, active2); +} +private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1, long old2, long active2){ + if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L) + return jjStartNfa_0(2, old0, old1, old2); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(3, active0, active1, 0L); + return 4; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000000L, active1, 0xc0L); + case 99: + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0xa000L); + case 101: + if ((active0 & 0x40000000000000L) != 0L) + return jjStartNfaWithStates_0(4, 54, 43); + else if ((active1 & 0x2000000L) != 0L) + return jjStartNfaWithStates_0(4, 89, 43); + return jjMoveStringLiteralDfa5_0(active0, 0x2000008000000000L, active1, 0x100L); + case 104: + if ((active0 & 0x80000000000L) != 0L) + return jjStartNfaWithStates_0(4, 43, 43); + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x10000L); + case 105: + return jjMoveStringLiteralDfa5_0(active0, 0x800000000000L, active1, 0x1200L); + case 107: + if ((active0 & 0x10000000000L) != 0L) + return jjStartNfaWithStates_0(4, 40, 43); + break; + case 108: + if ((active0 & 0x80000000000000L) != 0L) + { + jjmatchedKind = 55; + jjmatchedPos = 4; + } + return jjMoveStringLiteralDfa5_0(active0, 0x104000000000000L, active1, 0L); + case 110: + return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L, active1, 0L); + case 114: + if ((active1 & 0x4000L) != 0L) + return jjStartNfaWithStates_0(4, 78, 43); + return jjMoveStringLiteralDfa5_0(active0, 0x4000006000000000L, active1, 0x402L); + case 115: + if ((active0 & 0x200000000000L) != 0L) + return jjStartNfaWithStates_0(4, 45, 43); + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x100000L); + case 116: + if ((active0 & 0x400000000000L) != 0L) + return jjStartNfaWithStates_0(4, 46, 43); + else if ((active0 & 0x200000000000000L) != 0L) + return jjStartNfaWithStates_0(4, 57, 43); + else if ((active1 & 0x800L) != 0L) + return jjStartNfaWithStates_0(4, 75, 43); + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x1000000L); + case 117: + return jjMoveStringLiteralDfa5_0(active0, 0x1000000000000L, active1, 0L); + case 118: + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x8L); + case 119: + if ((active1 & 0x40000L) != 0L) + { + jjmatchedKind = 82; + jjmatchedPos = 4; + } + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x80000L); + default : + break; + } + return jjStartNfa_0(3, active0, active1, 0L); +} +private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1){ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(3, old0, old1, 0L); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(4, active0, active1, 0L); + return 5; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa6_0(active0, 0xa000000000L, active1, 0L); + case 99: + if ((active1 & 0x200L) != 0L) + return jjStartNfaWithStates_0(5, 73, 43); + else if ((active1 & 0x1000L) != 0L) + return jjStartNfaWithStates_0(5, 76, 43); + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x100L); + case 100: + return jjMoveStringLiteralDfa6_0(active0, 0x20000000000000L, active1, 0L); + case 101: + if ((active0 & 0x4000000000000L) != 0L) + return jjStartNfaWithStates_0(5, 50, 43); + else if ((active1 & 0x8L) != 0L) + return jjStartNfaWithStates_0(5, 67, 43); + break; + case 102: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x2L); + case 103: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x40L); + case 104: + if ((active1 & 0x8000L) != 0L) + return jjStartNfaWithStates_0(5, 79, 43); + break; + case 105: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x1100000L); + case 108: + return jjMoveStringLiteralDfa6_0(active0, 0x101000000000000L, active1, 0L); + case 109: + return jjMoveStringLiteralDfa6_0(active0, 0x2000000000000000L, active1, 0L); + case 110: + if ((active1 & 0x400L) != 0L) + return jjStartNfaWithStates_0(5, 74, 43); + return jjMoveStringLiteralDfa6_0(active0, 0x8000800000000000L, active1, 0L); + case 114: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x10000L); + case 115: + if ((active1 & 0x80000L) != 0L) + return jjStartNfaWithStates_0(5, 83, 43); + break; + case 116: + if ((active0 & 0x4000000000L) != 0L) + return jjStartNfaWithStates_0(5, 38, 43); + else if ((active0 & 0x4000000000000000L) != 0L) + return jjStartNfaWithStates_0(5, 62, 43); + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x2080L); + default : + break; + } + return jjStartNfa_0(4, active0, active1, 0L); +} +private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1){ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(4, old0, old1, 0L); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(5, active0, active1, 0L); + return 6; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x2L); + case 99: + return jjMoveStringLiteralDfa7_0(active0, 0x8000002000000000L, active1, 0L); + case 101: + if ((active1 & 0x40L) != 0L) + return jjStartNfaWithStates_0(6, 70, 43); + else if ((active1 & 0x80L) != 0L) + return jjStartNfaWithStates_0(6, 71, 43); + return jjMoveStringLiteralDfa7_0(active0, 0x2000000000000000L, active1, 0x100000L); + case 102: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x2000L); + case 108: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x1000000L); + case 110: + if ((active0 & 0x8000000000L) != 0L) + return jjStartNfaWithStates_0(6, 39, 43); + break; + case 111: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x10000L); + case 115: + if ((active0 & 0x20000000000000L) != 0L) + return jjStartNfaWithStates_0(6, 53, 43); + break; + case 116: + if ((active0 & 0x1000000000000L) != 0L) + return jjStartNfaWithStates_0(6, 48, 43); + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x100L); + case 117: + return jjMoveStringLiteralDfa7_0(active0, 0x800000000000L, active1, 0L); + case 121: + if ((active0 & 0x100000000000000L) != 0L) + return jjStartNfaWithStates_0(6, 56, 43); + break; + default : + break; + } + return jjStartNfa_0(5, active0, active1, 0L); +} +private int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1){ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(5, old0, old1, 0L); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(6, active0, active1, 0L); + return 7; + } + switch(curChar) + { + case 99: + return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x2L); + case 101: + if ((active0 & 0x800000000000L) != 0L) + return jjStartNfaWithStates_0(7, 47, 43); + else if ((active1 & 0x1000000L) != 0L) + return jjStartNfaWithStates_0(7, 88, 43); + return jjMoveStringLiteralDfa8_0(active0, 0x8000000000000000L, active1, 0x100L); + case 110: + return jjMoveStringLiteralDfa8_0(active0, 0x2000000000000000L, active1, 0x110000L); + case 112: + if ((active1 & 0x2000L) != 0L) + return jjStartNfaWithStates_0(7, 77, 43); + break; + case 116: + if ((active0 & 0x2000000000L) != 0L) + return jjStartNfaWithStates_0(7, 37, 43); + break; + default : + break; + } + return jjStartNfa_0(6, active0, active1, 0L); +} +private int jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, long active1){ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(6, old0, old1, 0L); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(7, active0, active1, 0L); + return 8; + } + switch(curChar) + { + case 100: + if ((active1 & 0x100L) != 0L) + return jjStartNfaWithStates_0(8, 72, 43); + break; + case 101: + if ((active1 & 0x2L) != 0L) + return jjStartNfaWithStates_0(8, 65, 43); + break; + case 105: + return jjMoveStringLiteralDfa9_0(active0, 0L, active1, 0x10000L); + case 111: + return jjMoveStringLiteralDfa9_0(active0, 0x8000000000000000L, active1, 0L); + case 116: + if ((active1 & 0x100000L) != 0L) + return jjStartNfaWithStates_0(8, 84, 43); + return jjMoveStringLiteralDfa9_0(active0, 0x2000000000000000L, active1, 0L); + default : + break; + } + return jjStartNfa_0(7, active0, active1, 0L); +} +private int jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, long active1){ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(7, old0, old1, 0L); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(8, active0, active1, 0L); + return 9; + } + switch(curChar) + { + case 102: + if ((active0 & 0x8000000000000000L) != 0L) + return jjStartNfaWithStates_0(9, 63, 43); + break; + case 115: + if ((active0 & 0x2000000000000000L) != 0L) + return jjStartNfaWithStates_0(9, 61, 43); + break; + case 122: + return jjMoveStringLiteralDfa10_0(active0, 0L, active1, 0x10000L); + default : + break; + } + return jjStartNfa_0(8, active0, active1, 0L); +} +private int jjMoveStringLiteralDfa10_0(long old0, long active0, long old1, long active1){ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(8, old0, old1, 0L); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(9, 0L, active1, 0L); + return 10; + } + switch(curChar) + { + case 101: + return jjMoveStringLiteralDfa11_0(active1, 0x10000L); + default : + break; + } + return jjStartNfa_0(9, 0L, active1, 0L); +} +private int jjMoveStringLiteralDfa11_0(long old1, long active1){ + if (((active1 &= old1)) == 0L) + return jjStartNfa_0(9, 0L, old1, 0L); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(10, 0L, active1, 0L); + return 11; + } + switch(curChar) + { + case 100: + if ((active1 & 0x10000L) != 0L) + return jjStartNfaWithStates_0(11, 80, 43); + break; + default : + break; + } + return jjStartNfa_0(10, 0L, active1, 0L); +} +private int jjStartNfaWithStates_0(int pos, int kind, int state) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return pos + 1; } + return jjMoveNfa_0(state, pos + 1); +} +static final long[] jjbitVec0 = { + 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL +}; +static final long[] jjbitVec2 = { + 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL +}; +static final long[] jjbitVec3 = { + 0xfff0000000200002L, 0xffffffffffffdfffL, 0xfffff00f7fffffffL, 0x12000000007fffffL +}; +static final long[] jjbitVec4 = { + 0x0L, 0x0L, 0x420043c00000000L, 0xff7fffffff7fffffL +}; +static final long[] jjbitVec5 = { + 0x7fffffffffffffL, 0xffffffffffff0000L, 0xffffffffffffffffL, 0x401f0003ffc3L +}; +static final long[] jjbitVec6 = { + 0x0L, 0x400000000000000L, 0xfffffffbffffd740L, 0xfbfffffffff7fffL +}; +static final long[] jjbitVec7 = { + 0xffffffffffffffffL, 0xffffffffffffffffL, 0xfffffffffffffc03L, 0x33fffffffff7fffL +}; +static final long[] jjbitVec8 = { + 0xfffe00000000ffffL, 0xfffffffe027fffffL, 0xffL, 0x707ffffff0000L +}; +static final long[] jjbitVec9 = { + 0x7fffffe00000000L, 0xfffec000000007ffL, 0xffffffffffffffffL, 0x9c00c060002fffffL +}; +static final long[] jjbitVec10 = { + 0xfffffffd0000L, 0xe000L, 0x2003fffffffffL, 0x0L +}; +static final long[] jjbitVec11 = { + 0x23fffffffffffff0L, 0x3ff010000L, 0x23c5fdfffff99fe0L, 0xf0003b0000000L +}; +static final long[] jjbitVec12 = { + 0x36dfdfffff987e0L, 0x1c00005e000000L, 0x23edfdfffffbbfe0L, 0x2000300010000L +}; +static final long[] jjbitVec13 = { + 0x23edfdfffff99fe0L, 0x20003b0000000L, 0x3bfc718d63dc7e8L, 0x200000000000000L +}; +static final long[] jjbitVec14 = { + 0x3effdfffffddfe0L, 0x300000000L, 0x23effdfffffddfe0L, 0x340000000L +}; +static final long[] jjbitVec15 = { + 0x3fffdfffffddfe0L, 0x300000000L, 0x2ffbfffffc7fffe0L, 0x7fL +}; +static final long[] jjbitVec16 = { + 0x800dfffffffffffeL, 0x7fL, 0x200decaefef02596L, 0x3000005fL +}; +static final long[] jjbitVec17 = { + 0x1L, 0x7fffffffeffL, 0xf00L, 0x0L +}; +static final long[] jjbitVec18 = { + 0x6fbffffffffL, 0x3f0000L, 0xffffffff00000000L, 0x1ffffffffff003fL +}; +static final long[] jjbitVec19 = { + 0xffffffffffffffffL, 0xffffffff83ffffffL, 0xffffff07ffffffffL, 0x3ffffffffffffffL +}; +static final long[] jjbitVec20 = { + 0xffffffffffffff7fL, 0xffffffff3d7f3d7fL, 0x7f3d7fffffff3d7fL, 0xffff7fffff7f7f3dL +}; +static final long[] jjbitVec21 = { + 0xffffffff7f3d7fffL, 0x7ffff7fL, 0xffffffff00000000L, 0x1fffffffffffffL +}; +static final long[] jjbitVec22 = { + 0xffffffffffffffffL, 0x7f9fffffffffffL, 0xffffffff07fffffeL, 0x1c7ffffffffffL +}; +static final long[] jjbitVec23 = { + 0x3ffff0003dfffL, 0x1dfff0003ffffL, 0xfffffffffffffL, 0x18800000L +}; +static final long[] jjbitVec24 = { + 0xffffffff00000000L, 0xffffffffffffffL, 0x1ffffffffffL, 0x0L +}; +static final long[] jjbitVec25 = { + 0x1fffffffL, 0x1f3fffffff0000L, 0x0L, 0x0L +}; +static final long[] jjbitVec26 = { + 0xffffffffffffffffL, 0xfffffffffffL, 0x0L, 0x0L +}; +static final long[] jjbitVec27 = { + 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffff0fffffffL, 0x3ffffffffffffffL +}; +static final long[] jjbitVec28 = { + 0xffffffff3f3fffffL, 0x3fffffffaaff3f3fL, 0x5fdfffffffffffffL, 0x1fdc1fff0fcf1fdcL +}; +static final long[] jjbitVec29 = { + 0x8000000000000000L, 0x8002000000100001L, 0x3ffff00000000L, 0x0L +}; +static final long[] jjbitVec30 = { + 0xe3fbbd503e2ffc84L, 0xffffffff000003e0L, 0xfL, 0x0L +}; +static final long[] jjbitVec31 = { + 0x1f3e03fe000000e0L, 0xfffffffffffffffeL, 0xfffffffee07fffffL, 0xffffffffffffffffL +}; +static final long[] jjbitVec32 = { + 0xfffe1fffffffffe0L, 0xffffffffffffffffL, 0xffffff00007fffL, 0xffff000000000000L +}; +static final long[] jjbitVec33 = { + 0xffffffffffffffffL, 0xffffffffffffffffL, 0x3fffffffffffffL, 0x0L +}; +static final long[] jjbitVec34 = { + 0xffffffffffffffffL, 0xffffffffffffffffL, 0x3fffffffffL, 0x0L +}; +static final long[] jjbitVec35 = { + 0xffffffffffffffffL, 0xffffffffffffffffL, 0x1fffL, 0x0L +}; +static final long[] jjbitVec36 = { + 0xffffffffffffffffL, 0xffffffffffffffffL, 0xfffffffffL, 0x0L +}; +static final long[] jjbitVec37 = { + 0x6L, 0x0L, 0x0L, 0x0L +}; +static final long[] jjbitVec38 = { + 0xffff3fffffffffffL, 0x7ffffffffffL, 0x0L, 0x0L +}; +static final long[] jjbitVec39 = { + 0x5f7ffdffa0f8007fL, 0xffffffffffffffdbL, 0x3ffffffffffffL, 0xfffffffffff80000L +}; +static final long[] jjbitVec40 = { + 0x3fffffffffffffffL, 0xffffffffffff0000L, 0xfffffffffffcffffL, 0x1fff0000000000ffL +}; +static final long[] jjbitVec41 = { + 0x18000000000000L, 0xffdf02000000e000L, 0xffffffffffffffffL, 0x1fffffffffffffffL +}; +static final long[] jjbitVec42 = { + 0x87fffffe00000010L, 0xffffffe007fffffeL, 0x7fffffffffffffffL, 0x631cfcfcfcL +}; +static final long[] jjbitVec43 = { + 0x0L, 0x0L, 0x420243cffffffffL, 0xff7fffffff7fffffL +}; +static final long[] jjbitVec44 = { + 0xffffffffffffffffL, 0x400ffffe0ffffffL, 0xfffffffbffffd740L, 0xfbfffffffff7fffL +}; +static final long[] jjbitVec45 = { + 0xffffffffffffffffL, 0xffffffffffffffffL, 0xfffffffffffffc7bL, 0x33fffffffff7fffL +}; +static final long[] jjbitVec46 = { + 0xfffe00000000ffffL, 0xfffffffe027fffffL, 0xbbfffffbfffe00ffL, 0x707ffffff0016L +}; +static final long[] jjbitVec47 = { + 0x7fffffe003f000fL, 0xffffc3ff01ffffffL, 0xffffffffffffffffL, 0x9ffffdffbfefffffL +}; +static final long[] jjbitVec48 = { + 0xffffffffffff8000L, 0xe7ffL, 0x3ffffffffffffL, 0x0L +}; +static final long[] jjbitVec49 = { + 0xf3fffffffffffffeL, 0xffcfff1f3fffL, 0xf3c5fdfffff99feeL, 0xfffcfb080399fL +}; +static final long[] jjbitVec50 = { + 0xd36dfdfffff987eeL, 0x1fffc05e003987L, 0xf3edfdfffffbbfeeL, 0x2ffcf00013bbfL +}; +static final long[] jjbitVec51 = { + 0xf3edfdfffff99feeL, 0x2ffc3b0c0398fL, 0xc3bfc718d63dc7ecL, 0x200ff8000803dc7L +}; +static final long[] jjbitVec52 = { + 0xc3effdfffffddfeeL, 0xffc300603ddfL, 0xf3effdfffffddfecL, 0xffc340603ddfL +}; +static final long[] jjbitVec53 = { + 0xc3fffdfffffddfecL, 0xffc300803dcfL, 0x2ffbfffffc7fffecL, 0xc0000ff5f847fL +}; +static final long[] jjbitVec54 = { + 0x87fffffffffffffeL, 0x3ff7fffL, 0x3bffecaefef02596L, 0x33ff3f5fL +}; +static final long[] jjbitVec55 = { + 0xc2a003ff03000001L, 0xfffe07fffffffeffL, 0x1ffffffffeff0fdfL, 0x40L +}; +static final long[] jjbitVec56 = { + 0x3c7f6fbffffffffL, 0x3ff03ffL, 0xffffffff00000000L, 0x1ffffffffff003fL +}; +static final long[] jjbitVec57 = { + 0xffffffff7f3d7fffL, 0x3fe0007ffff7fL, 0xffffffff00000000L, 0x1fffffffffffffL +}; +static final long[] jjbitVec58 = { + 0x1fffff001fdfffL, 0xddfff000fffffL, 0xffffffffffffffffL, 0x3ff388fffffL +}; +static final long[] jjbitVec59 = { + 0xffffffff03ff3800L, 0xffffffffffffffL, 0x3ffffffffffL, 0x0L +}; +static final long[] jjbitVec60 = { + 0xfff0fff1fffffffL, 0x1f3fffffffffc0L, 0x0L, 0x0L +}; +static final long[] jjbitVec61 = { + 0x80007c000000f000L, 0x8002fc0f00100001L, 0x3ffff00000000L, 0x7e21fff0000L +}; +static final long[] jjbitVec62 = { + 0x1f3efffe000000e0L, 0xfffffffffffffffeL, 0xfffffffee67fffffL, 0xffffffffffffffffL +}; +static final long[] jjbitVec63 = { + 0x10000000000006L, 0x0L, 0x0L, 0x0L +}; +static final long[] jjbitVec64 = { + 0x3L, 0x0L, 0x0L, 0x0L +}; +static final long[] jjbitVec65 = { + 0x0L, 0x800000000000000L, 0x0L, 0x0L +}; +static final long[] jjbitVec66 = { + 0x5f7ffdffe0f8007fL, 0xffffffffffffffdbL, 0x3ffffffffffffL, 0xfffffffffff80000L +}; +static final long[] jjbitVec67 = { + 0x18000f0000ffffL, 0xffdf02000000e000L, 0xffffffffffffffffL, 0x9fffffffffffffffL +}; +static final long[] jjbitVec68 = { + 0x87fffffe03ff0010L, 0xffffffe007fffffeL, 0x7fffffffffffffffL, 0xe0000631cfcfcfcL +}; +private int jjMoveNfa_0(int startState, int curPos) +{ + int startsAt = 0; + jjnewStateCnt = 130; + int i = 1; + jjstateSet[0] = startState; + int kind = 0x7fffffff; + for (;;) + { + if (++jjround == 0x7fffffff) + ReInitRounds(); + if (curChar < 64) + { + long l = 1L << curChar; + do + { + switch(jjstateSet[--i]) + { + case 45: + if (curChar == 42) + jjstateSet[jjnewStateCnt++] = 50; + else if (curChar == 47) + { + if (kind > 31) + kind = 31; + { jjCheckNAddStates(0, 2); } + } + break; + case 0: + if ((0x3ff000000000000L & l) != 0L) + { + if (kind > 91) + kind = 91; + { jjCheckNAddStates(3, 17); } + } + else if (curChar == 47) + { jjAddStates(18, 19); } + else if (curChar == 36) + { + if (kind > 103) + kind = 103; + { jjCheckNAdd(43); } + } + else if (curChar == 34) + { jjCheckNAddStates(20, 23); } + else if (curChar == 39) + { jjAddStates(24, 26); } + else if (curChar == 46) + { jjCheckNAdd(1); } + if (curChar == 48) + { jjAddStates(27, 34); } + break; + case 1: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(35, 38); } + break; + case 2: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(2, 3); } + break; + case 3: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(39, 41); } + break; + case 5: + if ((0x280000000000L & l) != 0L) + { jjCheckNAdd(6); } + break; + case 6: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(42, 44); } + break; + case 7: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(7, 8); } + break; + case 8: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddTwoStates(6, 9); } + break; + case 10: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(45, 48); } + break; + case 11: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(49, 53); } + break; + case 12: + if (curChar == 39) + { jjAddStates(24, 26); } + break; + case 13: + if ((0xffffff7fffffdbffL & l) != 0L) + { jjCheckNAdd(14); } + break; + case 14: + if (curChar == 39 && kind > 101) + kind = 101; + break; + case 16: + if ((0x8400000000L & l) != 0L) + { jjCheckNAdd(14); } + break; + case 17: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(18, 14); } + break; + case 18: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAdd(14); } + break; + case 19: + if ((0xf000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 20; + break; + case 20: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAdd(18); } + break; + case 22: + if ((0x3ff000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 23; + break; + case 23: + if ((0x3ff000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 24; + break; + case 24: + if ((0x3ff000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 25; + break; + case 25: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAdd(14); } + break; + case 27: + if (curChar == 34) + { jjCheckNAddStates(20, 23); } + break; + case 28: + if ((0xfffffffbffffdbffL & l) != 0L) + { jjCheckNAddStates(20, 23); } + break; + case 30: + if ((0x8400000000L & l) != 0L) + { jjCheckNAddStates(20, 23); } + break; + case 32: + if ((0x3ff000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 33; + break; + case 33: + if ((0x3ff000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 34; + break; + case 34: + if ((0x3ff000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 35; + break; + case 35: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(20, 23); } + break; + case 37: + if (curChar == 34 && kind > 102) + kind = 102; + break; + case 38: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAddStates(54, 58); } + break; + case 39: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAddStates(20, 23); } + break; + case 40: + if ((0xf000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 41; + break; + case 41: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAdd(39); } + break; + case 42: + if (curChar != 36) + break; + if (kind > 103) + kind = 103; + { jjCheckNAdd(43); } + break; + case 43: + if ((0x3ff00100fffc1ffL & l) == 0L) + break; + if (kind > 103) + kind = 103; + { jjCheckNAdd(43); } + break; + case 44: + if (curChar == 47) + { jjAddStates(18, 19); } + break; + case 46: + if ((0xffffffffffffdbffL & l) == 0L) + break; + if (kind > 31) + kind = 31; + { jjCheckNAddStates(0, 2); } + break; + case 47: + if ((0x2400L & l) != 0L && kind > 31) + kind = 31; + break; + case 48: + if (curChar == 10 && kind > 31) + kind = 31; + break; + case 49: + if (curChar == 13) + jjstateSet[jjnewStateCnt++] = 48; + break; + case 50: + if (curChar == 42) + jjstateSet[jjnewStateCnt++] = 51; + break; + case 51: + if ((0xffff7fffffffffffL & l) != 0L && kind > 32) + kind = 32; + break; + case 52: + if (curChar == 42) + jjstateSet[jjnewStateCnt++] = 50; + break; + case 53: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 91) + kind = 91; + { jjCheckNAddStates(3, 17); } + break; + case 54: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(54, 55); } + break; + case 55: + case 98: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAdd(56); } + break; + case 57: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(57, 58); } + break; + case 58: + case 109: + if ((0x3ff000000000000L & l) != 0L && kind > 91) + kind = 91; + break; + case 59: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(59, 60); } + break; + case 60: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(59, 61); } + break; + case 61: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(62, 65); } + break; + case 63: + if ((0x280000000000L & l) != 0L) + { jjCheckNAdd(64); } + break; + case 64: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(66, 68); } + break; + case 65: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(65, 66); } + break; + case 66: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(64, 9); } + break; + case 67: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(69, 72); } + break; + case 68: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(73, 77); } + break; + case 69: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(69, 70); } + break; + case 70: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(71, 72); } + break; + case 71: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(78, 80); } + break; + case 73: + if ((0x280000000000L & l) != 0L) + { jjCheckNAdd(74); } + break; + case 74: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(81, 83); } + break; + case 75: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(75, 76); } + break; + case 76: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddTwoStates(74, 9); } + break; + case 77: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(84, 87); } + break; + case 78: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(88, 91); } + break; + case 79: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(79, 80); } + break; + case 80: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(81, 82); } + break; + case 81: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(92, 94); } + break; + case 82: + if (curChar != 46) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(95, 97); } + break; + case 83: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(98, 101); } + break; + case 84: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(84, 85); } + break; + case 85: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(95, 97); } + break; + case 87: + if ((0x280000000000L & l) != 0L) + { jjCheckNAdd(88); } + break; + case 88: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(102, 104); } + break; + case 89: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(89, 90); } + break; + case 90: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddTwoStates(88, 9); } + break; + case 91: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(105, 108); } + break; + case 92: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddStates(109, 113); } + break; + case 93: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(114, 117); } + break; + case 94: + if (curChar == 48) + { jjAddStates(27, 34); } + break; + case 96: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(118, 120); } + break; + case 97: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(97, 98); } + break; + case 99: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAddStates(121, 123); } + break; + case 100: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(100, 101); } + break; + case 101: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAdd(56); } + break; + case 103: + if ((0x3000000000000L & l) != 0L) + { jjCheckNAddStates(124, 126); } + break; + case 104: + if ((0x3000000000000L & l) != 0L) + { jjCheckNAddTwoStates(104, 105); } + break; + case 105: + if ((0x3000000000000L & l) != 0L) + { jjCheckNAdd(56); } + break; + case 107: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 91) + kind = 91; + { jjCheckNAddTwoStates(108, 109); } + break; + case 108: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(108, 109); } + break; + case 110: + if ((0xff000000000000L & l) == 0L) + break; + if (kind > 91) + kind = 91; + { jjCheckNAddTwoStates(111, 112); } + break; + case 111: + if ((0xff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(111, 112); } + break; + case 112: + if ((0xff000000000000L & l) != 0L && kind > 91) + kind = 91; + break; + case 114: + if ((0x3000000000000L & l) == 0L) + break; + if (kind > 91) + kind = 91; + { jjCheckNAddTwoStates(115, 116); } + break; + case 115: + if ((0x3000000000000L & l) != 0L) + { jjCheckNAddTwoStates(115, 116); } + break; + case 116: + if ((0x3000000000000L & l) != 0L && kind > 91) + kind = 91; + break; + case 118: + if ((0x3ff000000000000L & l) != 0L) + { jjAddStates(127, 128); } + break; + case 119: + if (curChar == 46) + { jjCheckNAdd(120); } + break; + case 120: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddTwoStates(120, 121); } + break; + case 122: + if ((0x280000000000L & l) != 0L) + { jjCheckNAdd(123); } + break; + case 123: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddTwoStates(123, 9); } + break; + case 125: + if ((0x3ff000000000000L & l) != 0L) + { jjCheckNAddStates(129, 131); } + break; + case 126: + if (curChar == 46) + { jjCheckNAdd(127); } + break; + case 128: + if ((0x280000000000L & l) != 0L) + { jjCheckNAdd(129); } + break; + case 129: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 96) + kind = 96; + { jjCheckNAddTwoStates(129, 9); } + break; + default : break; + } + } while(i != startsAt); + } + else if (curChar < 128) + { + long l = 1L << (curChar & 077); + do + { + switch(jjstateSet[--i]) + { + case 0: + if ((0x7fffffe87fffffeL & l) == 0L) + break; + if (kind > 103) + kind = 103; + { jjCheckNAdd(43); } + break; + case 2: + if (curChar == 95) + { jjAddStates(132, 133); } + break; + case 4: + if ((0x2000000020L & l) != 0L) + { jjAddStates(134, 135); } + break; + case 7: + if (curChar == 95) + { jjAddStates(136, 137); } + break; + case 9: + if ((0x5000000050L & l) != 0L && kind > 96) + kind = 96; + break; + case 13: + if ((0xffffffffefffffffL & l) != 0L) + { jjCheckNAdd(14); } + break; + case 15: + if (curChar == 92) + { jjAddStates(138, 140); } + break; + case 16: + if ((0x14404410000000L & l) != 0L) + { jjCheckNAdd(14); } + break; + case 21: + if (curChar == 117) + jjstateSet[jjnewStateCnt++] = 22; + break; + case 22: + if ((0x7e0000007eL & l) != 0L) + jjstateSet[jjnewStateCnt++] = 23; + break; + case 23: + if ((0x7e0000007eL & l) != 0L) + jjstateSet[jjnewStateCnt++] = 24; + break; + case 24: + if ((0x7e0000007eL & l) != 0L) + jjstateSet[jjnewStateCnt++] = 25; + break; + case 25: + if ((0x7e0000007eL & l) != 0L) + { jjCheckNAdd(14); } + break; + case 26: + if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 21; + break; + case 28: + if ((0xffffffffefffffffL & l) != 0L) + { jjCheckNAddStates(20, 23); } + break; + case 29: + if (curChar == 92) + { jjAddStates(141, 143); } + break; + case 30: + if ((0x14404410000000L & l) != 0L) + { jjCheckNAddStates(20, 23); } + break; + case 31: + if (curChar == 117) + jjstateSet[jjnewStateCnt++] = 32; + break; + case 32: + if ((0x7e0000007eL & l) != 0L) + jjstateSet[jjnewStateCnt++] = 33; + break; + case 33: + if ((0x7e0000007eL & l) != 0L) + jjstateSet[jjnewStateCnt++] = 34; + break; + case 34: + if ((0x7e0000007eL & l) != 0L) + jjstateSet[jjnewStateCnt++] = 35; + break; + case 35: + if ((0x7e0000007eL & l) != 0L) + { jjCheckNAddStates(20, 23); } + break; + case 36: + if (curChar == 92) + jjstateSet[jjnewStateCnt++] = 31; + break; + case 43: + if ((0x87fffffe87fffffeL & l) == 0L) + break; + if (kind > 103) + kind = 103; + { jjCheckNAdd(43); } + break; + case 46: + if (kind > 31) + kind = 31; + { jjAddStates(0, 2); } + break; + case 51: + if (kind > 32) + kind = 32; + break; + case 54: + if (curChar == 95) + { jjAddStates(144, 145); } + break; + case 56: + if ((0x100000001000L & l) != 0L && kind > 90) + kind = 90; + break; + case 57: + if (curChar == 95) + { jjAddStates(146, 147); } + break; + case 59: + if (curChar == 95) + { jjAddStates(148, 149); } + break; + case 62: + if ((0x2000000020L & l) != 0L) + { jjAddStates(150, 151); } + break; + case 65: + if (curChar == 95) + { jjAddStates(152, 153); } + break; + case 69: + if (curChar == 95) + { jjAddStates(154, 155); } + break; + case 72: + if ((0x2000000020L & l) != 0L) + { jjAddStates(156, 157); } + break; + case 75: + if (curChar == 95) + { jjAddStates(158, 159); } + break; + case 79: + if (curChar == 95) + { jjAddStates(160, 161); } + break; + case 84: + if (curChar == 95) + { jjAddStates(162, 163); } + break; + case 86: + if ((0x2000000020L & l) != 0L) + { jjAddStates(164, 165); } + break; + case 89: + if (curChar == 95) + { jjAddStates(166, 167); } + break; + case 95: + if ((0x100000001000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 96; + break; + case 96: + if ((0x7e0000007eL & l) != 0L) + { jjCheckNAddStates(118, 120); } + break; + case 97: + if ((0x7e8000007eL & l) != 0L) + { jjCheckNAddTwoStates(97, 98); } + break; + case 98: + if ((0x7e0000007eL & l) != 0L) + { jjCheckNAdd(56); } + break; + case 100: + if (curChar == 95) + { jjAddStates(168, 169); } + break; + case 102: + if ((0x400000004L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 103; + break; + case 104: + if (curChar == 95) + { jjAddStates(170, 171); } + break; + case 106: + if ((0x100000001000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 107; + break; + case 107: + if ((0x7e0000007eL & l) == 0L) + break; + if (kind > 91) + kind = 91; + { jjCheckNAddTwoStates(108, 109); } + break; + case 108: + if ((0x7e8000007eL & l) != 0L) + { jjCheckNAddTwoStates(108, 109); } + break; + case 109: + if ((0x7e0000007eL & l) != 0L && kind > 91) + kind = 91; + break; + case 111: + if (curChar == 95) + { jjAddStates(172, 173); } + break; + case 113: + if ((0x400000004L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 114; + break; + case 115: + if (curChar == 95) + { jjAddStates(174, 175); } + break; + case 117: + if ((0x100000001000000L & l) != 0L) + { jjCheckNAddTwoStates(118, 119); } + break; + case 118: + if ((0x7e0000007eL & l) != 0L) + { jjCheckNAddTwoStates(118, 119); } + break; + case 120: + if ((0x7e0000007eL & l) != 0L) + { jjAddStates(176, 177); } + break; + case 121: + if ((0x1000000010000L & l) != 0L) + { jjAddStates(178, 179); } + break; + case 124: + if ((0x100000001000000L & l) != 0L) + { jjCheckNAdd(125); } + break; + case 125: + if ((0x7e0000007eL & l) != 0L) + { jjCheckNAddStates(129, 131); } + break; + case 127: + if ((0x1000000010000L & l) != 0L) + { jjAddStates(180, 181); } + break; + default : break; + } + } while(i != startsAt); + } + else + { + int hiByte = (curChar >> 8); + int i1 = hiByte >> 6; + long l1 = 1L << (hiByte & 077); + int i2 = (curChar & 0xff) >> 6; + long l2 = 1L << (curChar & 077); + do + { + switch(jjstateSet[--i]) + { + case 0: + if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) + break; + if (kind > 103) + kind = 103; + { jjCheckNAdd(43); } + break; + case 13: + if (jjCanMove_0(hiByte, i1, i2, l1, l2)) + jjstateSet[jjnewStateCnt++] = 14; + break; + case 28: + if (jjCanMove_0(hiByte, i1, i2, l1, l2)) + { jjAddStates(20, 23); } + break; + case 43: + if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) + break; + if (kind > 103) + kind = 103; + { jjCheckNAdd(43); } + break; + case 46: + if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) + break; + if (kind > 31) + kind = 31; + { jjAddStates(0, 2); } + break; + case 51: + if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 32) + kind = 32; + break; + default : if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) break; else break; + } + } while(i != startsAt); + } + if (kind != 0x7fffffff) + { + jjmatchedKind = kind; + jjmatchedPos = curPos; + kind = 0x7fffffff; + } + ++curPos; + if ((i = jjnewStateCnt) == (startsAt = 130 - (jjnewStateCnt = startsAt))) + return curPos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return curPos; } + } +} +private int jjMoveStringLiteralDfa0_2(){ + switch(curChar) + { + case 42: + return jjMoveStringLiteralDfa1_2(0x800000000L); + default : + return 1; + } +} +private int jjMoveStringLiteralDfa1_2(long active0){ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + return 1; + } + switch(curChar) + { + case 47: + if ((active0 & 0x800000000L) != 0L) + return jjStopAtPos(1, 35); + break; + default : + return 2; + } + return 2; +} +private int jjMoveStringLiteralDfa0_1(){ + switch(curChar) + { + case 42: + return jjMoveStringLiteralDfa1_1(0x400000000L); + default : + return 1; + } +} +private int jjMoveStringLiteralDfa1_1(long active0){ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + return 1; + } + switch(curChar) + { + case 47: + if ((active0 & 0x400000000L) != 0L) + return jjStopAtPos(1, 34); + break; + default : + return 2; + } + return 2; +} +static final int[] jjnextStates = { + 46, 47, 49, 54, 55, 56, 57, 58, 59, 62, 9, 69, 72, 79, 82, 93, + 78, 68, 45, 52, 28, 29, 36, 37, 13, 15, 26, 95, 99, 102, 106, 110, + 113, 117, 124, 2, 4, 9, 11, 1, 4, 9, 7, 9, 10, 6, 7, 9, + 10, 1, 2, 4, 9, 11, 28, 29, 39, 36, 37, 61, 62, 9, 59, 62, + 9, 68, 65, 9, 67, 64, 65, 9, 67, 61, 59, 62, 9, 68, 69, 72, + 78, 75, 9, 77, 74, 75, 9, 77, 71, 69, 72, 78, 79, 82, 93, 83, + 86, 9, 84, 86, 9, 92, 89, 9, 91, 88, 89, 9, 91, 83, 84, 86, + 9, 92, 81, 79, 82, 93, 97, 98, 56, 100, 101, 56, 104, 105, 56, 118, + 119, 125, 126, 127, 2, 3, 5, 6, 7, 8, 16, 17, 19, 30, 38, 40, + 54, 55, 57, 58, 59, 60, 63, 64, 65, 66, 69, 70, 73, 74, 75, 76, + 79, 80, 84, 85, 87, 88, 89, 90, 100, 101, 104, 105, 111, 112, 115, 116, + 120, 121, 122, 123, 128, 129, +}; +private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) +{ + switch(hiByte) + { + case 0: + return ((jjbitVec2[i2] & l2) != 0L); + default : + if ((jjbitVec0[i1] & l1) != 0L) + return true; + return false; + } +} +private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) +{ + switch(hiByte) + { + case 0: + return ((jjbitVec4[i2] & l2) != 0L); + case 2: + return ((jjbitVec5[i2] & l2) != 0L); + case 3: + return ((jjbitVec6[i2] & l2) != 0L); + case 4: + return ((jjbitVec7[i2] & l2) != 0L); + case 5: + return ((jjbitVec8[i2] & l2) != 0L); + case 6: + return ((jjbitVec9[i2] & l2) != 0L); + case 7: + return ((jjbitVec10[i2] & l2) != 0L); + case 9: + return ((jjbitVec11[i2] & l2) != 0L); + case 10: + return ((jjbitVec12[i2] & l2) != 0L); + case 11: + return ((jjbitVec13[i2] & l2) != 0L); + case 12: + return ((jjbitVec14[i2] & l2) != 0L); + case 13: + return ((jjbitVec15[i2] & l2) != 0L); + case 14: + return ((jjbitVec16[i2] & l2) != 0L); + case 15: + return ((jjbitVec17[i2] & l2) != 0L); + case 16: + return ((jjbitVec18[i2] & l2) != 0L); + case 17: + return ((jjbitVec19[i2] & l2) != 0L); + case 18: + return ((jjbitVec20[i2] & l2) != 0L); + case 19: + return ((jjbitVec21[i2] & l2) != 0L); + case 20: + return ((jjbitVec0[i2] & l2) != 0L); + case 22: + return ((jjbitVec22[i2] & l2) != 0L); + case 23: + return ((jjbitVec23[i2] & l2) != 0L); + case 24: + return ((jjbitVec24[i2] & l2) != 0L); + case 25: + return ((jjbitVec25[i2] & l2) != 0L); + case 29: + return ((jjbitVec26[i2] & l2) != 0L); + case 30: + return ((jjbitVec27[i2] & l2) != 0L); + case 31: + return ((jjbitVec28[i2] & l2) != 0L); + case 32: + return ((jjbitVec29[i2] & l2) != 0L); + case 33: + return ((jjbitVec30[i2] & l2) != 0L); + case 48: + return ((jjbitVec31[i2] & l2) != 0L); + case 49: + return ((jjbitVec32[i2] & l2) != 0L); + case 77: + return ((jjbitVec33[i2] & l2) != 0L); + case 159: + return ((jjbitVec34[i2] & l2) != 0L); + case 164: + return ((jjbitVec35[i2] & l2) != 0L); + case 215: + return ((jjbitVec36[i2] & l2) != 0L); + case 216: + return ((jjbitVec37[i2] & l2) != 0L); + case 250: + return ((jjbitVec38[i2] & l2) != 0L); + case 251: + return ((jjbitVec39[i2] & l2) != 0L); + case 253: + return ((jjbitVec40[i2] & l2) != 0L); + case 254: + return ((jjbitVec41[i2] & l2) != 0L); + case 255: + return ((jjbitVec42[i2] & l2) != 0L); + default : + if ((jjbitVec3[i1] & l1) != 0L) + return true; + return false; + } +} +private static final boolean jjCanMove_2(int hiByte, int i1, int i2, long l1, long l2) +{ + switch(hiByte) + { + case 0: + return ((jjbitVec43[i2] & l2) != 0L); + case 2: + return ((jjbitVec5[i2] & l2) != 0L); + case 3: + return ((jjbitVec44[i2] & l2) != 0L); + case 4: + return ((jjbitVec45[i2] & l2) != 0L); + case 5: + return ((jjbitVec46[i2] & l2) != 0L); + case 6: + return ((jjbitVec47[i2] & l2) != 0L); + case 7: + return ((jjbitVec48[i2] & l2) != 0L); + case 9: + return ((jjbitVec49[i2] & l2) != 0L); + case 10: + return ((jjbitVec50[i2] & l2) != 0L); + case 11: + return ((jjbitVec51[i2] & l2) != 0L); + case 12: + return ((jjbitVec52[i2] & l2) != 0L); + case 13: + return ((jjbitVec53[i2] & l2) != 0L); + case 14: + return ((jjbitVec54[i2] & l2) != 0L); + case 15: + return ((jjbitVec55[i2] & l2) != 0L); + case 16: + return ((jjbitVec56[i2] & l2) != 0L); + case 17: + return ((jjbitVec19[i2] & l2) != 0L); + case 18: + return ((jjbitVec20[i2] & l2) != 0L); + case 19: + return ((jjbitVec57[i2] & l2) != 0L); + case 20: + return ((jjbitVec0[i2] & l2) != 0L); + case 22: + return ((jjbitVec22[i2] & l2) != 0L); + case 23: + return ((jjbitVec58[i2] & l2) != 0L); + case 24: + return ((jjbitVec59[i2] & l2) != 0L); + case 25: + return ((jjbitVec60[i2] & l2) != 0L); + case 29: + return ((jjbitVec26[i2] & l2) != 0L); + case 30: + return ((jjbitVec27[i2] & l2) != 0L); + case 31: + return ((jjbitVec28[i2] & l2) != 0L); + case 32: + return ((jjbitVec61[i2] & l2) != 0L); + case 33: + return ((jjbitVec30[i2] & l2) != 0L); + case 48: + return ((jjbitVec62[i2] & l2) != 0L); + case 49: + return ((jjbitVec32[i2] & l2) != 0L); + case 77: + return ((jjbitVec33[i2] & l2) != 0L); + case 159: + return ((jjbitVec34[i2] & l2) != 0L); + case 164: + return ((jjbitVec35[i2] & l2) != 0L); + case 215: + return ((jjbitVec36[i2] & l2) != 0L); + case 216: + return ((jjbitVec63[i2] & l2) != 0L); + case 220: + return ((jjbitVec64[i2] & l2) != 0L); + case 221: + return ((jjbitVec65[i2] & l2) != 0L); + case 250: + return ((jjbitVec38[i2] & l2) != 0L); + case 251: + return ((jjbitVec66[i2] & l2) != 0L); + case 253: + return ((jjbitVec40[i2] & l2) != 0L); + case 254: + return ((jjbitVec67[i2] & l2) != 0L); + case 255: + return ((jjbitVec68[i2] & l2) != 0L); + default : + if ((jjbitVec3[i1] & l1) != 0L) + return true; + return false; + } +} + +/** Token literal values. */ +public static final String[] jjstrLiteralImages = { +"", null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, null, null, null, +"\141\142\163\164\162\141\143\164", "\141\163\163\145\162\164", "\142\157\157\154\145\141\156", +"\142\162\145\141\153", "\142\171\164\145", "\143\141\163\145", "\143\141\164\143\150", +"\143\150\141\162", "\143\154\141\163\163", "\143\157\156\163\164", +"\143\157\156\164\151\156\165\145", "\144\145\146\141\165\154\164", "\144\157", "\144\157\165\142\154\145", +"\145\154\163\145", "\145\156\165\155", "\145\170\164\145\156\144\163", "\146\141\154\163\145", +"\146\151\156\141\154", "\146\151\156\141\154\154\171", "\146\154\157\141\164", "\146\157\162", +"\147\157\164\157", "\151\146", "\151\155\160\154\145\155\145\156\164\163", +"\151\155\160\157\162\164", "\151\156\163\164\141\156\143\145\157\146", "\151\156\164", +"\151\156\164\145\162\146\141\143\145", "\154\157\156\147", "\156\141\164\151\166\145", "\156\145\167", +"\156\165\154\154", "\160\141\143\153\141\147\145", "\160\162\151\166\141\164\145", +"\160\162\157\164\145\143\164\145\144", "\160\165\142\154\151\143", "\162\145\164\165\162\156", +"\163\150\157\162\164", "\163\164\141\164\151\143", "\163\164\162\151\143\164\146\160", +"\163\165\160\145\162", "\163\167\151\164\143\150", +"\163\171\156\143\150\162\157\156\151\172\145\144", "\164\150\151\163", "\164\150\162\157\167", "\164\150\162\157\167\163", +"\164\162\141\156\163\151\145\156\164", "\164\162\165\145", "\164\162\171", "\166\157\151\144", +"\166\157\154\141\164\151\154\145", "\167\150\151\154\145", null, null, null, null, null, null, null, null, null, +null, null, null, null, null, null, null, "\50", "\51", "\173", "\175", "\133", +"\135", "\73", "\54", "\56", "\100", "\75", "\74", "\41", "\176", "\77", "\72", +"\75\75", "\74\75", "\76\75", "\41\75", "\174\174", "\46\46", "\53\53", "\55\55", "\53", +"\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\53\75", "\55\75", +"\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\45\75", "\74\74\75", "\76\76\75", +"\76\76\76\75", "\56\56\56", "\55\76", "\72\72", "\76\76\76", "\76\76", "\76", "\32", }; +protected Token jjFillToken() +{ + final Token t; + final String curTokenImage; + final int beginLine; + final int endLine; + final int beginColumn; + final int endColumn; + String im = jjstrLiteralImages[jjmatchedKind]; + curTokenImage = (im == null) ? input_stream.GetImage() : im; + beginLine = input_stream.getBeginLine(); + beginColumn = input_stream.getBeginColumn(); + endLine = input_stream.getEndLine(); + endColumn = input_stream.getEndColumn(); + t = ASTParser.GTToken.newToken(jjmatchedKind, curTokenImage); + + t.beginLine = beginLine; + t.endLine = endLine; + t.beginColumn = beginColumn; + t.endColumn = endColumn; + + return t; +} + +int curLexState = 0; +int defaultLexState = 0; +int jjnewStateCnt; +int jjround; +int jjmatchedPos; +int jjmatchedKind; + +/** Get the next Token. */ +public Token getNextToken() +{ + Token specialToken = null; + Token matchedToken; + int curPos = 0; + + EOFLoop : + for (;;) + { + try + { + curChar = input_stream.BeginToken(); + } + catch(Exception e) + { + jjmatchedKind = 0; + jjmatchedPos = -1; + matchedToken = jjFillToken(); + matchedToken.specialToken = specialToken; + CommonTokenAction(matchedToken); + return matchedToken; + } + image = jjimage; + image.setLength(0); + jjimageLen = 0; + + for (;;) + { + switch(curLexState) + { + case 0: + try { input_stream.backup(0); + while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L) + curChar = input_stream.BeginToken(); + } + catch (java.io.IOException e1) { continue EOFLoop; } + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_0(); + break; + case 1: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_1(); + if (jjmatchedPos == 0 && jjmatchedKind > 36) + { + jjmatchedKind = 36; + } + break; + case 2: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_2(); + if (jjmatchedPos == 0 && jjmatchedKind > 36) + { + jjmatchedKind = 36; + } + break; + } + if (jjmatchedKind != 0x7fffffff) + { + if (jjmatchedPos + 1 < curPos) + input_stream.backup(curPos - jjmatchedPos - 1); + if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) + { + matchedToken = jjFillToken(); + matchedToken.specialToken = specialToken; + TokenLexicalActions(matchedToken); + if (jjnewLexState[jjmatchedKind] != -1) + curLexState = jjnewLexState[jjmatchedKind]; + CommonTokenAction(matchedToken); + return matchedToken; + } + else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) + { + if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) + { + matchedToken = jjFillToken(); + if (specialToken == null) + specialToken = matchedToken; + else + { + matchedToken.specialToken = specialToken; + specialToken = (specialToken.next = matchedToken); + } + SkipLexicalActions(matchedToken); + } + else + SkipLexicalActions(null); + if (jjnewLexState[jjmatchedKind] != -1) + curLexState = jjnewLexState[jjmatchedKind]; + continue EOFLoop; + } + MoreLexicalActions(); + if (jjnewLexState[jjmatchedKind] != -1) + curLexState = jjnewLexState[jjmatchedKind]; + curPos = 0; + jjmatchedKind = 0x7fffffff; + try { + curChar = input_stream.readChar(); + continue; + } + catch (java.io.IOException e1) { } + } + int error_line = input_stream.getEndLine(); + int error_column = input_stream.getEndColumn(); + String error_after = null; + boolean EOFSeen = false; + try { input_stream.readChar(); input_stream.backup(1); } + catch (java.io.IOException e1) { + EOFSeen = true; + error_after = curPos <= 1 ? "" : input_stream.GetImage(); + if (curChar == '\n' || curChar == '\r') { + error_line++; + error_column = 0; + } + else + error_column++; + } + if (!EOFSeen) { + input_stream.backup(1); + error_after = curPos <= 1 ? "" : input_stream.GetImage(); + } + throw new TokenMgrException(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrException.LEXICAL_ERROR); + } + } +} + +void SkipLexicalActions(Token matchedToken) +{ + switch(jjmatchedKind) + { + default : + break; + } +} +void MoreLexicalActions() +{ + jjimageLen += (lengthOfMatch = jjmatchedPos + 1); + switch(jjmatchedKind) + { + case 32 : + image.append(input_stream.GetSuffix(jjimageLen)); + jjimageLen = 0; + input_stream.backup(1); + break; + default : + break; + } +} +void TokenLexicalActions(Token matchedToken) +{ + switch(jjmatchedKind) + { + case 153 : + image.append(jjstrLiteralImages[153]); + lengthOfMatch = jjstrLiteralImages[153].length(); + matchedToken.kind = GT; + ((ASTParser.GTToken)matchedToken).realKind = RUNSIGNEDSHIFT; + input_stream.backup(2); + break; + case 154 : + image.append(jjstrLiteralImages[154]); + lengthOfMatch = jjstrLiteralImages[154].length(); + matchedToken.kind = GT; + ((ASTParser.GTToken)matchedToken).realKind = RSIGNEDSHIFT; + input_stream.backup(1); + break; + default : + break; + } +} +private void jjCheckNAdd(int state) +{ + if (jjrounds[state] != jjround) + { + jjstateSet[jjnewStateCnt++] = state; + jjrounds[state] = jjround; + } +} +private void jjAddStates(int start, int end) +{ + do { + jjstateSet[jjnewStateCnt++] = jjnextStates[start]; + } while (start++ != end); +} +private void jjCheckNAddTwoStates(int state1, int state2) +{ + jjCheckNAdd(state1); + jjCheckNAdd(state2); +} + +private void jjCheckNAddStates(int start, int end) +{ + do { + jjCheckNAdd(jjnextStates[start]); + } while (start++ != end); +} + + /** Constructor. */ + public ASTParserTokenManager(JavaCharStream stream){ + + if (JavaCharStream.staticFlag) + throw new RuntimeException("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer."); + + input_stream = stream; + } + + /** Constructor. */ + public ASTParserTokenManager (JavaCharStream stream, int lexState){ + ReInit(stream); + SwitchTo(lexState); + } + + /** Reinitialise parser. */ + public void ReInit(JavaCharStream stream) + { + + jjmatchedPos = jjnewStateCnt = 0; + curLexState = defaultLexState; + input_stream = stream; + ReInitRounds(); + } + + private void ReInitRounds() + { + int i; + jjround = 0x80000001; + for (i = 130; i-- > 0;) + jjrounds[i] = 0x80000000; + } + + /** Reinitialise parser. */ + public void ReInit( JavaCharStream stream, int lexState) + { + + ReInit( stream); + SwitchTo(lexState); + } + + /** Switch to specified lex state. */ + public void SwitchTo(int lexState) + { + if (lexState >= 3 || lexState < 0) + throw new TokenMgrException("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrException.INVALID_LEXICAL_STATE); + else + curLexState = lexState; + } + +/** Lexer state names. */ +public static final String[] lexStateNames = { + "DEFAULT", + "IN_JAVA_DOC_COMMENT", + "IN_MULTI_LINE_COMMENT", +}; + +/** Lex State array. */ +public static final int[] jjnewLexState = { + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 1, 2, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, +}; +static final long[] jjtoToken = { + 0xffffffe000000001L, 0xfffffce10fffffffL, 0x1fffffffL, +}; +static final long[] jjtoSkip = { + 0xcfffffffeL, 0x0L, 0x0L, +}; +static final long[] jjtoSpecial = { + 0xc80000000L, 0x0L, 0x0L, +}; +static final long[] jjtoMore = { + 0x1300000000L, 0x0L, 0x0L, +}; + protected JavaCharStream input_stream; + + private final int[] jjrounds = new int[130]; + private final int[] jjstateSet = new int[2 * 130]; + + private final StringBuilder jjimage = new StringBuilder(); + private StringBuilder image = jjimage; + private int jjimageLen; + private int lengthOfMatch; + + protected int curChar; +} diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/JavaCharStream.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/JavaCharStream.java new file mode 100644 index 00000000..1bed0d55 --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/JavaCharStream.java @@ -0,0 +1,560 @@ +/* Generated By:JavaCC: Do not edit this line. JavaCharStream.java Version 6.1 */ +/* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + +/** + * An implementation of interface CharStream, where the stream is assumed to + * contain only ASCII characters (with java-like unicode escape processing). + */ + + +public +class JavaCharStream +{ + /** Whether parser is static. */ + public static final boolean staticFlag = false; + + + static final int hexval(char c) throws java.io.IOException { + switch(c) + { + case '0' : + return 0; + case '1' : + return 1; + case '2' : + return 2; + case '3' : + return 3; + case '4' : + return 4; + case '5' : + return 5; + case '6' : + return 6; + case '7' : + return 7; + case '8' : + return 8; + case '9' : + return 9; + + case 'a' : + case 'A' : + return 10; + case 'b' : + case 'B' : + return 11; + case 'c' : + case 'C' : + return 12; + case 'd' : + case 'D' : + return 13; + case 'e' : + case 'E' : + return 14; + case 'f' : + case 'F' : + return 15; + } + + throw new java.io.IOException(); // Should never come here + } + +/** Position in buffer. */ + public int bufpos = -1; + int bufsize; + int available; + int tokenBegin; + protected int bufline[]; + protected int bufcolumn[]; + + protected int column = 0; + protected int line = 1; + + protected boolean prevCharIsCR = false; + protected boolean prevCharIsLF = false; + + protected Provider inputStream; + + protected char[] nextCharBuf; + protected char[] buffer; + protected int maxNextCharInd = 0; + protected int nextCharInd = -1; + protected int inBuf = 0; + protected int tabSize = 1; + protected boolean trackLineColumn = true; + + public void setTabSize(int i) { tabSize = i; } + public int getTabSize(int i) { return tabSize; } + + protected void ExpandBuff(boolean wrapAround) + { + char[] newbuffer = new char[bufsize + 2048]; + int newbufline[] = new int[bufsize + 2048]; + int newbufcolumn[] = new int[bufsize + 2048]; + + try + { + if (wrapAround) + { + System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); + System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); + buffer = newbuffer; + + System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); + System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); + bufline = newbufline; + + System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); + System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); + bufcolumn = newbufcolumn; + + bufpos += (bufsize - tokenBegin); + } + else + { + System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); + buffer = newbuffer; + + System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); + bufline = newbufline; + + System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); + bufcolumn = newbufcolumn; + + bufpos -= tokenBegin; + } + } + catch (Exception t) + { + throw new RuntimeException(t.getMessage()); + } + + available = (bufsize += 2048); + tokenBegin = 0; + } + + protected void FillBuff() throws java.io.IOException + { + int i; + if (maxNextCharInd == 4096) + maxNextCharInd = nextCharInd = 0; + + try { + if ((i = inputStream.read(nextCharBuf, maxNextCharInd, + 4096 - maxNextCharInd)) == -1) + { + inputStream.close(); + throw new java.io.IOException(); + } + else + maxNextCharInd += i; + return; + } + catch(java.io.IOException e) { + if (bufpos != 0) + { + --bufpos; + backup(0); + } + else + { + bufline[bufpos] = line; + bufcolumn[bufpos] = column; + } + throw e; + } + } + + protected char ReadByte() throws java.io.IOException + { + if (++nextCharInd >= maxNextCharInd) + FillBuff(); + + return nextCharBuf[nextCharInd]; + } + +/** @return starting character for token. */ + public char BeginToken() throws java.io.IOException + { + if (inBuf > 0) + { + --inBuf; + + if (++bufpos == bufsize) + bufpos = 0; + + tokenBegin = bufpos; + return buffer[bufpos]; + } + + tokenBegin = 0; + bufpos = -1; + + return readChar(); + } + + protected void AdjustBuffSize() + { + if (available == bufsize) + { + if (tokenBegin > 2048) + { + bufpos = 0; + available = tokenBegin; + } + else + ExpandBuff(false); + } + else if (available > tokenBegin) + available = bufsize; + else if ((tokenBegin - available) < 2048) + ExpandBuff(true); + else + available = tokenBegin; + } + + protected void UpdateLineColumn(char c) + { + column++; + + if (prevCharIsLF) + { + prevCharIsLF = false; + line += (column = 1); + } + else if (prevCharIsCR) + { + prevCharIsCR = false; + if (c == '\n') + { + prevCharIsLF = true; + } + else + line += (column = 1); + } + + switch (c) + { + case '\r' : + prevCharIsCR = true; + break; + case '\n' : + prevCharIsLF = true; + break; + case '\t' : + column--; + column += (tabSize - (column % tabSize)); + break; + default : + break; + } + + bufline[bufpos] = line; + bufcolumn[bufpos] = column; + } + +/** Read a character. */ + public char readChar() throws java.io.IOException + { + if (inBuf > 0) + { + --inBuf; + + if (++bufpos == bufsize) + bufpos = 0; + + return buffer[bufpos]; + } + + char c; + + if (++bufpos == available) + AdjustBuffSize(); + + if ((buffer[bufpos] = c = ReadByte()) == '\\') + { + UpdateLineColumn(c); + + int backSlashCnt = 1; + + for (;;) // Read all the backslashes + { + if (++bufpos == available) + AdjustBuffSize(); + + try + { + if ((buffer[bufpos] = c = ReadByte()) != '\\') + { + UpdateLineColumn(c); + // found a non-backslash char. + if ((c == 'u') && ((backSlashCnt & 1) == 1)) + { + if (--bufpos < 0) + bufpos = bufsize - 1; + + break; + } + + backup(backSlashCnt); + return '\\'; + } + } + catch(java.io.IOException e) + { + // We are returning one backslash so we should only backup (count-1) + if (backSlashCnt > 1) + backup(backSlashCnt-1); + + return '\\'; + } + + UpdateLineColumn(c); + backSlashCnt++; + } + + // Here, we have seen an odd number of backslash's followed by a 'u' + try + { + while ((c = ReadByte()) == 'u') + ++column; + + buffer[bufpos] = c = (char)(hexval(c) << 12 | + hexval(ReadByte()) << 8 | + hexval(ReadByte()) << 4 | + hexval(ReadByte())); + + column += 4; + } + catch(java.io.IOException e) + { + throw new RuntimeException("Invalid escape character at line " + line + + " column " + column + "."); + } + + if (backSlashCnt == 1) + return c; + else + { + backup(backSlashCnt - 1); + return '\\'; + } + } + else + { + UpdateLineColumn(c); + return c; + } + } + + @Deprecated + /** + * @deprecated + * @see #getEndColumn + */ + public int getColumn() { + return bufcolumn[bufpos]; + } + + @Deprecated + /** + * @deprecated + * @see #getEndLine + */ + public int getLine() { + return bufline[bufpos]; + } + +/** Get end column. */ + public int getEndColumn() { + return bufcolumn[bufpos]; + } + +/** Get end line. */ + public int getEndLine() { + return bufline[bufpos]; + } + +/** @return column of token start */ + public int getBeginColumn() { + return bufcolumn[tokenBegin]; + } + +/** @return line number of token start */ + public int getBeginLine() { + return bufline[tokenBegin]; + } + +/** Retreat. */ + public void backup(int amount) { + + inBuf += amount; + if ((bufpos -= amount) < 0) + bufpos += bufsize; + } + +/** Constructor. */ + public JavaCharStream(Provider dstream, + int startline, int startcolumn, int buffersize) + { + inputStream = dstream; + line = startline; + column = startcolumn - 1; + + available = bufsize = buffersize; + buffer = new char[buffersize]; + bufline = new int[buffersize]; + bufcolumn = new int[buffersize]; + nextCharBuf = new char[4096]; + } + +/** Constructor. */ + public JavaCharStream(Provider dstream, + int startline, int startcolumn) + { + this(dstream, startline, startcolumn, 4096); + } + +/** Constructor. */ + public JavaCharStream(Provider dstream) + { + this(dstream, 1, 1, 4096); + } +/** Reinitialise. */ + public void ReInit(Provider dstream, + int startline, int startcolumn, int buffersize) + { + inputStream = dstream; + line = startline; + column = startcolumn - 1; + + if (buffer == null || buffersize != buffer.length) + { + available = bufsize = buffersize; + buffer = new char[buffersize]; + bufline = new int[buffersize]; + bufcolumn = new int[buffersize]; + nextCharBuf = new char[4096]; + } + prevCharIsLF = prevCharIsCR = false; + tokenBegin = inBuf = maxNextCharInd = 0; + nextCharInd = bufpos = -1; + } + +/** Reinitialise. */ + public void ReInit(Provider dstream, + int startline, int startcolumn) + { + ReInit(dstream, startline, startcolumn, 4096); + } + +/** Reinitialise. */ + public void ReInit(Provider dstream) + { + ReInit(dstream, 1, 1, 4096); + } + + + + /** @return token image as String */ + public String GetImage() + { + if (bufpos >= tokenBegin) + return new String(buffer, tokenBegin, bufpos - tokenBegin + 1); + else + return new String(buffer, tokenBegin, bufsize - tokenBegin) + + new String(buffer, 0, bufpos + 1); + } + + /** @return suffix */ + public char[] GetSuffix(int len) + { + char[] ret = new char[len]; + + if ((bufpos + 1) >= len) + System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); + else + { + System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0, + len - bufpos - 1); + System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1); + } + + return ret; + } + + /** Set buffers back to null when finished. */ + public void Done() + { + nextCharBuf = null; + buffer = null; + bufline = null; + bufcolumn = null; + } + + /** + * Method to adjust line and column numbers for the start of a token. + */ + public void adjustBeginLineColumn(int newLine, int newCol) + { + int start = tokenBegin; + int len; + + if (bufpos >= tokenBegin) + { + len = bufpos - tokenBegin + inBuf + 1; + } + else + { + len = bufsize - tokenBegin + bufpos + 1 + inBuf; + } + + int i = 0, j = 0, k = 0; + int nextColDiff = 0, columnDiff = 0; + + while (i < len && bufline[j = start % bufsize] == bufline[k = ++start % bufsize]) + { + bufline[j] = newLine; + nextColDiff = columnDiff + bufcolumn[k] - bufcolumn[j]; + bufcolumn[j] = newCol + columnDiff; + columnDiff = nextColDiff; + i++; + } + + if (i < len) + { + bufline[j] = newLine++; + bufcolumn[j] = newCol + columnDiff; + + while (i++ < len) + { + if (bufline[j = start % bufsize] != bufline[++start % bufsize]) + bufline[j] = newLine++; + else + bufline[j] = newLine; + } + } + + line = bufline[j]; + column = bufcolumn[j]; + } + boolean getTrackLineColumn() { return trackLineColumn; } + void setTrackLineColumn(boolean tlc) { trackLineColumn = tlc; } + +} +/* JavaCC - OriginalChecksum=739c892d3e3e2b02091677b9924b4db7 (do not edit this line) */ diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ParseException.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ParseException.java new file mode 100644 index 00000000..1e1c51f2 --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/ParseException.java @@ -0,0 +1,227 @@ +/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 6.1 */ +/* JavaCCOptions:KEEP_LINE_COLUMN=true */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + +/** + * This exception is thrown when parse errors are encountered. + * You can explicitly create objects of this exception type by + * calling the method generateParseException in the generated + * parser. + * + * You can modify this class to customize your error reporting + * mechanisms so long as you retain the public fields. + */ +public class ParseException extends Exception { + + /** + * The version identifier for this Serializable class. + * Increment only if the serialized form of the + * class changes. + */ + private static final long serialVersionUID = 1L; + + private static final String INDENT = " "; + + /** + * The end of line string (we do not use System.getProperty("") so that we are compatible with Android/GWT); + */ + protected static String EOL = "\n"; + + + public ParseException(Token currentTokenVal, + int[][] expectedTokenSequencesVal, + String[] tokenImageVal + ) + { + this (currentTokenVal, expectedTokenSequencesVal, tokenImageVal, null); + } + + + /** + * This constructor is used by the method "generateParseException" + * in the generated parser. Calling this constructor generates + * a new object of this type with the fields "currentToken", + * "expectedTokenSequences", and "tokenImage" set. + */ + public ParseException(Token currentTokenVal, + int[][] expectedTokenSequencesVal, + String[] tokenImageVal, + String lexicalStateName + ) + { + super(initialise(currentTokenVal, expectedTokenSequencesVal, tokenImageVal, lexicalStateName)); + currentToken = currentTokenVal; + expectedTokenSequences = expectedTokenSequencesVal; + tokenImage = tokenImageVal; + } + + /** + * The following constructors are for use by you for whatever + * purpose you can think of. Constructing the exception in this + * manner makes the exception behave in the normal way - i.e., as + * documented in the class "Throwable". The fields "errorToken", + * "expectedTokenSequences", and "tokenImage" do not contain + * relevant information. The JavaCC generated code does not use + * these constructors. + */ + + public ParseException() { + super(); + } + + /** Constructor with message. */ + public ParseException(String message) { + super(message); + } + + + /** + * This is the last token that has been consumed successfully. If + * this object has been created due to a parse error, the token + * followng this token will (therefore) be the first error token. + */ + public Token currentToken; + + /** + * Each entry in this array is an array of integers. Each array + * of integers represents a sequence of tokens (by their ordinal + * values) that is expected at this point of the parse. + */ + public int[][] expectedTokenSequences; + + /** + * This is a reference to the "tokenImage" array of the generated + * parser within which the parse error occurred. This array is + * defined in the generated ...Constants interface. + */ + public String[] tokenImage; + + /** + * It uses "currentToken" and "expectedTokenSequences" to generate a parse + * error message and returns it. If this object has been created + * due to a parse error, and you do not catch it (it gets thrown + * from the parser) the correct error message + * gets displayed. + */ + private static String initialise(Token currentToken, + int[][] expectedTokenSequences, + String[] tokenImage, + String lexicalStateName) { + StringBuilder sb = new StringBuilder(); + StringBuffer expected = new StringBuffer(); + + int maxSize = 0; + java.util.TreeSet sortedOptions = new java.util.TreeSet(); + for (int i = 0; i < expectedTokenSequences.length; i++) { + if (maxSize < expectedTokenSequences[i].length) { + maxSize = expectedTokenSequences[i].length; + } + for (int j = 0; j < expectedTokenSequences[i].length; j++) { + sortedOptions.add(tokenImage[expectedTokenSequences[i][j]]); + } + } + + for (String option : sortedOptions) { + expected.append(INDENT).append(option).append(EOL); + } + + sb.append("Encountered unexpected token:"); + + Token tok = currentToken.next; + for (int i = 0; i < maxSize; i++) { + String tokenText = tok.image; + String escapedTokenText = add_escapes(tokenText); + if (i != 0) { + sb.append(" "); + } + if (tok.kind == 0) { + sb.append(tokenImage[0]); + break; + } + sb.append(" \""); + sb.append(escapedTokenText); + sb.append("\""); + sb.append(" " + tokenImage[tok.kind]); + tok = tok.next; + } + sb.append(EOL).append(INDENT).append("at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColumn); + sb.append(".").append(EOL); + + if (expectedTokenSequences.length == 0) { + // Nothing to add here + } else { + int numExpectedTokens = expectedTokenSequences.length; + sb.append(EOL).append("Was expecting"+ (numExpectedTokens == 1 ? ":" : " one of:") + EOL + EOL); + sb.append(expected.toString()); + } + // 2013/07/30 --> Seems to be inaccurate as represents the readahead state, not the lexical state BEFORE the unknown token +// if (lexicalStateName != null) { +// sb.append(EOL).append("** Lexical State : ").append(lexicalStateName).append(EOL).append(EOL); +// } + + return sb.toString(); + } + + + /** + * Used to convert raw characters to their escaped version + * when these raw version cannot be used as part of an ASCII + * string literal. + */ + static String add_escapes(String str) { + StringBuffer retval = new StringBuffer(); + char ch; + for (int i = 0; i < str.length(); i++) { + switch (str.charAt(i)) + { + case '\b': + retval.append("\\b"); + continue; + case '\t': + retval.append("\\t"); + continue; + case '\n': + retval.append("\\n"); + continue; + case '\f': + retval.append("\\f"); + continue; + case '\r': + retval.append("\\r"); + continue; + case '\"': + retval.append("\\\""); + continue; + case '\'': + retval.append("\\\'"); + continue; + case '\\': + retval.append("\\\\"); + continue; + default: + if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) { + String s = "0000" + Integer.toString(ch, 16); + retval.append("\\u" + s.substring(s.length() - 4, s.length())); + } else { + retval.append(ch); + } + continue; + } + } + return retval.toString(); + } + +} +/* JavaCC - OriginalChecksum=7f5d65f6851e954eab1749552b7cbadc (do not edit this line) */ diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Provider.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Provider.java new file mode 100644 index 00000000..c2506991 --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Provider.java @@ -0,0 +1,39 @@ +/* Generated By:JavaCC: Do not edit this line. Provider.java Version 6.1 */ +/* JavaCCOptions:KEEP_LINE_COLUMN=true */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + + +import java.io.IOException; + +public interface Provider { + /** + * Reads characters into an array + * @param buffer Destination buffer + * @param offset Offset at which to start storing characters + * @param length The maximum possible number of characters to read + * @return The number of characters read, or -1 if all read + * @exception IOException + */ + public int read(char buffer[], int offset, int len) throws IOException; + + /** + * Closes the stream and releases any system resources associated with + * it. + * @exception IOException + */ + public void close() throws IOException; + +} +/* JavaCC - OriginalChecksum=b49070d146e43050554e69986e72f4ef (do not edit this line) */ diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StreamProvider.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StreamProvider.java new file mode 100644 index 00000000..0bef31fc --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StreamProvider.java @@ -0,0 +1,70 @@ +/* Generated By:JavaCC: Do not edit this line. StreamProvider.java Version 6.1 */ +/* JavaCCOptions:KEEP_LINE_COLUMN=true */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; + +/** + * NOTE : This generated class can be safely deleted if installing in a GWT installation (use StringProvider instead) + */ +public class StreamProvider implements Provider { + + Reader _reader; + + public StreamProvider(Reader reader) { + _reader = reader; + } + + public StreamProvider(InputStream stream) throws IOException { + _reader = new BufferedReader(new InputStreamReader(stream)); + } + + public StreamProvider(InputStream stream, String charsetName) throws IOException { + _reader = new BufferedReader(new InputStreamReader(stream, charsetName)); + } + + @Override + public int read(char[] buffer, int off, int len) throws IOException { + int result = _reader.read(buffer, off, len); + + /* CBA -- Added 2014/03/29 -- + This logic allows the generated Java code to be easily translated to C# (via sharpen) - + as in C# 0 represents end of file, and in Java, -1 represents end of file + See : http://msdn.microsoft.com/en-us/library/9kstw824(v=vs.110).aspx + ** Technically, this is not required for java but the overhead is extremely low compared to the code generation benefits. + */ + + if (result == 0) { + if (off < buffer.length && len > 0) { + result = -1; + } + } + + return result; + } + + @Override + public void close() throws IOException { + _reader.close(); + } + +} + +/* JavaCC - OriginalChecksum=a87d5c1969bbcf86938e7461b50aa5db (do not edit this line) */ diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StringProvider.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StringProvider.java new file mode 100644 index 00000000..8886ffc8 --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/StringProvider.java @@ -0,0 +1,60 @@ +/* Generated By:JavaCC: Do not edit this line. StringProvider.java Version 6.1 */ +/* JavaCCOptions:KEEP_LINE_COLUMN=true */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + + + import java.io.IOException; + + public class StringProvider implements Provider { + + String _string; + int _position = 0; + int _size; + + public StringProvider(String string) { + _string = string; + _size = string.length(); + } + + @Override + public int read(char[] cbuf, int off, int len) throws IOException { + int numCharsOutstandingInString = _size - _position; + + if (numCharsOutstandingInString == 0) { + return -1; + } + + int numBytesInBuffer = cbuf.length; + int numBytesToRead = numBytesInBuffer -off; + numBytesToRead = numBytesToRead > len ? len : numBytesToRead; + + if (numBytesToRead > numCharsOutstandingInString) { + numBytesToRead = numCharsOutstandingInString; + } + + _string.getChars(_position, _position + numBytesToRead, cbuf, off); + + _position += numBytesToRead; + + return numBytesToRead; + } + + @Override + public void close() throws IOException { + _string = null; + } + + } +/* JavaCC - OriginalChecksum=d4625218ed283e295a6dcd153d6a202a (do not edit this line) */ diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Token.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Token.java new file mode 100644 index 00000000..01116293 --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/Token.java @@ -0,0 +1,143 @@ +/* Generated By:JavaCC: Do not edit this line. Token.java Version 6.1 */ +/* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COLUMN=true,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + +/** + * Describes the input token stream. + */ + +public class Token implements java.io.Serializable { + + /** + * The version identifier for this Serializable class. + * Increment only if the serialized form of the + * class changes. + */ + private static final long serialVersionUID = 1L; + + /** + * An integer that describes the kind of this token. This numbering + * system is determined by JavaCCParser, and a table of these numbers is + * stored in the file ...Constants.java. + */ + public int kind; + + /** The line number of the first character of this Token. */ + public int beginLine; + /** The column number of the first character of this Token. */ + public int beginColumn; + /** The line number of the last character of this Token. */ + public int endLine; + /** The column number of the last character of this Token. */ + public int endColumn; + + /** + * The string image of the token. + */ + public String image; + + /** + * A reference to the next regular (non-special) token from the input + * stream. If this is the last token from the input stream, or if the + * token manager has not read tokens beyond this one, this field is + * set to null. This is true only if this token is also a regular + * token. Otherwise, see below for a description of the contents of + * this field. + */ + public Token next; + + /** + * This field is used to access special tokens that occur prior to this + * token, but after the immediately preceding regular (non-special) token. + * If there are no such special tokens, this field is set to null. + * When there are more than one such special token, this field refers + * to the last of these special tokens, which in turn refers to the next + * previous special token through its specialToken field, and so on + * until the first special token (whose specialToken field is null). + * The next fields of special tokens refer to other special tokens that + * immediately follow it (without an intervening regular token). If there + * is no such token, this field is null. + */ + public Token specialToken; + + /** + * An optional attribute value of the Token. + * Tokens which are not used as syntactic sugar will often contain + * meaningful values that will be used later on by the compiler or + * interpreter. This attribute value is often different from the image. + * Any subclass of Token that actually wants to return a non-null value can + * override this method as appropriate. + */ + public Object getValue() { + return null; + } + + /** + * No-argument constructor + */ + public Token() {} + + /** + * Constructs a new token for the specified Image. + */ + public Token(int kind) + { + this(kind, null); + } + + /** + * Constructs a new token for the specified Image and Kind. + */ + public Token(int kind, String image) + { + this.kind = kind; + this.image = image; + } + + /** + * Returns the image. + */ + public String toString() + { + return image; + } + + /** + * Returns a new Token object, by default. However, if you want, you + * can create and return subclass objects based on the value of ofKind. + * Simply add the cases to the switch for all those special cases. + * For example, if you have a subclass of Token called IDToken that + * you want to create if ofKind is ID, simply add something like : + * + * case MyParserConstants.ID : return new IDToken(ofKind, image); + * + * to the following switch statement. Then you can cast matchedToken + * variable to the appropriate type and use sit in your lexical actions. + */ + public static Token newToken(int ofKind, String image) + { + switch(ofKind) + { + default : return new Token(ofKind, image); + } + } + + public static Token newToken(int ofKind) + { + return newToken(ofKind, null); + } + +} +/* JavaCC - OriginalChecksum=cdc9415ebc9d3423cda32c3ad494b92d (do not edit this line) */ diff --git a/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/TokenMgrException.java b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/TokenMgrException.java new file mode 100644 index 00000000..28e78577 --- /dev/null +++ b/bin/app/data/projects/javaparser/target/generated-sources/javacc/com/github/javaparser/TokenMgrException.java @@ -0,0 +1,158 @@ +/* Generated By:JavaCC: Do not edit this line. TokenMgrException.java Version 6.1 */ +/* JavaCCOptions: */ +/* + * + * This file is part of Java 1.8 parser and Abstract Syntax Tree. + * + * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Java 1.8 parser and Abstract Syntax Tree. If not, see . + */ +package com.github.javaparser; + +/** Token Manager Error. */ +public class TokenMgrException extends RuntimeException +{ + + /** + * The version identifier for this Serializable class. + * Increment only if the serialized form of the + * class changes. + */ + private static final long serialVersionUID = 1L; + + /* + * Ordinals for various reasons why an Error of this type can be thrown. + */ + + /** + * Lexical error occurred. + */ + public static final int LEXICAL_ERROR = 0; + + /** + * An attempt was made to create a second instance of a static token manager. + */ + public static final int STATIC_LEXER_ERROR = 1; + + /** + * Tried to change to an invalid lexical state. + */ + public static final int INVALID_LEXICAL_STATE = 2; + + /** + * Detected (and bailed out of) an infinite loop in the token manager. + */ + public static final int LOOP_DETECTED = 3; + + /** + * Indicates the reason why the exception is thrown. It will have + * one of the above 4 values. + */ + int errorCode; + + /** + * Replaces unprintable characters by their escaped (or unicode escaped) + * equivalents in the given string + */ + protected static final String addEscapes(String str) { + StringBuffer retval = new StringBuffer(); + char ch; + for (int i = 0; i < str.length(); i++) { + switch (str.charAt(i)) + { + case '\b': + retval.append("\\b"); + continue; + case '\t': + retval.append("\\t"); + continue; + case '\n': + retval.append("\\n"); + continue; + case '\f': + retval.append("\\f"); + continue; + case '\r': + retval.append("\\r"); + continue; + case '\"': + retval.append("\\\""); + continue; + case '\'': + retval.append("\\\'"); + continue; + case '\\': + retval.append("\\\\"); + continue; + default: + if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) { + String s = "0000" + Integer.toString(ch, 16); + retval.append("\\u" + s.substring(s.length() - 4, s.length())); + } else { + retval.append(ch); + } + continue; + } + } + return retval.toString(); + } + + /** + * Returns a detailed message for the Error when it is thrown by the + * token manager to indicate a lexical error. + * Parameters : + * EOFSeen : indicates if EOF caused the lexical error + * curLexState : lexical state in which this error occurred + * errorLine : line number when the error occurred + * errorColumn : column number when the error occurred + * errorAfter : prefix that was seen before this error occurred + * curchar : the offending character + * Note: You can customize the lexical error message by modifying this method. + */ + protected static String LexicalErr(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, int curChar) { + char curChar1 = (char)curChar; + return("Lexical error at line " + + errorLine + ", column " + + errorColumn + ". Encountered: " + + (EOFSeen ? " " : ("\"" + addEscapes(String.valueOf(curChar1)) + "\"") + " (" + (int)curChar + "), ") + + "after : \"" + addEscapes(errorAfter) + "\""); + } + + /** + * You can also modify the body of this method to customize your error messages. + * For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not + * of end-users concern, so you can return something like : + * + * "Internal Error : Please file a bug report .... " + * + * from this method for such cases in the release version of your parser. + */ + public String getMessage() { + return super.getMessage(); + } + + /* + * Constructors of various flavors follow. + */ + + /** No arg constructor. */ + public TokenMgrException() { + } + + /** Constructor with message and reason. */ + public TokenMgrException(String message, int reason) { + super(message); + errorCode = reason; + } + + /** Full Constructor. */ + public TokenMgrException(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, int curChar, int reason) { + this(LexicalErr(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason); + } +} +/* JavaCC - OriginalChecksum=397d514f66f76c354ffa5e3ddbcbcf64 (do not edit this line) */ diff --git a/bin/app/data/projects/tictactoe/tictactoe.coatiproject b/bin/app/data/projects/tictactoe/tictactoe.coatiproject index a1fa004a..c2aacc4d 100644 --- a/bin/app/data/projects/tictactoe/tictactoe.coatiproject +++ b/bin/app/data/projects/tictactoe/tictactoe.coatiproject @@ -1,9 +1,9 @@ - - C++ - 11 - + + C++ + 1z + .h diff --git a/bin/app/data/projects/tutorial/tutorial.coatiproject b/bin/app/data/projects/tutorial/tutorial.coatiproject index 594137bf..4ef27969 100644 --- a/bin/app/data/projects/tutorial/tutorial.coatiproject +++ b/bin/app/data/projects/tutorial/tutorial.coatiproject @@ -14,9 +14,13 @@ LET'S GET STARTED!\n \tTo keep things simple just click the "main" symbol below to start the tour.\n \n - [main\tint\r()](); // <- start here\n\n + [main\tsint\tp()](); // <- start here\n\n + + C++ + 1z + .h diff --git a/bin/app/user/ApplicationSettings_for_package.xml b/bin/app/user/ApplicationSettings_for_package.xml index 885046b5..224415fc 100644 --- a/bin/app/user/ApplicationSettings_for_package.xml +++ b/bin/app/user/ApplicationSettings_for_package.xml @@ -1,17 +1,18 @@ - - 500 - 500 - - - 4 - - - - ./data/projects/tutorial/tutorial.coatiproject - ./data/projects/tictactoe/tictactoe.coatiproject - - + + 500 + 500 + + + 4 + + + + ./data/projects/tutorial/tutorial.coatiproject + ./data/projects/tictactoe/tictactoe.coatiproject + ./data/projects/javaparser/javaparser.coatiproject + + 1 diff --git a/deployment/windows/CoatiAppSetup/CoatiSetup/CoatiSetup.vdproj b/deployment/windows/CoatiAppSetup/CoatiSetup/CoatiSetup.vdproj index c5a22537..638fe0f5 100644 --- a/deployment/windows/CoatiAppSetup/CoatiSetup/CoatiSetup.vdproj +++ b/deployment/windows/CoatiAppSetup/CoatiSetup/CoatiSetup.vdproj @@ -15,13 +15,13 @@ { "Entry" { - "MsmKey" = "8:_005CE3D98467436D97D469A9AFE3EFF8" + "MsmKey" = "8:_003F78680C7D42258048E26832B54EAA" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_009172D9B6C8445D94B50AD1CF326EB6" + "MsmKey" = "8:_005CE3D98467436D97D469A9AFE3EFF8" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -39,12 +39,6 @@ } "Entry" { - "MsmKey" = "8:_01F276A2139C4A2FB5639D9C6224348E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_022DD44681F841FFB989FD6CCEAC277B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -57,13 +51,31 @@ } "Entry" { + "MsmKey" = "8:_04B7DC6D324946C7B8BBF38A2A61A3F8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_05E98FFFDCC84318ABFF997524A43891" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_0716215F49A34B19996FA5567EF50B41" + "MsmKey" = "8:_06FE166EE0CE4CB1A9E7F2387E142E00" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0742AAF27E0A42D4B88234D73917AA07" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0899A45799904A879E4D98B15089EDD9" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -75,12 +87,30 @@ } "Entry" { + "MsmKey" = "8:_0CA34E24D81C4F169805B8949A00C318" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0CCDD7FDCF5A42839D9633D8FDAD1B58" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_0D141FC6540C4E97B58C2BFF93CD62CF" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_0D1EE37B07CA480189F667F86CF2F595" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_0EE1E4EA6AA24123A12B7D29D9EAD5BD" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -93,12 +123,36 @@ } "Entry" { + "MsmKey" = "8:_1406414F43EB4ED4BE7449D93F8AAED3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_148320DF7A8543588B17D1370B542612" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15F7B1B7D56449C6BBB276461F21CC41" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_1715B0A39C0F48C2BD616BB5EE278EA1" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_177E2382C5704B1F83AE7C3367294729" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_17E01ED758AE4C8DA24511FCB2EA736E" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -123,19 +177,49 @@ } "Entry" { + "MsmKey" = "8:_1B872F4B8BF64937B54B5C4038F75258" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_1B9BFE4FF7844A709077984526432665" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_1C3B63F1F4C44C79B93B287179C13706" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_1D695F7C4DE2429086271A1C93BFEBDF" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_20111EBBFD2C4A28960ACB36B2D98D66" + "MsmKey" = "8:_1DD698E9B41F4A5389B36CB59B3CD68E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1E03352C9D8F444ABB762E4E5B149E8C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1E1A2DB2573E4EEB927ECDFABD05807B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1FE607B04CF34E1D9912838D9EDFB6C2" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -153,6 +237,30 @@ } "Entry" { + "MsmKey" = "8:_23DB6D5984CB42AFBA09ABA6A1644213" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_23EBC16FC2B945B4BF4CB7521244A978" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_26803C347D134C58B947EEEC4F5E4500" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_268096AE0E214C2D909401F5B0171AE9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_276D0B49D53A4358ADDF7CB771985B9A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -165,12 +273,36 @@ } "Entry" { + "MsmKey" = "8:_28E7F0EF5ECC4A8A94D02044446E2399" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2945D8F5AB7A4982AEACC33696B45E08" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2999C7B11E7348678A2D814CF19ADD26" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_2AF0417D24FD4C69A9D1F68F6001222B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_2D6311A1A56D4413838668C810DD6F10" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_2DA06C4E301647A58D13904DAE5A1010" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -183,19 +315,49 @@ } "Entry" { + "MsmKey" = "8:_2F851210047D4D6C81A63BD9C0821AA7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_301B90BA03F941F09C98641B1A444FAA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_30942A550DC5439589B0FF722128BB64" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_31E8F761927044E2B21D3E6F2CE14FB7" + "MsmKey" = "8:_30A3EDA9B6DF4941B21B004F4A62FDA9" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_344F1271147B4CC78892F9AAC1BF6D92" + "MsmKey" = "8:_3182077AF490472DBFF56D04DBF8EE7E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_323CDE2B9CB54765B37221C4DA5FD353" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_32594C8A696949B8B8784056954932C2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_342FF4864EF246DC8621F76D6D664CF0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -213,13 +375,73 @@ } "Entry" { + "MsmKey" = "8:_351042FE429648198B502BB5714EB03B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3528A8C5081B4C3E9D06D26FA9793FEF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3663897146DC439DB03C46C2553CAF6B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_37678F8525E54E1686F6E82525639227" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3796F54F2DD84F22A4241A3995E97F43" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3810571BE66049BABF82DE81AED63BC8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_38777878247C4C58990EBAA9A8DC0953" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_38986F0870A14310AE4A8143F59891A8" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_392BD98F61CB4859B016DA46672067D5" + "MsmKey" = "8:_39087DA9344A4A93B13BA40F56DE3794" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3A9C8E9C738742BB95CD546992AF75F6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3AA2627BB70C4CEC8F8449CCA0154CB3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3AD46C8677A148BB980462973AC83506" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -231,18 +453,72 @@ } "Entry" { + "MsmKey" = "8:_3D939D4AAD5741E49B28AD6028DBC4EE" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3E1EB41A12644977BE785685E59E0CCA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3F05A809C5564468B416D7F5E660B112" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3F79FA8B22724A7D9F0C620278D5A4B6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_3FCDDB859BC247E0B2634CBD56E2B763" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_406B61B0DAF446C2AE39F58978D63506" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_416C323211874EBD97313003ED53612D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4219AE9E34EA49A8A35920B73F389D42" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_422B9C0A10C64B5783B84FB0DAB00569" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4249DEA63E5D431CBB58FC5C8BFBDF34" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_43F58849B43F4A4B86A0723EA928BF94" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4400372852214CC588823F7A1A9F5F5D" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -261,12 +537,54 @@ } "Entry" { + "MsmKey" = "8:_44ECE5D3980A4F5B8E2FBFAB2B55AF65" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_45DC2D5A95BC444F9810EADE9598735A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_46FB973B6DE2422CB233496A56F851B0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_471762F0CCEA4DC88755F733975A522C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4717FFF1901D48DAA8A20646997BF106" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_495177108A284717AB355495B709494B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_49FBF90E3A114440B476A0F1E34E5CE1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4A97AB5EAF394D03A73BEEDE2E02D375" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4B368A3CA7ED47C584B8275181DC052F" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -279,19 +597,73 @@ } "Entry" { + "MsmKey" = "8:_4BA9DD2B0D75422F98E510A44FE9D0BC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4BDEC7E5FB8B4BE8A303082523C30DE4" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_4C164EE0B13F4E6B936F142AF54BCCC4" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4C4DB70F410F4850AE14582A73F8F036" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_501BAFC837204D739A318CE0CA7ABEE4" + "MsmKey" = "8:_4C664495BF034E3784F38E5DB2A53EC9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4C8E5AF332D241DEAE4E2170FCD8AA5E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4CF1DC8DAD404615B04151ECC05E4D6C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4ED3DCD6B59744B9A253485D51812A8F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4F4D5B5B3D0F4737B3430DDA9618ACC6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4F86B16C0C4B487593522B946798E416" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4F86CFDF8FBA44B6B67755F702509942" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4FA92CF275B148FEBDB0D844E60EDC33" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -315,7 +687,13 @@ } "Entry" { - "MsmKey" = "8:_568B8665216143A4A6960BC78B46E50B" + "MsmKey" = "8:_5628E2F887FD4BFDB2814DC483A4DBC1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5714B4B9CB1F437CA8ABF56E1818EB7F" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -345,12 +723,48 @@ } "Entry" { + "MsmKey" = "8:_59B806E65D7B46EC9D470A77D642D561" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5A8A7E0EEC694CFDA8DD518FF8BC6A21" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5DCBC38C0053473BB5E67D5D30BAA5BE" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5E4ABF14BBAB40D6BABB1261912AF13F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_5EA20DF125F9498C84D4782AF5E90335" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_5EA7352D066D4A90ABA80E93BE0063F0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5FCCCDE082C14E84864F9247A8FA6C29" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_61CB09C14E0D4473B8A0EA969EAB1E64" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -381,13 +795,19 @@ } "Entry" { - "MsmKey" = "8:_69FEE7C4FA9442A2BD468537BD9B3C8E" + "MsmKey" = "8:_67B1155FBEA9402DB6F601603E38F2B9" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_6A87673101CC475AAECE152145306CAF" + "MsmKey" = "8:_6885697A7A164613AAF58AD8B7AB1D8C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6E2F715E50F2494295E70BE7C11CAF8C" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -399,12 +819,6 @@ } "Entry" { - "MsmKey" = "8:_725942C8DDB44236A5A404DB4BFC0EE4" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_72D25F20F2A846EBAF0B281370F3FD7E" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -429,6 +843,12 @@ } "Entry" { + "MsmKey" = "8:_7499CD53BC07491BB4DA3F9DE3BDF73C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_759DB44AA4E240AEB6CE9B798B7B0E37" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -441,25 +861,79 @@ } "Entry" { + "MsmKey" = "8:_7884E072548242C08F1A748186711A7E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_78975DDB6BEE4F3C84C7946660C07218" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_78A5687D78184135A40B0308F3F74A9D" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_78D584212CD54ACE864D8350D54A997C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7972AFF6AF014A969D0CC40A4EBC7D38" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7989C95CC9AA4EFC843368867C900A03" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7A04158254A148B890370EE31C4F4D67" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7A904FF1D27D40C399C72412CFC91C05" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_7ADDFE3D63114B7291316FA427083130" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_7AE9A7EE09964FB78D8B4AA404ACBDD3" + "MsmKey" = "8:_7B8EAC7B22E3449A9537455EDBAA5A04" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_7B8EAC7B22E3449A9537455EDBAA5A04" + "MsmKey" = "8:_7C1A5F2EBAD54E6A8B2695436A93A9E8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7C482416455342119EADF4808AB9C2BD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7FA10048B0B04139884F13BA3A38454B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -477,6 +951,12 @@ } "Entry" { + "MsmKey" = "8:_8282A23FEE87405B82348E4C2D4F6BA3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_83415CA3597C429294702315CE817597" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -495,7 +975,13 @@ } "Entry" { - "MsmKey" = "8:_88A4C0C5E609416B81C8B6839257D05F" + "MsmKey" = "8:_858FD60B18A14C15A920F96590584D43" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_87D9974596D64B29BB5A9DD17F187DCC" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -507,30 +993,66 @@ } "Entry" { + "MsmKey" = "8:_8D8C0807975D40DABD68E80EE6FE5846" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_8E2479A7DD6C48F88B7BCC1567A53892" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_8EDEBB65360A4010ABA6EACF1783B60F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8FF87C8FBAD543268DDB713649E6542F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_90A581E7652446DB986CA107BB560979" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_914BC3676C084D3EA8B1EE894A3A65C3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_917E92B16F744E96A4AFCA4E8AC2C517" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_9264E935662D4493B39A78D30A06D212" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_927AA2450359400398EC6015571C4680" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_93C0303AB4404342A678D17D628FE5D7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_9540F5F6C09C4B5FBE01A3035D924F0E" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -543,19 +1065,79 @@ } "Entry" { + "MsmKey" = "8:_97264F3ED2C540A29B27077B5338D028" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9775013055E044D7A11688DD2B7075B8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_98BF2B3AFFC7488FA75EA8B985BE7CE0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_99E6108635274D1BA8F5B21CBD597A8B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_9A25601EC45E461F9496D4DD1E562C30" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_9B1764A3D9A34676A458FD1363085C66" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_9D1935C46A004ADE9455308BD4B83AB6" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_A01140D74E0F49E9872D2F182CC29C20" + "MsmKey" = "8:_9DD6F3F2BB1E47308AC9FF371645B87B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E630D68D16143E0A9AF4A15373A961A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9FF949253F0D4A01AF1463E4D8568E4B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A1022F075C5D43F8AC0FDDEDC06FB490" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A1554F3E528746408238CCDA31E82A42" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A2084CB7A2364336AF3B31E92B44BF7F" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -567,6 +1149,12 @@ } "Entry" { + "MsmKey" = "8:_A4204292AA1B431DBF151D5376908CFB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_A4D5CA6D5A6A4E73968ED13026B71B9B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -579,6 +1167,30 @@ } "Entry" { + "MsmKey" = "8:_A7E13BFE2B5249B0870D2158F7CBCCEC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A8FAF6F247AD4DDE9FABE270390419E1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A916CA013C6F445B86E27DCFC8F8D73C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A9181EC7756E441E9418DF24EBA0017E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_A93ED93646FF4383AE0A662359FDA343" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -591,12 +1203,42 @@ } "Entry" { + "MsmKey" = "8:_AA096B219CEE4193814734C4979D5104" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_AB7D7FF80A6C47CCA15DCD8DDA0228D0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_AD3819F3FDBE442A8F57B9213C96B3E4" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AE23E6BAC31B407BBEDD75D52B916FB9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AEA964A0C4974F7387F96C982D294C7D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AF849AD60FF5426D9BCFBF693EB681F7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_AF949402E267492F89D9E51929ED8050" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -609,24 +1251,90 @@ } "Entry" { + "MsmKey" = "8:_B21DFBE64FD24DDB95EA7F4A5E0EC4D2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B320579C50124D17840BE1EE77AB0354" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B5F5B779F2A04F799B66DF2A43AA5D04" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B6A63C74C5C54F09BDF918A7D8FE2EFD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_B71FAEFCDCD34A8FB39491C4032DE7A0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_B750A63CE2E046FC814F0EA49EB870E0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B8A0D1B51F834187A8E6CCE9C16A9CCC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_BA64DEB4819D4F0D814181BB691C027C" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_BA96A5FC5E654A90A4357AFA78426D19" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BB678E9C471C495896D9113D29873C85" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BBDD28A486534A0F85E2B7AA4A5EAA10" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BDE57032D9494638AA7C198E07DE0FEB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_BE573665444F42B49D4F02ED085298A3" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_BEC314DD4DD44EF895B827DC57B88D5A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_BF1E9D828D734A568A847279AC8E6B23" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -639,6 +1347,12 @@ } "Entry" { + "MsmKey" = "8:_BF8D582C4E1741C89BDF87518E836662" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_BFFA5739E94D4D168A1D43E36F54C815" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -663,6 +1377,18 @@ } "Entry" { + "MsmKey" = "8:_C2F17354156345339423D9BC06873E1A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C4234BFAFBF9488686852FD9FBBE8E2F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_C4326D1F22044938BB5DE33E24BD08FA" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -675,24 +1401,78 @@ } "Entry" { + "MsmKey" = "8:_C4F9766AF6844857942D088A93BB952F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C5E1593A455A4880AC8CDCD559CFDCC3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C62122BE31A64E89A32C9FE0372F159F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_C6EDFE41F1A944658C4684999CB92AC6" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_C749532F139A4E1C82C8DA2D61D1A261" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C82F299827E445DDBE02E1519F54A266" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_C84BE68F0D9E42D3B9BD9C8A53DF049A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_C9925C988FCA443692D79AE603521B35" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CA554ECED5CC47FAAEBEF5D028E4AF4C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_CC1CFA31E16B400195E9B17F7F665062" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_CCE8D35BB612455A9C316DA2252B1FF0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_CD251E6069A845148BC74F9115C3D66A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_CD77DA0B0E314841A0A3EEBF7D13127D" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -705,12 +1485,36 @@ } "Entry" { + "MsmKey" = "8:_CEFF933FA41F47F3A5CE0256BAE72727" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D01BB5FFB89B460F8562473BD03DD050" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D06205A118D14DF7908BCCAFCFB389FE" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_D0A7CFAAC04146139FE0EEE3B12F1632" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_D11BE802A51D4C4B948C9A1665F2EF66" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_D2C2F69F414F43CBB247E8FBEE410766" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -723,18 +1527,6 @@ } "Entry" { - "MsmKey" = "8:_D610DF214BB1441884FFA8C6C259E6B8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D615DBC9A5FC4A5593552E11C6E09AA9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_D64BF6676ACD4A5ABDA1BD17B3E50147" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -747,6 +1539,30 @@ } "Entry" { + "MsmKey" = "8:_D857F9B0A37E4543852A29F30DCD45A8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DA0B51C0F1F64E78BA3C264D823BE8B2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DA42067932E540EFAD600D3C2B55040E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DACE51548D5B4B89A9206DA98725F70B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_DBCBA153A5EF4B869CF8A9003DFB5C35" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -759,6 +1575,36 @@ } "Entry" { + "MsmKey" = "8:_DD9D20190C11408584257E762B238C5F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DE7E02514BF246F680D554FE83DF8525" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E0727EA446B44C2CBA9FB561CF800219" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E087B7250D77459D973359F140F2CA5F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E15671F5185C408588BC30A20EC89391" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_E29CB3460C0B4A999B08C2B7176CC731" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -795,12 +1641,24 @@ } "Entry" { + "MsmKey" = "8:_E8020A6CC7B0420CA1D80A049916E26C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_E89B5E761ABA49648750E4DBADC6EBFB" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_E94B552C790F4E76964BB91220FE22BC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_EA117E55109E4929AD27B2D3FDF6AE2A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -819,12 +1677,60 @@ } "Entry" { + "MsmKey" = "8:_EDE82D37BB624253A871266E45BDE3B7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EE2FE6156FAB48B4BB231B6E033D172A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EF2A442A5E9342C588FCA408ADD1AA0F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F022FF511C544C81B6D2B8B92AF1032E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F161F1F5196441F59B726EBF086431D5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F40622A1A0C94EFBA12298BA3157616E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_F629465023B141219A88F93CD2845493" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_F7015A0E207740DA8A9B0A21A4273577" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F763B8522AD3448497197891B646231A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_F79FE80702F243699C87BB6DD5C6CB55" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -849,6 +1755,12 @@ } "Entry" { + "MsmKey" = "8:_FC1FB7B7F9DF445B923D0310239C9B92" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_FDAE83AE644D4C428F5E3F20AD73B810" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -1202,12 +2114,12 @@ } "File" { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_005CE3D98467436D97D469A9AFE3EFF8" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_003F78680C7D42258048E26832B54EAA" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\dots.png" - "TargetName" = "8:dots.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\WildcardType.java" + "TargetName" = "8:WildcardType.java" "Tag" = "8:" - "Folder" = "8:_56A98FDB83CE48C489B793615E24C057" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1222,12 +2134,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_009172D9B6C8445D94B50AD1CF326EB6" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_005CE3D98467436D97D469A9AFE3EFF8" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_3.png" - "TargetName" = "8:typedef_3.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\dots.png" + "TargetName" = "8:dots.png" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_56A98FDB83CE48C489B793615E24C057" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1282,26 +2194,6 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_01F276A2139C4A2FB5639D9C6224348E" - { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\bundle.png" - "TargetName" = "8:bundle.png" - "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_022DD44681F841FFB989FD6CCEAC277B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\minimize_inactive.png" @@ -1342,6 +2234,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_04B7DC6D324946C7B8BBF38A2A61A3F8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EmptyMemberDeclaration.java" + "TargetName" = "8:EmptyMemberDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_05E98FFFDCC84318ABFF997524A43891" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-time-l1-1-0.dll" @@ -1362,10 +2274,30 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0716215F49A34B19996FA5567EF50B41" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_06FE166EE0CE4CB1A9E7F2387E142E00" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\private.png" - "TargetName" = "8:private.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MarkerAnnotationExpr.java" + "TargetName" = "8:MarkerAnnotationExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0742AAF27E0A42D4B88234D73917AA07" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_2.png" + "TargetName" = "8:macro_2.png" "Tag" = "8:" "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" "Condition" = "8:" @@ -1382,6 +2314,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0899A45799904A879E4D98B15089EDD9" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\progress_bar_element.png" + "TargetName" = "8:progress_bar_element.png" + "Tag" = "8:" + "Folder" = "8:_8139CFEE0A0B4856A5A939C63F697047" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0C6F8E3E9815483DB9B9525A5CB12BC7" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\Qt5Network.dll" @@ -1402,6 +2354,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0CA34E24D81C4F169805B8949A00C318" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\DumpVisitor.java" + "TargetName" = "8:DumpVisitor.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0CCDD7FDCF5A42839D9633D8FDAD1B58" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\VariableDeclaratorId.java" + "TargetName" = "8:VariableDeclaratorId.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0D1EE37B07CA480189F667F86CF2F595" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithName.java" + "TargetName" = "8:NodeWithName.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0EE1E4EA6AA24123A12B7D29D9EAD5BD" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\platforms\\qwindows.dll" @@ -1442,6 +2454,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1406414F43EB4ED4BE7449D93F8AAED3" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ReturnStmt.java" + "TargetName" = "8:ReturnStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_148320DF7A8543588B17D1370B542612" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\StringProvider.java" + "TargetName" = "8:StringProvider.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_15F7B1B7D56449C6BBB276461F21CC41" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\Type.java" + "TargetName" = "8:Type.java" + "Tag" = "8:" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1715B0A39C0F48C2BD616BB5EE278EA1" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\about\\logo_aws.png" @@ -1462,6 +2534,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_177E2382C5704B1F83AE7C3367294729" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\file.png" + "TargetName" = "8:file.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_17E01ED758AE4C8DA24511FCB2EA736E" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\SourceCodePro-Bold.otf" @@ -1542,6 +2634,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1B872F4B8BF64937B54B5C4038F75258" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LambdaExpr.java" + "TargetName" = "8:LambdaExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1B9BFE4FF7844A709077984526432665" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\snippet_active.png" @@ -1562,6 +2674,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1C3B63F1F4C44C79B93B287179C13706" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\public.png" + "TargetName" = "8:public.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1D695F7C4DE2429086271A1C93BFEBDF" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\graph_view.css" @@ -1582,12 +2714,72 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_20111EBBFD2C4A28960ACB36B2D98D66" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1DD698E9B41F4A5389B36CB59B3CD68E" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\file.png" - "TargetName" = "8:file.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\SuperExpr.java" + "TargetName" = "8:SuperExpr.java" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1E03352C9D8F444ABB762E4E5B149E8C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\IntegerLiteralExpr.java" + "TargetName" = "8:IntegerLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1E1A2DB2573E4EEB927ECDFABD05807B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MethodCallExpr.java" + "TargetName" = "8:MethodCallExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1FE607B04CF34E1D9912838D9EDFB6C2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\LineComment.java" + "TargetName" = "8:LineComment.java" + "Tag" = "8:" + "Folder" = "8:_3625246A30E444869598D880FACF1A2F" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1642,6 +2834,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_23DB6D5984CB42AFBA09ABA6A1644213" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\SynchronizedStmt.java" + "TargetName" = "8:SynchronizedStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_23EBC16FC2B945B4BF4CB7521244A978" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\TypeParameter.java" + "TargetName" = "8:TypeParameter.java" + "Tag" = "8:" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_26803C347D134C58B947EEEC4F5E4500" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\BreakStmt.java" + "TargetName" = "8:BreakStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_268096AE0E214C2D909401F5B0171AE9" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ASTParserConstants.java" + "TargetName" = "8:ASTParserConstants.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_276D0B49D53A4358ADDF7CB771985B9A" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\about\\logo_coati.png" @@ -1682,6 +2954,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_28E7F0EF5ECC4A8A94D02044446E2399" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\error.png" + "TargetName" = "8:error.png" + "Tag" = "8:" + "Folder" = "8:_8139CFEE0A0B4856A5A939C63F697047" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2945D8F5AB7A4982AEACC33696B45E08" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithParameters.java" + "TargetName" = "8:NodeWithParameters.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2999C7B11E7348678A2D814CF19ADD26" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\VariableDeclarator.java" + "TargetName" = "8:VariableDeclarator.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2AF0417D24FD4C69A9D1F68F6001222B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\license\\license.css" @@ -1702,6 +3034,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2D6311A1A56D4413838668C810DD6F10" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\TypeExpr.java" + "TargetName" = "8:TypeExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2DA06C4E301647A58D13904DAE5A1010" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\FiraSans-Regular.otf" @@ -1742,6 +3094,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2F851210047D4D6C81A63BD9C0821AA7" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\CatchClause.java" + "TargetName" = "8:CatchClause.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_301B90BA03F941F09C98641B1A444FAA" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\ClassOrInterfaceDeclaration.java" + "TargetName" = "8:ClassOrInterfaceDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_30942A550DC5439589B0FF722128BB64" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\io.cpp" @@ -1762,12 +3154,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_31E8F761927044E2B21D3E6F2CE14FB7" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_30A3EDA9B6DF4941B21B004F4A62FDA9" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_1.png" - "TargetName" = "8:typedef_1.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\BlockStmt.java" + "TargetName" = "8:BlockStmt.java" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1782,12 +3174,72 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_344F1271147B4CC78892F9AAC1BF6D92" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3182077AF490472DBFF56D04DBF8EE7E" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\pattern.png" - "TargetName" = "8:pattern.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\SwitchEntryStmt.java" + "TargetName" = "8:SwitchEntryStmt.java" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_323CDE2B9CB54765B37221C4DA5FD353" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\ClassOrInterfaceType.java" + "TargetName" = "8:ClassOrInterfaceType.java" + "Tag" = "8:" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_32594C8A696949B8B8784056954932C2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\javaparser-core.jar" + "TargetName" = "8:javaparser-core.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_342FF4864EF246DC8621F76D6D664CF0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EnumConstantDeclaration.java" + "TargetName" = "8:EnumConstantDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1822,6 +3274,146 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_351042FE429648198B502BB5714EB03B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\TryStmt.java" + "TargetName" = "8:TryStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3528A8C5081B4C3E9D06D26FA9793FEF" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ConditionalExpr.java" + "TargetName" = "8:ConditionalExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3663897146DC439DB03C46C2553CAF6B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\bundle.png" + "TargetName" = "8:bundle.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_37678F8525E54E1686F6E82525639227" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\InstanceOfExpr.java" + "TargetName" = "8:InstanceOfExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3796F54F2DD84F22A4241A3995E97F43" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\AnnotationExpr.java" + "TargetName" = "8:AnnotationExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3810571BE66049BABF82DE81AED63BC8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\EmptyStmt.java" + "TargetName" = "8:EmptyStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_38777878247C4C58990EBAA9A8DC0953" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\javaparser.coatiproject" + "TargetName" = "8:javaparser.coatiproject" + "Tag" = "8:" + "Folder" = "8:_E5D781F3431845C099B2960729569853" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_38986F0870A14310AE4A8143F59891A8" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\SourceCodePro_License.txt" @@ -1842,12 +3434,72 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_392BD98F61CB4859B016DA46672067D5" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_39087DA9344A4A93B13BA40F56DE3794" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\public.png" - "TargetName" = "8:public.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\NormalAnnotationExpr.java" + "TargetName" = "8:NormalAnnotationExpr.java" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3A9C8E9C738742BB95CD546992AF75F6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\GenericVisitor.java" + "TargetName" = "8:GenericVisitor.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3AA2627BB70C4CEC8F8449CCA0154CB3" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\ReferenceType.java" + "TargetName" = "8:ReferenceType.java" + "Tag" = "8:" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3AD46C8677A148BB980462973AC83506" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\VoidVisitor.java" + "TargetName" = "8:VoidVisitor.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1882,6 +3534,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3D939D4AAD5741E49B28AD6028DBC4EE" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\TokenMgrException.java" + "TargetName" = "8:TokenMgrException.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3E1EB41A12644977BE785685E59E0CCA" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\Statement.java" + "TargetName" = "8:Statement.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3F05A809C5564468B416D7F5E660B112" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\MultiTypeParameter.java" + "TargetName" = "8:MultiTypeParameter.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3F79FA8B22724A7D9F0C620278D5A4B6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithJavaDoc.java" + "TargetName" = "8:NodeWithJavaDoc.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3FCDDB859BC247E0B2634CBD56E2B763" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\artificial_player.h" @@ -1902,6 +3634,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_406B61B0DAF446C2AE39F58978D63506" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithDeclaration.java" + "TargetName" = "8:NodeWithDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_416C323211874EBD97313003ED53612D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ArrayAccessExpr.java" + "TargetName" = "8:ArrayAccessExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4219AE9E34EA49A8A35920B73F389D42" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\about\\logo_fhs.png" @@ -1922,6 +3694,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_422B9C0A10C64B5783B84FB0DAB00569" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\VoidVisitorAdapter.java" + "TargetName" = "8:VoidVisitorAdapter.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4249DEA63E5D431CBB58FC5C8BFBDF34" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ThrowStmt.java" + "TargetName" = "8:ThrowStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_43F58849B43F4A4B86A0723EA928BF94" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\IntersectionType.java" + "TargetName" = "8:IntersectionType.java" + "Tag" = "8:" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4400372852214CC588823F7A1A9F5F5D" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\Qt5Gui.dll" @@ -1982,6 +3814,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_44ECE5D3980A4F5B8E2FBFAB2B55AF65" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_1.png" + "TargetName" = "8:macro_1.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_45DC2D5A95BC444F9810EADE9598735A" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\main.css" @@ -2002,6 +3854,126 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_46FB973B6DE2422CB233496A56F851B0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ObjectCreationExpr.java" + "TargetName" = "8:ObjectCreationExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_471762F0CCEA4DC88755F733975A522C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ArrayInitializerExpr.java" + "TargetName" = "8:ArrayInitializerExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4717FFF1901D48DAA8A20646997BF106" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EmptyTypeDeclaration.java" + "TargetName" = "8:EmptyTypeDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_495177108A284717AB355495B709494B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\TreeVisitor.java" + "TargetName" = "8:TreeVisitor.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_49FBF90E3A114440B476A0F1E34E5CE1" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ContinueStmt.java" + "TargetName" = "8:ContinueStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4A97AB5EAF394D03A73BEEDE2E02D375" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ArrayCreationExpr.java" + "TargetName" = "8:ArrayCreationExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4B368A3CA7ED47C584B8275181DC052F" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\search_tutorial_2.h" @@ -2042,6 +4014,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4BA9DD2B0D75422F98E510A44FE9D0BC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_2.png" + "TargetName" = "8:enum_2.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4BDEC7E5FB8B4BE8A303082523C30DE4" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\graph_tutorial_3.h" @@ -2062,6 +4054,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4C164EE0B13F4E6B936F142AF54BCCC4" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\FieldAccessExpr.java" + "TargetName" = "8:FieldAccessExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4C4DB70F410F4850AE14582A73F8F036" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\code_view.css" @@ -2082,10 +4094,10 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_501BAFC837204D739A318CE0CA7ABEE4" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4C664495BF034E3784F38E5DB2A53EC9" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_2.png" - "TargetName" = "8:macro_2.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_1.png" + "TargetName" = "8:typedef_1.png" "Tag" = "8:" "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" "Condition" = "8:" @@ -2102,6 +4114,146 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4C8E5AF332D241DEAE4E2170FCD8AA5E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\Node.java" + "TargetName" = "8:Node.java" + "Tag" = "8:" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4CF1DC8DAD404615B04151ECC05E4D6C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\NullLiteralExpr.java" + "TargetName" = "8:NullLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4ED3DCD6B59744B9A253485D51812A8F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\StringLiteralExpr.java" + "TargetName" = "8:StringLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4F4D5B5B3D0F4737B3430DDA9618ACC6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\Range.java" + "TargetName" = "8:Range.java" + "Tag" = "8:" + "Folder" = "8:_5A6D5C32C42B48EC9970FE16A5CED940" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4F86B16C0C4B487593522B946798E416" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\FieldDeclaration.java" + "TargetName" = "8:FieldDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4F86CFDF8FBA44B6B67755F702509942" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\JavaCharStream.java" + "TargetName" = "8:JavaCharStream.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4FA92CF275B148FEBDB0D844E60EDC33" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\utils\\ClassUtils.java" + "TargetName" = "8:ClassUtils.java" + "Tag" = "8:" + "Folder" = "8:_6C330BDC864248CEB243203F388EFD7A" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_52A9DE01553E44C09BD0BC4950BADD47" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\edit.png" @@ -2162,12 +4314,32 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_568B8665216143A4A6960BC78B46E50B" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5628E2F887FD4BFDB2814DC483A4DBC1" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_3.png" - "TargetName" = "8:macro_3.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\LabeledStmt.java" + "TargetName" = "8:LabeledStmt.java" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5714B4B9CB1F437CA8ABF56E1818EB7F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\Parameter.java" + "TargetName" = "8:Parameter.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2262,6 +4434,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_59B806E65D7B46EC9D470A77D642D561" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\flag.png" + "TargetName" = "8:flag.png" + "Tag" = "8:" + "Folder" = "8:_8139CFEE0A0B4856A5A939C63F697047" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5A8A7E0EEC694CFDA8DD518FF8BC6A21" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\StreamProvider.java" + "TargetName" = "8:StreamProvider.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5DCBC38C0053473BB5E67D5D30BAA5BE" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\javacc\\java_1_8.jj" + "TargetName" = "8:java_1_8.jj" + "Tag" = "8:" + "Folder" = "8:_FFB1E129BF6C4F3687F1D49EBE804B68" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5E4ABF14BBAB40D6BABB1261912AF13F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\guava-18.0.jar" + "TargetName" = "8:guava-18.0.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5EA20DF125F9498C84D4782AF5E90335" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\splash_blue.png" @@ -2282,6 +4534,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5EA7352D066D4A90ABA80E93BE0063F0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_3.png" + "TargetName" = "8:macro_3.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5FCCCDE082C14E84864F9247A8FA6C29" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\javassist-3.19.0-GA.jar" + "TargetName" = "8:javassist-3.19.0-GA.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_61CB09C14E0D4473B8A0EA969EAB1E64" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\player.h" @@ -2382,10 +4674,10 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_69FEE7C4FA9442A2BD468537BD9B3C8E" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_67B1155FBEA9402DB6F601603E38F2B9" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\arrow.png" - "TargetName" = "8:arrow.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_3.png" + "TargetName" = "8:typedef_3.png" "Tag" = "8:" "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" "Condition" = "8:" @@ -2402,12 +4694,32 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6A87673101CC475AAECE152145306CAF" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6885697A7A164613AAF58AD8B7AB1D8C" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\template.png" - "TargetName" = "8:template.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LongLiteralMinValueExpr.java" + "TargetName" = "8:LongLiteralMinValueExpr.java" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6E2F715E50F2494295E70BE7C11CAF8C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\NameExpr.java" + "TargetName" = "8:NameExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2442,26 +4754,6 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_725942C8DDB44236A5A404DB4BFC0EE4" - { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\protected.png" - "TargetName" = "8:protected.png" - "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_72D25F20F2A846EBAF0B281370F3FD7E" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\my_first_step.h" @@ -2542,6 +4834,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7499CD53BC07491BB4DA3F9DE3BDF73C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\BodyDeclaration.java" + "TargetName" = "8:BodyDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_759DB44AA4E240AEB6CE9B798B7B0E37" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\logo.png" @@ -2582,6 +4894,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7884E072548242C08F1A748186711A7E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-indexer.jar" + "TargetName" = "8:java-indexer.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_78975DDB6BEE4F3C84C7946660C07218" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ExpressionStmt.java" + "TargetName" = "8:ExpressionStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_78A5687D78184135A40B0308F3F74A9D" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-environment-l1-1-0.dll" @@ -2602,6 +4954,106 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_78D584212CD54ACE864D8350D54A997C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\CommentsCollection.java" + "TargetName" = "8:CommentsCollection.java" + "Tag" = "8:" + "Folder" = "8:_3625246A30E444869598D880FACF1A2F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7972AFF6AF014A969D0CC40A4EBC7D38" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\Comment.java" + "TargetName" = "8:Comment.java" + "Tag" = "8:" + "Folder" = "8:_3625246A30E444869598D880FACF1A2F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7989C95CC9AA4EFC843368867C900A03" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\IntegerLiteralMinValueExpr.java" + "TargetName" = "8:IntegerLiteralMinValueExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7A04158254A148B890370EE31C4F4D67" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithBlockStmt.java" + "TargetName" = "8:NodeWithBlockStmt.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7A904FF1D27D40C399C72412CFC91C05" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\ConstructorDeclaration.java" + "TargetName" = "8:ConstructorDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7ADDFE3D63114B7291316FA427083130" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\listbox.css" @@ -2622,12 +5074,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7AE9A7EE09964FB78D8B4AA404ACBDD3" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7B8EAC7B22E3449A9537455EDBAA5A04" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_1.png" - "TargetName" = "8:enum_1.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\about\\icon_close.png" + "TargetName" = "8:icon_close.png" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_AB837C90F6AB4A1B9013CFBF5C35956A" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2642,12 +5094,52 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7B8EAC7B22E3449A9537455EDBAA5A04" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7C1A5F2EBAD54E6A8B2695436A93A9E8" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\about\\icon_close.png" - "TargetName" = "8:icon_close.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\PrimitiveType.java" + "TargetName" = "8:PrimitiveType.java" "Tag" = "8:" - "Folder" = "8:_AB837C90F6AB4A1B9013CFBF5C35956A" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7C482416455342119EADF4808AB9C2BD" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\indexing_dialog.css" + "TargetName" = "8:indexing_dialog.css" + "Tag" = "8:" + "Folder" = "8:_8139CFEE0A0B4856A5A939C63F697047" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7FA10048B0B04139884F13BA3A38454B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\pattern.png" + "TargetName" = "8:pattern.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2702,6 +5194,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8282A23FEE87405B82348E4C2D4F6BA3" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\VariableDeclarationExpr.java" + "TargetName" = "8:VariableDeclarationExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_83415CA3597C429294702315CE817597" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-heap-l1-1-0.dll" @@ -2762,12 +5274,32 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_88A4C0C5E609416B81C8B6839257D05F" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_858FD60B18A14C15A920F96590584D43" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_2.png" - "TargetName" = "8:typedef_2.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\AccessSpecifier.java" + "TargetName" = "8:AccessSpecifier.java" "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_87D9974596D64B29BB5A9DD17F187DCC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\AnnotationDeclaration.java" + "TargetName" = "8:AnnotationDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2802,6 +5334,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8D8C0807975D40DABD68E80EE6FE5846" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ASTParserTokenManager.java" + "TargetName" = "8:ASTParserTokenManager.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8E2479A7DD6C48F88B7BCC1567A53892" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\code_tutorial_2.h" @@ -2822,6 +5374,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8EDEBB65360A4010ABA6EACF1783B60F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\ModifierVisitorAdapter.java" + "TargetName" = "8:ModifierVisitorAdapter.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8FF87C8FBAD543268DDB713649E6542F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\TypeDeclaration.java" + "TargetName" = "8:TypeDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_90A581E7652446DB986CA107BB560979" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-math-l1-1-0.dll" @@ -2842,6 +5434,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_914BC3676C084D3EA8B1EE894A3A65C3" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithModifiers.java" + "TargetName" = "8:NodeWithModifiers.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_917E92B16F744E96A4AFCA4E8AC2C517" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\maximize_active.png" @@ -2862,6 +5474,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9264E935662D4493B39A78D30A06D212" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\WhileStmt.java" + "TargetName" = "8:WhileStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_927AA2450359400398EC6015571C4680" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\human_player.cpp" @@ -2882,6 +5514,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_93C0303AB4404342A678D17D628FE5D7" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\DoStmt.java" + "TargetName" = "8:DoStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9540F5F6C09C4B5FBE01A3035D924F0E" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\search_tutorial_3.h" @@ -2922,6 +5574,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_97264F3ED2C540A29B27077B5338D028" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\private.png" + "TargetName" = "8:private.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9775013055E044D7A11688DD2B7075B8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\javaslang-2.0.0-beta.jar" + "TargetName" = "8:javaslang-2.0.0-beta.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_98BF2B3AFFC7488FA75EA8B985BE7CE0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MemberValuePair.java" + "TargetName" = "8:MemberValuePair.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_99E6108635274D1BA8F5B21CBD597A8B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-symbol-solver-core.jar" + "TargetName" = "8:java-symbol-solver-core.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9A25601EC45E461F9496D4DD1E562C30" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\search_tutorial_4.h" @@ -2942,6 +5674,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9B1764A3D9A34676A458FD1363085C66" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\MethodDeclaration.java" + "TargetName" = "8:MethodDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9D1935C46A004ADE9455308BD4B83AB6" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\plus.png" @@ -2962,10 +5714,50 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A01140D74E0F49E9872D2F182CC29C20" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9DD6F3F2BB1E47308AC9FF371645B87B" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_1.png" - "TargetName" = "8:macro_1.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\JavaParser.java" + "TargetName" = "8:JavaParser.java" + "Tag" = "8:" + "Folder" = "8:_5A6D5C32C42B48EC9970FE16A5CED940" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9E630D68D16143E0A9AF4A15373A961A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithMembers.java" + "TargetName" = "8:NodeWithMembers.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9FF949253F0D4A01AF1463E4D8568E4B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_1.png" + "TargetName" = "8:enum_1.png" "Tag" = "8:" "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" "Condition" = "8:" @@ -2982,6 +5774,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A1022F075C5D43F8AC0FDDEDC06FB490" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ParseException.java" + "TargetName" = "8:ParseException.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A1554F3E528746408238CCDA31E82A42" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MethodReferenceExpr.java" + "TargetName" = "8:MethodReferenceExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A2084CB7A2364336AF3B31E92B44BF7F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\VoidType.java" + "TargetName" = "8:VoidType.java" + "Tag" = "8:" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A247B3AFC6E34A65A4320F079652396B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\maximize_inactive.png" @@ -3002,6 +5854,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A4204292AA1B431DBF151D5376908CFB" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\InitializerDeclaration.java" + "TargetName" = "8:InitializerDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A4D5CA6D5A6A4E73968ED13026B71B9B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\main.cpp" @@ -3042,6 +5914,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A7E13BFE2B5249B0870D2158F7CBCCEC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ExplicitConstructorInvocationStmt.java" + "TargetName" = "8:ExplicitConstructorInvocationStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A8FAF6F247AD4DDE9FABE270390419E1" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\EqualsVisitor.java" + "TargetName" = "8:EqualsVisitor.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A916CA013C6F445B86E27DCFC8F8D73C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\IfStmt.java" + "TargetName" = "8:IfStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A9181EC7756E441E9418DF24EBA0017E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ForeachStmt.java" + "TargetName" = "8:ForeachStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A93ED93646FF4383AE0A662359FDA343" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\installer\\EULA.rtf" @@ -3082,6 +6034,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AA096B219CEE4193814734C4979D5104" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\BlockComment.java" + "TargetName" = "8:BlockComment.java" + "Tag" = "8:" + "Folder" = "8:_3625246A30E444869598D880FACF1A2F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AB7D7FF80A6C47CCA15DCD8DDA0228D0" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\refresh_view\\images\\refresh.png" @@ -3102,6 +6074,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AD3819F3FDBE442A8F57B9213C96B3E4" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\QualifiedNameExpr.java" + "TargetName" = "8:QualifiedNameExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AE23E6BAC31B407BBEDD75D52B916FB9" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\ImportDeclaration.java" + "TargetName" = "8:ImportDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AEA964A0C4974F7387F96C982D294C7D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ForStmt.java" + "TargetName" = "8:ForStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AF849AD60FF5426D9BCFBF693EB681F7" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithThrowable.java" + "TargetName" = "8:NodeWithThrowable.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AF949402E267492F89D9E51929ED8050" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\undoredo_view\\undoredo_view.css" @@ -3142,6 +6194,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B21DFBE64FD24DDB95EA7F4A5E0EC4D2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\Modifier.java" + "TargetName" = "8:Modifier.java" + "Tag" = "8:" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B320579C50124D17840BE1EE77AB0354" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\SwitchStmt.java" + "TargetName" = "8:SwitchStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B5F5B779F2A04F799B66DF2A43AA5D04" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\BaseParameter.java" + "TargetName" = "8:BaseParameter.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B6A63C74C5C54F09BDF918A7D8FE2EFD" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\JavadocComment.java" + "TargetName" = "8:JavadocComment.java" + "Tag" = "8:" + "Folder" = "8:_3625246A30E444869598D880FACF1A2F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B71FAEFCDCD34A8FB39491C4032DE7A0" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\SourceCodePro-Regular.otf" @@ -3162,6 +6294,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B750A63CE2E046FC814F0EA49EB870E0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\default.png" + "TargetName" = "8:default.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B8A0D1B51F834187A8E6CCE9C16A9CCC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\Position.java" + "TargetName" = "8:Position.java" + "Tag" = "8:" + "Folder" = "8:_5A6D5C32C42B48EC9970FE16A5CED940" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BA64DEB4819D4F0D814181BB691C027C" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-utility-l1-1-0.dll" @@ -3182,6 +6354,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BA96A5FC5E654A90A4357AFA78426D19" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ASTParser.java" + "TargetName" = "8:ASTParser.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BB678E9C471C495896D9113D29873C85" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\DoubleLiteralExpr.java" + "TargetName" = "8:DoubleLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BBDD28A486534A0F85E2B7AA4A5EAA10" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\CloneVisitor.java" + "TargetName" = "8:CloneVisitor.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BDE57032D9494638AA7C198E07DE0FEB" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\utils\\PositionUtils.java" + "TargetName" = "8:PositionUtils.java" + "Tag" = "8:" + "Folder" = "8:_6C330BDC864248CEB243203F388EFD7A" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BE573665444F42B49D4F02ED085298A3" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-locale-l1-1-0.dll" @@ -3202,6 +6454,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BEC314DD4DD44EF895B827DC57B88D5A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithAnnotations.java" + "TargetName" = "8:NodeWithAnnotations.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BF1E9D828D734A568A847279AC8E6B23" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\code_tutorial_1.h" @@ -3242,6 +6514,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BF8D582C4E1741C89BDF87518E836662" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\TypeArguments.java" + "TargetName" = "8:TypeArguments.java" + "Tag" = "8:" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BFFA5739E94D4D168A1D43E36F54C815" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\field.cpp" @@ -3322,6 +6614,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C2F17354156345339423D9BC06873E1A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\AssertStmt.java" + "TargetName" = "8:AssertStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C4234BFAFBF9488686852FD9FBBE8E2F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\CommentsInserter.java" + "TargetName" = "8:CommentsInserter.java" + "Tag" = "8:" + "Folder" = "8:_5A6D5C32C42B48EC9970FE16A5CED940" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C4326D1F22044938BB5DE33E24BD08FA" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\plus_hover.png" @@ -3362,6 +6694,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C4F9766AF6844857942D088A93BB952F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\protected.png" + "TargetName" = "8:protected.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C5E1593A455A4880AC8CDCD559CFDCC3" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EnumDeclaration.java" + "TargetName" = "8:EnumDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C62122BE31A64E89A32C9FE0372F159F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\SingleMemberAnnotationExpr.java" + "TargetName" = "8:SingleMemberAnnotationExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C6EDFE41F1A944658C4684999CB92AC6" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\statusbar_view\\dot.png" @@ -3382,6 +6774,106 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C749532F139A4E1C82C8DA2D61D1A261" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\CastExpr.java" + "TargetName" = "8:CastExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C82F299827E445DDBE02E1519F54A266" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithType.java" + "TargetName" = "8:NodeWithType.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C9925C988FCA443692D79AE603521B35" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\GenericVisitorAdapter.java" + "TargetName" = "8:GenericVisitorAdapter.java" + "Tag" = "8:" + "Folder" = "8:_1674B4FA08C74118888771BD61A14674" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CA554ECED5CC47FAAEBEF5D028E4AF4C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\PackageDeclaration.java" + "TargetName" = "8:PackageDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CC1CFA31E16B400195E9B17F7F665062" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\Provider.java" + "TargetName" = "8:Provider.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CCE8D35BB612455A9C316DA2252B1FF0" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-stdio-l1-1-0.dll" @@ -3402,6 +6894,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CD251E6069A845148BC74F9115C3D66A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\UnionType.java" + "TargetName" = "8:UnionType.java" + "Tag" = "8:" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CD77DA0B0E314841A0A3EEBF7D13127D" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\my_next_step.h" @@ -3442,6 +6954,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CEFF933FA41F47F3A5CE0256BAE72727" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\TypeDeclarationStmt.java" + "TargetName" = "8:TypeDeclarationStmt.java" + "Tag" = "8:" + "Folder" = "8:_CC1C3509584A45AFB2F3541225DB70C1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D01BB5FFB89B460F8562473BD03DD050" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\CommentsParser.java" + "TargetName" = "8:CommentsParser.java" + "Tag" = "8:" + "Folder" = "8:_3625246A30E444869598D880FACF1A2F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D06205A118D14DF7908BCCAFCFB389FE" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LiteralExpr.java" + "TargetName" = "8:LiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D0A7CFAAC04146139FE0EEE3B12F1632" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\color_schemes\\bad_rainbow.xml" @@ -3462,6 +7034,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D11BE802A51D4C4B948C9A1665F2EF66" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithArrays.java" + "TargetName" = "8:NodeWithArrays.java" + "Tag" = "8:" + "Folder" = "8:_02DB30545CB84C77BC49941A5280272C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D2C2F69F414F43CBB247E8FBEE410766" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\Roboto-Bold.ttf" @@ -3502,46 +7094,6 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D610DF214BB1441884FFA8C6C259E6B8" - { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\refresh_view\\images\\auto_refresh.png" - "TargetName" = "8:auto_refresh.png" - "Tag" = "8:" - "Folder" = "8:_73FC0C646D0345F3B6A7876D89472CF5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D615DBC9A5FC4A5593552E11C6E09AA9" - { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_2.png" - "TargetName" = "8:enum_2.png" - "Tag" = "8:" - "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D64BF6676ACD4A5ABDA1BD17B3E50147" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\minus.png" @@ -3582,6 +7134,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D857F9B0A37E4543852A29F30DCD45A8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\UnknownType.java" + "TargetName" = "8:UnknownType.java" + "Tag" = "8:" + "Folder" = "8:_4BC10307C9F84B32892A3C3EAD2BA9E8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DA0B51C0F1F64E78BA3C264D823BE8B2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ThisExpr.java" + "TargetName" = "8:ThisExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DA42067932E540EFAD600D3C2B55040E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ClassExpr.java" + "TargetName" = "8:ClassExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DACE51548D5B4B89A9206DA98725F70B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-symbol-solver-model.jar" + "TargetName" = "8:java-symbol-solver-model.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DBCBA153A5EF4B869CF8A9003DFB5C35" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\Qt5Core.dll" @@ -3622,6 +7254,106 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DD9D20190C11408584257E762B238C5F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\CompilationUnit.java" + "TargetName" = "8:CompilationUnit.java" + "Tag" = "8:" + "Folder" = "8:_CCF66FB3364B40C3B001385588153D58" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DE7E02514BF246F680D554FE83DF8525" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\Token.java" + "TargetName" = "8:Token.java" + "Tag" = "8:" + "Folder" = "8:_FE908E2B1FD5499F8AEBEC7827E7CB63" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E0727EA446B44C2CBA9FB561CF800219" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LongLiteralExpr.java" + "TargetName" = "8:LongLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E087B7250D77459D973359F140F2CA5F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\AssignExpr.java" + "TargetName" = "8:AssignExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E15671F5185C408588BC30A20EC89391" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_2.png" + "TargetName" = "8:typedef_2.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E29CB3460C0B4A999B08C2B7176CC731" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\help_hover.png" @@ -3742,6 +7474,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E8020A6CC7B0420CA1D80A049916E26C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\UnaryExpr.java" + "TargetName" = "8:UnaryExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E89B5E761ABA49648750E4DBADC6EBFB" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\SourceCodePro-Medium.otf" @@ -3762,6 +7514,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E94B552C790F4E76964BB91220FE22BC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-symbol-solver-logic.jar" + "TargetName" = "8:java-symbol-solver-logic.jar" + "Tag" = "8:" + "Folder" = "8:_6B71EAD80F894B6AB73599341682D90E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EA117E55109E4929AD27B2D3FDF6AE2A" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\io.h" @@ -3822,6 +7594,126 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EDE82D37BB624253A871266E45BDE3B7" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\BinaryExpr.java" + "TargetName" = "8:BinaryExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EE2FE6156FAB48B4BB231B6E033D172A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\EnclosedExpr.java" + "TargetName" = "8:EnclosedExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EF2A442A5E9342C588FCA408ADD1AA0F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\Expression.java" + "TargetName" = "8:Expression.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F022FF511C544C81B6D2B8B92AF1032E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\AnnotationMemberDeclaration.java" + "TargetName" = "8:AnnotationMemberDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_DAA2D5A836694BB4A0E2400B30F0E820" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F161F1F5196441F59B726EBF086431D5" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\CharLiteralExpr.java" + "TargetName" = "8:CharLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F40622A1A0C94EFBA12298BA3157616E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\BooleanLiteralExpr.java" + "TargetName" = "8:BooleanLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_283F8EF65597480385CF78879404B1EE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F629465023B141219A88F93CD2845493" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\utility.h" @@ -3842,6 +7734,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F7015A0E207740DA8A9B0A21A4273577" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\arrow.png" + "TargetName" = "8:arrow.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F763B8522AD3448497197891B646231A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\utils\\Utils.java" + "TargetName" = "8:Utils.java" + "Tag" = "8:" + "Folder" = "8:_6C330BDC864248CEB243203F388EFD7A" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F79FE80702F243699C87BB6DD5C6CB55" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\statusbar_view\\loader.gif" @@ -3882,6 +7814,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FC1FB7B7F9DF445B923D0310239C9B92" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\template.png" + "TargetName" = "8:template.png" + "Tag" = "8:" + "Folder" = "8:_DD1D3BEFB3144043B35CA1EF51417100" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FDAE83AE644D4C428F5E3F20AD73B810" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\player.cpp" @@ -4003,6 +7955,17 @@ { } } + "{9EF0B969-E518-4E46-987F-47570745A589}:_6B71EAD80F894B6AB73599341682D90E" + { + "Name" = "8:java" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_946A99B74B7648E4BD39D6B1A3ADDDCF" + "Folders" + { + } + } "{9EF0B969-E518-4E46-987F-47570745A589}:_87CAFD99D4124707A422D6E9CE9EB332" { "Name" = "8:gui" @@ -4089,6 +8052,17 @@ { } } + "{9EF0B969-E518-4E46-987F-47570745A589}:_8139CFEE0A0B4856A5A939C63F697047" + { + "Name" = "8:indexing_dialog" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_AC7613012A9F437D8189ECD0AA26D26C" + "Folders" + { + } + } "{9EF0B969-E518-4E46-987F-47570745A589}:_843BE9E3F79544198C9011E935C92F66" { "Name" = "8:license" @@ -4290,6 +8264,259 @@ } } } + "{9EF0B969-E518-4E46-987F-47570745A589}:_E5D781F3431845C099B2960729569853" + { + "Name" = "8:javaparser" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_3136C8176D164A78918FB941A5DD7F19" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_6FDD4DA1778B44C0A391DCD7D4B3C0E0" + { + "Name" = "8:src" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_9D55862074284561A26D03998076B635" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_27DB6A3A4E8D47D8AB084BA3920BE68F" + { + "Name" = "8:main" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_63F659D3906840DF83DBE2E0A72E0EF9" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_C106B1EBF534486890D555A23594C824" + { + "Name" = "8:java" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_066D46D89EEE45F49507AA7E3DE8D787" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_F9940639300245798CAFC8531D859E7D" + { + "Name" = "8:com" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_00A7B557F94D4616B1C17D6FCBA008DD" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_333C25D53AAB46229FF1FDCC21703201" + { + "Name" = "8:github" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_F563142393C741788C55CD2D39ABFEDC" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_5A6D5C32C42B48EC9970FE16A5CED940" + { + "Name" = "8:javaparser" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_418A226AB4094AA79C9249AC169E5B35" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_6C330BDC864248CEB243203F388EFD7A" + { + "Name" = "8:utils" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_2EEB3C12AA46408099AB4635DC369227" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_CCF66FB3364B40C3B001385588153D58" + { + "Name" = "8:ast" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_0217A9AA569741A98DA60074C1646A91" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_02DB30545CB84C77BC49941A5280272C" + { + "Name" = "8:nodeTypes" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_A0AC5F08708048FB9C7E7974C551922A" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_1674B4FA08C74118888771BD61A14674" + { + "Name" = "8:visitor" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_A200431107A14A609E1E92AACFC7926E" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_283F8EF65597480385CF78879404B1EE" + { + "Name" = "8:expr" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_00CAE3BAEEB24EF98842BC6C03B7F08B" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_3625246A30E444869598D880FACF1A2F" + { + "Name" = "8:comments" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_46DA84E974C14C4FA4BEC49C3775083E" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_4BC10307C9F84B32892A3C3EAD2BA9E8" + { + "Name" = "8:type" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_F6FA6F7F99A544CBB2E1DCDB0C763378" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_CC1C3509584A45AFB2F3541225DB70C1" + { + "Name" = "8:stmt" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_6AC1FA08FDE748B7806F32FD88B6E501" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_DAA2D5A836694BB4A0E2400B30F0E820" + { + "Name" = "8:body" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_7B4482B62C23458DB92B6EA6CC611AF7" + "Folders" + { + } + } + } + } + } + } + } + } + } + } + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_FFB1E129BF6C4F3687F1D49EBE804B68" + { + "Name" = "8:javacc" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_CCFA3A6415BC4C99908C1CC5796D7F82" + "Folders" + { + } + } + } + } + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_C8CEE1135E0E47C48DC579D68C01A3EB" + { + "Name" = "8:target" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_847C261426B84371983BB806D02E7246" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_7A218B09CEE7459C80A3A2DABB7D174A" + { + "Name" = "8:generated-sources" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_091CCAFC825B40BD82A85EC62A38A150" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_270EED3832C0498682C5B04E9DABF524" + { + "Name" = "8:javacc" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_3C761E37E0B143E68C2F457A24AD32F1" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_5DF99E8F62D542A495A0A3FECE28C9BF" + { + "Name" = "8:com" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_C323BF125B294813845AE25BD2546922" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_0E97A3B3806944B2A3F3D7A9A06ECADF" + { + "Name" = "8:github" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_44621014562F4C2D9EFACC46E827A68E" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_FE908E2B1FD5499F8AEBEC7827E7CB63" + { + "Name" = "8:javaparser" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_09B686C70EAA41819E2908379E7CF736" + "Folders" + { + } + } + } + } + } + } + } + } + } + } + } + } + } + } } } } @@ -4696,7 +8923,7 @@ "ContextData" = "8:Unchecked=;Checked=1" "Attributes" = "3:0" "Setting" = "3:2" - "Value" = "8:" + "Value" = "8:1" "DefaultValue" = "8:" "UsePlugInResources" = "11:TRUE" } diff --git a/deployment/windows/CoatiAppSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs b/deployment/windows/CoatiAppSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs index 869506e0..4b75a894 100644 --- a/deployment/windows/CoatiAppSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs +++ b/deployment/windows/CoatiAppSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs @@ -39,6 +39,10 @@ namespace SetupApplicationSettingsLib tictactoe.InnerText = projectsPath + "tictactoe\\tictactoe.coatiproject"; recentProjects.AppendChild(tictactoe); + XmlNode javaparser = appSettings.CreateElement("recent_project"); + javaparser.InnerText = projectsPath + "javaparser\\javaparser.coatiproject"; + recentProjects.AppendChild(javaparser); + appSettings.Save(appSettingsPath); } } diff --git a/deployment/windows/CoatiTrialSetup/CoatiSetup/CoatiSetup.vdproj b/deployment/windows/CoatiTrialSetup/CoatiSetup/CoatiSetup.vdproj index ffbec217..ddba39f2 100644 --- a/deployment/windows/CoatiTrialSetup/CoatiSetup/CoatiSetup.vdproj +++ b/deployment/windows/CoatiTrialSetup/CoatiSetup/CoatiSetup.vdproj @@ -21,12 +21,24 @@ } "Entry" { + "MsmKey" = "8:_017EA218479E422582F3439534A02A49" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_022306387A6546F5BA234B9FCE87656D" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_02EC04C01D784A5198927FEF4B921254" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_037CA5C54AC54097A60194F7BF278651" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -39,25 +51,79 @@ } "Entry" { + "MsmKey" = "8:_04CF1F8E69FC4A28BCB05D185CF7B75F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_05B5BA0EDD4A4E8B8704D08591FBCC5A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_0617F630E8EE41E38895A013B0934E6D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_07C70D3B8F1C4C6684122E8F15D6F1F6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0816463311224FB4B1FF077F876AA799" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_082583609CD940F8BA877AA51B2566F9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_097D414F258143F58B784BBA52239AE0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0985225512C04181B01028F1AC1B69B0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_09D6A385CCBB489F8CE85A2BAB1CB190" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0C3F8E05D0524BFA97577B5ADDFE78B1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_0C6F8E3E9815483DB9B9525A5CB12BC7" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_0D6F8884804447CFB7B5E0CC465B58F4" + "MsmKey" = "8:_0D8B6934252E4EC2BABFDA59D8F370A6" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_0D8B6934252E4EC2BABFDA59D8F370A6" + "MsmKey" = "8:_0DF174A079574FF48821220E97ACA377" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -75,18 +141,66 @@ } "Entry" { + "MsmKey" = "8:_0F8D53C319AC40F793E3417C72ED46BA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_0FB4451715D047189E40DDDBBF1AC9B6" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_10E8C5F5936348499EA13610FC5F304D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1297AB9BCB524FDC8C159FB305EDD975" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_143C95DF32BD49EEA018815EA03A3873" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_145FB67AF1774D029CD2047D9D3B3F26" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_146EE0BAEDF64A64858E447EEBF404F6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15FFB5487E5E4852A1FF247065EC2B2E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_16C255612A654B4095F334E715362471" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_17BCEBD97F084063A6F229314BBC05BB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_17E01ED758AE4C8DA24511FCB2EA736E" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -105,13 +219,31 @@ } "Entry" { + "MsmKey" = "8:_1BFCE8CE9D5F4540B2CBBF6ADDAA1304" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_1C13C20D88154B1C955263E273E4D3DA" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_1E83046E306A474E9400A001600B2700" + "MsmKey" = "8:_1DF440EDC7094B2A8082A1C4895239B5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_20088AF395BC4DAD98915A865F0B1A08" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2052BC333CB4401E84418941518A8E31" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -129,7 +261,31 @@ } "Entry" { - "MsmKey" = "8:_266CC6CBEF764F9D9AB0B8E456F74C8D" + "MsmKey" = "8:_24D15FD2054B417E99EE05356DE5DC60" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25C4C4BB1756407FA0E77156E582365F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_25EEFD3637D54E4F9767407132DA09A3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_26143E9EDE234F32AAAD4C6D6C975A3C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_298AA4043F974956985E88F4D760194C" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -147,6 +303,24 @@ } "Entry" { + "MsmKey" = "8:_2A9CF30D8A8C4594A0BD5706F411CBF5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2BABA6D862454E16BDB69E978BCE7341" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2CF4B7B222A44A5CAF76E2E3D4F57BEC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_2DA06C4E301647A58D13904DAE5A1010" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -159,7 +333,13 @@ } "Entry" { - "MsmKey" = "8:_2ED83DC3EB884937B3F90A65A6B98930" + "MsmKey" = "8:_2F05893912E74A84A7EF1C0317CBD6E5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F46983E3C384B68B15E02CAEC674516" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -177,12 +357,24 @@ } "Entry" { + "MsmKey" = "8:_33133DDC962348B08DC5CB87413ED632" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_3460FAB707F8431E87168499A7F51556" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_352623A8D0B349EFB000D81926BB540C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_383C3C31CEAE49ADB319056F4E68B3F1" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -201,12 +393,54 @@ } "Entry" { + "MsmKey" = "8:_397CDA997E3D48C58D4408AF8FEA6554" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_39E021A71BA14DBC8CEF506E60132F2F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3BF54E37BB154F92A32ACB9E3C775C20" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3CED1240FB624E03A1DFE911416B04C2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3E804518DEB9433FA2F9D643ACCEB5ED" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3EC7E2301B1A4042AD364C9B949C6B34" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_3FCDDB859BC247E0B2634CBD56E2B763" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_40A6B125013B4C8FAFD5B8B80F9304AA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_40F860133DBD41678E02018710BA1BF9" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -225,30 +459,78 @@ } "Entry" { + "MsmKey" = "8:_43404F43A5DA471EB97B6C8A18E155F9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4400372852214CC588823F7A1A9F5F5D" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_45C967D8803F4B5F9104C174087E0E9A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_45FA810C01E0400B95791D8B62210957" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4686B4EEA7A14504BE7E0041E82AEDE8" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_46F2987E1F8145FF9F8953B55F809EAB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_489ABDB6F241404984463D83895497EF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_48C94FCED7D045E78A3E081A11662715" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_49895E7895A944FE9696763D1AA882E6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4AEAD9C589DE4ADDA1A74F40D659F175" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4B368A3CA7ED47C584B8275181DC052F" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_4BBFE96FBFA44C02B17CFC7527F857BD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_4BDEC7E5FB8B4BE8A303082523C30DE4" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -261,12 +543,30 @@ } "Entry" { + "MsmKey" = "8:_50A31C4C24214477B387D5AE1C72769C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_51C032708B3241808A6FA5028D05505A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_52F96C45EF1F42B49711E42EAAC7A32B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_53F6548C6DBF402EBDDB238FDDCB843F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_54B73F859AE8446F8D5B9E5DBB1D817A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -285,19 +585,73 @@ } "Entry" { + "MsmKey" = "8:_56CB23DDE7AA46528ACD3C2BFD87F79F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5780DFB8DDF34899A932315A8C959945" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_578192D2A7234F18A7B4FCB6AF7FD4B9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_5789409592134E888A27F1B86B9E4232" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_58E63CA7EA604F098CD891400FD3F926" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_58F7BC06461A4DC4B01E40246E9530DB" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_5D661D36B48C48BE973A4BE2192E3B2F" + "MsmKey" = "8:_58FC28C77C9340A096440616563F6FEF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_593DD3A2B27545128069F06928A370C0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5A683AF6D51B4FFB8668A2816605214F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5BAC1724080F4EAC9C6D3817C8F12A9B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5C992F2867924C859E6A48C6A045EDDC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5CDD52376309409D91451A3F5AAEBD9C" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -321,7 +675,7 @@ } "Entry" { - "MsmKey" = "8:_63C916D362AC471FBDA18920E41443D6" + "MsmKey" = "8:_63ABF7A72DDD41EC9A21417B8EFBA7BE" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -333,13 +687,49 @@ } "Entry" { - "MsmKey" = "8:_6940F3589D664C2F8C23F723F4F04726" + "MsmKey" = "8:_6411094DBF9E45C3898D101B034A02AA" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_6B181AA530FD431AAA82E917EFFD8588" + "MsmKey" = "8:_64BDBECE2FA94479B14CD547567F6A6D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_65A5B9EB4C2D4BFCBD991C67C0A88252" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_66C5846510EA4827B905135EAB9E1175" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_688748D9C574443FA65CB04F3997F563" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_69F00FB0D11E4A69A4698EB3DA735759" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6B8F5F02EC7D42B2BE245EE6DFF61EF6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6C28DB4572A14E2D919FBA54D75E9C79" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -351,18 +741,48 @@ } "Entry" { + "MsmKey" = "8:_6D627D6B651D49A8B34CE636A5B6C638" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_6D688E59840A412486FFFC9189AE4073" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_6D88AADBCCFC4136A684D8D001001F8B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_6DC58216F2234AFBB595DEBF3678F936" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_6ED826F7D1F14633B1A22B7AA28DE1F0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_6F5AA47F37B24E19AE633651FBF97528" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7172EE3A9AF8403390AC6829E8C6B0D8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_71BA266FA3B14FEC857F7FC8BA10C08B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -393,12 +813,24 @@ } "Entry" { + "MsmKey" = "8:_742E9BF175534CB8A2A9E529A0E1089D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_75BED6211FC54DB29C8B51532ABDD0C8" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_75E23B93C9ED4597A4D632CF3B6FA202" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_763A8819E84543E6BB4A90AC640E8018" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -411,12 +843,30 @@ } "Entry" { + "MsmKey" = "8:_7709797696CB40B5B30697AB47970D87" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_78D08B00B89F45A8A441F455BE81DE5C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_78E480DA746A4F1AAA980CF751EA54AF" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_78F6D899E8F943AA92FF4C357F87E959" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_79B9FEF9E5924699B7D3425EB286D165" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -435,7 +885,37 @@ } "Entry" { - "MsmKey" = "8:_7BCB2E5ECE164D39AD46CF9F41732648" + "MsmKey" = "8:_7B2910A4A75A42E385A9325A44C190B6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7C4CC6CA035F4ABBBEF7DACD7952F893" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7E9D74FA941F486E959E6D8F343631F8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7EAFBAAA6E3C4E74AAEFC5C2F4C713F2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_803BBD231D414E6EB487623FA62D2206" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_80525A8F05DE42D9BFA362A852B37738" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -447,12 +927,30 @@ } "Entry" { + "MsmKey" = "8:_83CA836F7BBC4B96870DF6F49B956BA8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_851A602506FE4244A021922533932FED" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_85957A6848614B0AA2D4E3BF1004866D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_871DA4812FBA4962975E641376C96D22" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_87A6F9A4A4EB4FE391CF70EA297C4002" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -465,12 +963,48 @@ } "Entry" { + "MsmKey" = "8:_8A1D189B5AC64F638C91B5409F5E5702" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8A94A01ACD534C338109787AC9F758CD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8A9B82810F464290A6A1FF2AF74FD2B2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8AC908D8053C4DE4B19E610C576DC188" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8BA404C7AD074BBCA22B0F7FB0A56EB2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_8D5AEFDD72AC4B00967BFFDBACB82112" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_8E1CF588C29C4FB7A8D2DCC3FBC9CF82" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_8E2479A7DD6C48F88B7BCC1567A53892" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -489,6 +1023,12 @@ } "Entry" { + "MsmKey" = "8:_8EE95AB556E14C5BA1CF11F13D9BE152" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_916B59949F5C458DB6C2E8D1BE5B369A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -501,12 +1041,6 @@ } "Entry" { - "MsmKey" = "8:_93B4E30DF45F416AAECCBDD225242CC7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_9540F5F6C09C4B5FBE01A3035D924F0E" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -525,7 +1059,19 @@ } "Entry" { - "MsmKey" = "8:_99A1F803D402483EBBF1AD06C31A1D50" + "MsmKey" = "8:_97BD3E1A09E84C3FAC334A40DEF5F192" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_98E57C34CB094080BF7F4D9FCB2F0867" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9A1114B2AAFC47FCA633336186A9533F" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -537,6 +1083,66 @@ } "Entry" { + "MsmKey" = "8:_9A29E5F364134DA9960AD0A708E8B640" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9A5EDE6D34A642E589F149997C99516B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9AED989A33D44926A29D21B7AFE1B731" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9C9F5B71F49F4D49BF31A79AE4D808AE" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9DA2640CD29D46B49CA73B9899B1FFD2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9DA29193CA44496FB15CFC8D6D9FC35C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A2ADE86C39334D4597EDFE55E731CBD7" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A31CD46B61574FA79EF906CE9DE9C8BD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A4013890921F409298926DBDC7A9A114" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A48B1D86D2414ADCB370006C8B552CEA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_A4D5CA6D5A6A4E73968ED13026B71B9B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -567,13 +1173,25 @@ } "Entry" { + "MsmKey" = "8:_A73B2A597F7E4487BD563C86F6726D16" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A7D211377C3048DEB79FA69E6C363617" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_A9914A775BCE41B4A68A5348DC7326B6" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_AAE08FAECFF54292B13E061BA1E12E4D" + "MsmKey" = "8:_AB5BA6204F95454CBE4AE498A33237AC" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -585,18 +1203,102 @@ } "Entry" { + "MsmKey" = "8:_AC8089B19FFB4515878F64C553480B37" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_ACA5B02DEC3B4A39A159A93C340B720E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AD1513BC244F443880D5156384F106F0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AE8A47F9F7F0434E857FD443B7E2E2C1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AF4A334E176742F5AEDF7AABCC634F29" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B1460F45CFCF4EF39C0A393AF7668DBF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_B1A224B08C57497B94CEC6DBBABD5323" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_B241632BCD89426BA1420B836C381D32" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B48DF3819C4D4290BE927610312CD1B1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B5F570748A7D4D26BE54D34E473AEA5D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B5FBDEC77BC74993A9B74501C84EE586" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B68B5E8993634F869D1C36B6ABDB0D78" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B6AED0B974A64D048A8FBFB7B7F90720" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B70C5921BF774453856DA9B4371D11F6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_B71FAEFCDCD34A8FB39491C4032DE7A0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_BBF3833D535240F19CE34C71D1C74CC1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_BD45AF18BAFB4F88BB8BEE8EBCE82EF1" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -621,6 +1323,12 @@ } "Entry" { + "MsmKey" = "8:_BFE9838D299E4A93968C9AEABD6CE0F9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_BFFA5739E94D4D168A1D43E36F54C815" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -645,12 +1353,48 @@ } "Entry" { + "MsmKey" = "8:_C1A76A2340BE43F99F9A87B9665E6D82" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C1F652208152426DBE8D6B66D67BB150" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C2BDB891111C4C26ABF29E0DB64FE80A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C33560B3712141C5B7D47A4CC8CAEBF5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_C46E79A56942414695D2FE4E9635796B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_C4E0EDE5A88748A09B891396F3E93651" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C7389626A0EE4C9CB62E8D0935DEB320" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_C7DCC9D78B694068956DADD44C79E64B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -663,19 +1407,25 @@ } "Entry" { + "MsmKey" = "8:_C9675551FC3F4520A747E243B5D79D98" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_C9DF264C001549118F837BF45CBFDCCB" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_CB1885338FFE4E268C3546EE61B37117" + "MsmKey" = "8:_CCC3D0DDB3E947A6B3DB663EFABB4BE0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_CC0503A471CE4DEC9D548B641C7143FA" + "MsmKey" = "8:_CDA2CAD2960B4DBC9B7B61ED07DC1C67" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -687,12 +1437,6 @@ } "Entry" { - "MsmKey" = "8:_CE9E96A8E12C4CD19E14BBFA0519EBC2" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_D0A7CFAAC04146139FE0EEE3B12F1632" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -711,6 +1455,36 @@ } "Entry" { + "MsmKey" = "8:_D145DD353C3D4E6BA07B53A40F755BFA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D19CCB29EEA94EC1BB76987658607E57" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D1B6004ED06B451E821A2063BAFC98D6" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D21305FFDECA4FD8864BCE033411AB67" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D262B036C4E04A53BDBAC07FAA8C3BA4" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_D2C2F69F414F43CBB247E8FBEE410766" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -723,6 +1497,18 @@ } "Entry" { + "MsmKey" = "8:_D5A5E166C0A94C6281EDE99451EF7301" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D5D322E2F56F46D3BAFA8E3BBCED4508" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_D6A3AA89570B48C6B783CA2DE6993222" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -735,7 +1521,13 @@ } "Entry" { - "MsmKey" = "8:_D8194EE923894B7A8A4ECFE085552E36" + "MsmKey" = "8:_D7E0F3AABE624C41B2764A0977E25B8A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_D846FADC8591442AA32A02E93B171249" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } @@ -747,6 +1539,30 @@ } "Entry" { + "MsmKey" = "8:_D94DD7971ABA4255B3E57758A4CA6055" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DA0921DF46EC4604A42CC9A22532CEE0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DAA0BA53835C46BC81596856BA349FF2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DB761D08F0554A909159D8FDF0CB80BD" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_DB845CEA6CC94997884C3644A1B44717" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -765,6 +1581,18 @@ } "Entry" { + "MsmKey" = "8:_DC02E4D4139D4E08A5521B46467F866B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DC2F2B69156D4FB793226188B75A86E0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_E35C99608F664C5896E7D46CAA70853B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -789,6 +1617,24 @@ } "Entry" { + "MsmKey" = "8:_E4E78409F8DE47AE80175CCB40AFF667" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E6D870000A364112825283F9E618AA69" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E71650D2383C4304AAA86553DA35E71D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_E76E3EC211634CD78F19B2893147D3F5" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -819,30 +1665,108 @@ } "Entry" { + "MsmKey" = "8:_E9D562AD54AA47A785E1457E55514BF8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_EA117E55109E4929AD27B2D3FDF6AE2A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_EC9BEAF690B24C3EB9BDF81B3F760556" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_ED3A18354F6C45FCAD41FCD4DEFAD5CB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EDA81BDC15D646979873F068A36FB7DC" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EF41536F1090481682407F5BBEBD259A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F036D742A49B46838C600A8EB5A60AE3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_F0F1AA2EBF404C6F87EC93AC1BAC0390" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_F0F2137414C34800BB98D76B94E0D209" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F30E0F134952420881D47C665AD42816" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F3E60C6855A841469E87FEC4CFD2EDEA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_F629465023B141219A88F93CD2845493" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_F67D76B3F60F477B96F59DF89B787E40" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F79ACEA1B1F7473BA3FC52F53829E102" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_F81B906E39E44A5DAC37B3D70BC8A8CE" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_F8BC2F4299F445A69AFBF94BC4BD6CD5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F980FE65559945F08905213665C02746" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_FA52694C0BEF4D90BB70C824617A42D4" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -855,12 +1779,6 @@ } "Entry" { - "MsmKey" = "8:_FD2A2D0F3C74411DB8478FE37201B15C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_FDAE83AE644D4C428F5E3F20AD73B810" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -1234,6 +2152,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_017EA218479E422582F3439534A02A49" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithParameters.java" + "TargetName" = "8:NodeWithParameters.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_022306387A6546F5BA234B9FCE87656D" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\statusbar_view\\loader.gif" @@ -1254,6 +2192,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_02EC04C01D784A5198927FEF4B921254" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\DoStmt.java" + "TargetName" = "8:DoStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_037CA5C54AC54097A60194F7BF278651" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\FiraSans_License.txt" @@ -1294,6 +2252,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_04CF1F8E69FC4A28BCB05D185CF7B75F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_1.png" + "TargetName" = "8:enum_1.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_05B5BA0EDD4A4E8B8704D08591FBCC5A" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\dots.png" @@ -1314,6 +2292,166 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0617F630E8EE41E38895A013B0934E6D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\VariableDeclarator.java" + "TargetName" = "8:VariableDeclarator.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_07C70D3B8F1C4C6684122E8F15D6F1F6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\WhileStmt.java" + "TargetName" = "8:WhileStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0816463311224FB4B1FF077F876AA799" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\pattern.png" + "TargetName" = "8:pattern.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_082583609CD940F8BA877AA51B2566F9" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ReturnStmt.java" + "TargetName" = "8:ReturnStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_097D414F258143F58B784BBA52239AE0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\SingleMemberAnnotationExpr.java" + "TargetName" = "8:SingleMemberAnnotationExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0985225512C04181B01028F1AC1B69B0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\DoubleLiteralExpr.java" + "TargetName" = "8:DoubleLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_09D6A385CCBB489F8CE85A2BAB1CB190" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\FieldAccessExpr.java" + "TargetName" = "8:FieldAccessExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0C3F8E05D0524BFA97577B5ADDFE78B1" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ArrayInitializerExpr.java" + "TargetName" = "8:ArrayInitializerExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0C6F8E3E9815483DB9B9525A5CB12BC7" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\Qt5Network.dll" @@ -1334,12 +2472,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0D6F8884804447CFB7B5E0CC465B58F4" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0D8B6934252E4EC2BABFDA59D8F370A6" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_2.png" - "TargetName" = "8:typedef_2.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\search_view\\images\\search.png" + "TargetName" = "8:search.png" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_3AD40865D1D747AE81EBCEB665944B1F" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1354,12 +2492,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0D8B6934252E4EC2BABFDA59D8F370A6" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0DF174A079574FF48821220E97ACA377" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\search_view\\images\\search.png" - "TargetName" = "8:search.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ContinueStmt.java" + "TargetName" = "8:ContinueStmt.java" "Tag" = "8:" - "Folder" = "8:_3AD40865D1D747AE81EBCEB665944B1F" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1414,6 +2552,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0F8D53C319AC40F793E3417C72ED46BA" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\FieldDeclaration.java" + "TargetName" = "8:FieldDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0FB4451715D047189E40DDDBBF1AC9B6" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-environment-l1-1-0.dll" @@ -1434,6 +2592,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_10E8C5F5936348499EA13610FC5F304D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\file.png" + "TargetName" = "8:file.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1297AB9BCB524FDC8C159FB305EDD975" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithDeclaration.java" + "TargetName" = "8:NodeWithDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_143C95DF32BD49EEA018815EA03A3873" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-indexer.jar" + "TargetName" = "8:java-indexer.jar" + "Tag" = "8:" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_145FB67AF1774D029CD2047D9D3B3F26" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\installer\\EULA.rtf" @@ -1454,6 +2672,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_146EE0BAEDF64A64858E447EEBF404F6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\bundle.png" + "TargetName" = "8:bundle.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_15FFB5487E5E4852A1FF247065EC2B2E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\InstanceOfExpr.java" + "TargetName" = "8:InstanceOfExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_16C255612A654B4095F334E715362471" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\javaparser-core.jar" + "TargetName" = "8:javaparser-core.jar" + "Tag" = "8:" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_17BCEBD97F084063A6F229314BBC05BB" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\NameExpr.java" + "TargetName" = "8:NameExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_17E01ED758AE4C8DA24511FCB2EA736E" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\SourceCodePro-Bold.otf" @@ -1514,6 +2812,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1BFCE8CE9D5F4540B2CBBF6ADDAA1304" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithJavaDoc.java" + "TargetName" = "8:NodeWithJavaDoc.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1C13C20D88154B1C955263E273E4D3DA" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\refresh.png" @@ -1534,12 +2852,52 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1E83046E306A474E9400A001600B2700" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1DF440EDC7094B2A8082A1C4895239B5" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_2.png" - "TargetName" = "8:enum_2.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithName.java" + "TargetName" = "8:NodeWithName.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_20088AF395BC4DAD98915A865F0B1A08" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\BinaryExpr.java" + "TargetName" = "8:BinaryExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2052BC333CB4401E84418941518A8E31" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\StringLiteralExpr.java" + "TargetName" = "8:StringLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1594,12 +2952,92 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_266CC6CBEF764F9D9AB0B8E456F74C8D" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_24D15FD2054B417E99EE05356DE5DC60" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_1.png" - "TargetName" = "8:typedef_1.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\TypeDeclarationStmt.java" + "TargetName" = "8:TypeDeclarationStmt.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_25C4C4BB1756407FA0E77156E582365F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\ModifierVisitorAdapter.java" + "TargetName" = "8:ModifierVisitorAdapter.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_25EEFD3637D54E4F9767407132DA09A3" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ASTParserTokenManager.java" + "TargetName" = "8:ASTParserTokenManager.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_26143E9EDE234F32AAAD4C6D6C975A3C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\AnnotationMemberDeclaration.java" + "TargetName" = "8:AnnotationMemberDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_298AA4043F974956985E88F4D760194C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\indexing_dialog.css" + "TargetName" = "8:indexing_dialog.css" + "Tag" = "8:" + "Folder" = "8:_897697440DAE476D958FB6C4A9C848A6" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1654,6 +3092,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2A9CF30D8A8C4594A0BD5706F411CBF5" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\Position.java" + "TargetName" = "8:Position.java" + "Tag" = "8:" + "Folder" = "8:_591069B554684EFA9FBED71901C8062F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2BABA6D862454E16BDB69E978BCE7341" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_1.png" + "TargetName" = "8:macro_1.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2CF4B7B222A44A5CAF76E2E3D4F57BEC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\Modifier.java" + "TargetName" = "8:Modifier.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2DA06C4E301647A58D13904DAE5A1010" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\FiraSans-Regular.otf" @@ -1694,12 +3192,32 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2ED83DC3EB884937B3F90A65A6B98930" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2F05893912E74A84A7EF1C0317CBD6E5" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_3.png" - "TargetName" = "8:macro_3.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\VariableDeclarationExpr.java" + "TargetName" = "8:VariableDeclarationExpr.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2F46983E3C384B68B15E02CAEC674516" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LiteralExpr.java" + "TargetName" = "8:LiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1754,6 +3272,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_33133DDC962348B08DC5CB87413ED632" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EnumConstantDeclaration.java" + "TargetName" = "8:EnumConstantDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_352623A8D0B349EFB000D81926BB540C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\ReferenceType.java" + "TargetName" = "8:ReferenceType.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_383C3C31CEAE49ADB319056F4E68B3F1" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\user\\ApplicationSettings_for_package.xml" @@ -1814,6 +3372,126 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_397CDA997E3D48C58D4408AF8FEA6554" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\BlockComment.java" + "TargetName" = "8:BlockComment.java" + "Tag" = "8:" + "Folder" = "8:_797DD279FBFF4945B0327CD0D7A98577" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_39E021A71BA14DBC8CEF506E60132F2F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\CastExpr.java" + "TargetName" = "8:CastExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3BF54E37BB154F92A32ACB9E3C775C20" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_2.png" + "TargetName" = "8:macro_2.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3CED1240FB624E03A1DFE911416B04C2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\UnaryExpr.java" + "TargetName" = "8:UnaryExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3E804518DEB9433FA2F9D643ACCEB5ED" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\javacc\\java_1_8.jj" + "TargetName" = "8:java_1_8.jj" + "Tag" = "8:" + "Folder" = "8:_32E42A2E78ED45A494AE307CB172BCB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3EC7E2301B1A4042AD364C9B949C6B34" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\TreeVisitor.java" + "TargetName" = "8:TreeVisitor.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3FCDDB859BC247E0B2634CBD56E2B763" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\artificial_player.h" @@ -1834,6 +3512,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_40A6B125013B4C8FAFD5B8B80F9304AA" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\LabeledStmt.java" + "TargetName" = "8:LabeledStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_40F860133DBD41678E02018710BA1BF9" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\listbox.css" @@ -1894,6 +3592,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_43404F43A5DA471EB97B6C8A18E155F9" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\TypeParameter.java" + "TargetName" = "8:TypeParameter.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4400372852214CC588823F7A1A9F5F5D" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\Qt5Gui.dll" @@ -1914,6 +3632,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_45C967D8803F4B5F9104C174087E0E9A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\WildcardType.java" + "TargetName" = "8:WildcardType.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_45FA810C01E0400B95791D8B62210957" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\utils\\Utils.java" + "TargetName" = "8:Utils.java" + "Tag" = "8:" + "Folder" = "8:_2B644FE76711496B8C7BA7401AC0B6EC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4686B4EEA7A14504BE7E0041E82AEDE8" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\icon\\coati.ico" @@ -1934,6 +3692,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_46F2987E1F8145FF9F8953B55F809EAB" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ASTParserConstants.java" + "TargetName" = "8:ASTParserConstants.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_489ABDB6F241404984463D83895497EF" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ForStmt.java" + "TargetName" = "8:ForStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_48C94FCED7D045E78A3E081A11662715" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\Coati_trial_obfuscated.exe" @@ -1954,6 +3752,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_49895E7895A944FE9696763D1AA882E6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithThrowable.java" + "TargetName" = "8:NodeWithThrowable.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4AEAD9C589DE4ADDA1A74F40D659F175" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\progress_bar_element.png" + "TargetName" = "8:progress_bar_element.png" + "Tag" = "8:" + "Folder" = "8:_897697440DAE476D958FB6C4A9C848A6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4B368A3CA7ED47C584B8275181DC052F" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\search_tutorial_2.h" @@ -1974,6 +3812,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4BBFE96FBFA44C02B17CFC7527F857BD" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\template.png" + "TargetName" = "8:template.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4BDEC7E5FB8B4BE8A303082523C30DE4" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\graph_tutorial_3.h" @@ -2014,6 +3872,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_50A31C4C24214477B387D5AE1C72769C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\IntersectionType.java" + "TargetName" = "8:IntersectionType.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_51C032708B3241808A6FA5028D05505A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MethodCallExpr.java" + "TargetName" = "8:MethodCallExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_52F96C45EF1F42B49711E42EAAC7A32B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\about\\icon_close.png" @@ -2034,6 +3932,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_53F6548C6DBF402EBDDB238FDDCB843F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\Comment.java" + "TargetName" = "8:Comment.java" + "Tag" = "8:" + "Folder" = "8:_797DD279FBFF4945B0327CD0D7A98577" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_54B73F859AE8446F8D5B9E5DBB1D817A" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\maximize_active.png" @@ -2094,6 +4012,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_56CB23DDE7AA46528ACD3C2BFD87F79F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\Range.java" + "TargetName" = "8:Range.java" + "Tag" = "8:" + "Folder" = "8:_591069B554684EFA9FBED71901C8062F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5780DFB8DDF34899A932315A8C959945" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithModifiers.java" + "TargetName" = "8:NodeWithModifiers.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_578192D2A7234F18A7B4FCB6AF7FD4B9" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\SynchronizedStmt.java" + "TargetName" = "8:SynchronizedStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5789409592134E888A27F1B86B9E4232" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\graph_tutorial_4.h" @@ -2114,6 +4092,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_58E63CA7EA604F098CD891400FD3F926" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\PackageDeclaration.java" + "TargetName" = "8:PackageDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_58F7BC06461A4DC4B01E40246E9530DB" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\graph_tutorial_2.h" @@ -2134,10 +4132,50 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5D661D36B48C48BE973A4BE2192E3B2F" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_58FC28C77C9340A096440616563F6FEF" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_1.png" - "TargetName" = "8:macro_1.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\AccessSpecifier.java" + "TargetName" = "8:AccessSpecifier.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_593DD3A2B27545128069F06928A370C0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EmptyMemberDeclaration.java" + "TargetName" = "8:EmptyMemberDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5A683AF6D51B4FFB8668A2816605214F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\default.png" + "TargetName" = "8:default.png" "Tag" = "8:" "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" "Condition" = "8:" @@ -2154,6 +4192,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5BAC1724080F4EAC9C6D3817C8F12A9B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ASTParser.java" + "TargetName" = "8:ASTParser.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5C992F2867924C859E6A48C6A045EDDC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-symbol-solver-model.jar" + "TargetName" = "8:java-symbol-solver-model.jar" + "Tag" = "8:" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5CDD52376309409D91451A3F5AAEBD9C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\TypeArguments.java" + "TargetName" = "8:TypeArguments.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5D9910FDB208494F955E16F93FB749EC" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\plus_hover.png" @@ -2214,12 +4312,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_63C916D362AC471FBDA18920E41443D6" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_63ABF7A72DDD41EC9A21417B8EFBA7BE" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\arrow.png" - "TargetName" = "8:arrow.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-symbol-solver-logic.jar" + "TargetName" = "8:java-symbol-solver-logic.jar" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2254,12 +4352,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6940F3589D664C2F8C23F723F4F04726" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6411094DBF9E45C3898D101B034A02AA" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\refresh_view\\images\\auto_refresh.png" - "TargetName" = "8:auto_refresh.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\ClassOrInterfaceDeclaration.java" + "TargetName" = "8:ClassOrInterfaceDeclaration.java" "Tag" = "8:" - "Folder" = "8:_A2F583B17F274CE9B4A0DF567A7AADBC" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2274,12 +4372,132 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6B181AA530FD431AAA82E917EFFD8588" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_64BDBECE2FA94479B14CD547567F6A6D" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\protected.png" - "TargetName" = "8:protected.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\StringProvider.java" + "TargetName" = "8:StringProvider.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_65A5B9EB4C2D4BFCBD991C67C0A88252" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\BodyDeclaration.java" + "TargetName" = "8:BodyDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_66C5846510EA4827B905135EAB9E1175" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\SwitchStmt.java" + "TargetName" = "8:SwitchStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_688748D9C574443FA65CB04F3997F563" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\TokenMgrException.java" + "TargetName" = "8:TokenMgrException.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_69F00FB0D11E4A69A4698EB3DA735759" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\AssignExpr.java" + "TargetName" = "8:AssignExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6B8F5F02EC7D42B2BE245EE6DFF61EF6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\StreamProvider.java" + "TargetName" = "8:StreamProvider.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6C28DB4572A14E2D919FBA54D75E9C79" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\VariableDeclaratorId.java" + "TargetName" = "8:VariableDeclaratorId.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2314,6 +4532,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6D627D6B651D49A8B34CE636A5B6C638" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\IntegerLiteralMinValueExpr.java" + "TargetName" = "8:IntegerLiteralMinValueExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6D688E59840A412486FFFC9189AE4073" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\Token.java" + "TargetName" = "8:Token.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6D88AADBCCFC4136A684D8D001001F8B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\my_next_step.h" @@ -2334,6 +4592,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6DC58216F2234AFBB595DEBF3678F936" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\CharLiteralExpr.java" + "TargetName" = "8:CharLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6ED826F7D1F14633B1A22B7AA28DE1F0" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-time-l1-1-0.dll" @@ -2354,6 +4632,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6F5AA47F37B24E19AE633651FBF97528" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithType.java" + "TargetName" = "8:NodeWithType.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7172EE3A9AF8403390AC6829E8C6B0D8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\SwitchEntryStmt.java" + "TargetName" = "8:SwitchEntryStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_71BA266FA3B14FEC857F7FC8BA10C08B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-math-l1-1-0.dll" @@ -2454,6 +4772,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_742E9BF175534CB8A2A9E529A0E1089D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\javaparser.coatiproject" + "TargetName" = "8:javaparser.coatiproject" + "Tag" = "8:" + "Folder" = "8:_E8E85236C7D04C0D8BE90581F128F96A" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_75BED6211FC54DB29C8B51532ABDD0C8" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\search_view\\search_view.css" @@ -2474,6 +4812,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_75E23B93C9ED4597A4D632CF3B6FA202" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\javassist-3.19.0-GA.jar" + "TargetName" = "8:javassist-3.19.0-GA.jar" + "Tag" = "8:" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_763A8819E84543E6BB4A90AC640E8018" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-locale-l1-1-0.dll" @@ -2514,6 +4872,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7709797696CB40B5B30697AB47970D87" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\InitializerDeclaration.java" + "TargetName" = "8:InitializerDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_78D08B00B89F45A8A441F455BE81DE5C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MarkerAnnotationExpr.java" + "TargetName" = "8:MarkerAnnotationExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_78E480DA746A4F1AAA980CF751EA54AF" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\refresh_view\\refresh_view.css" @@ -2534,6 +4932,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_78F6D899E8F943AA92FF4C357F87E959" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\guava-18.0.jar" + "TargetName" = "8:guava-18.0.jar" + "Tag" = "8:" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_79B9FEF9E5924699B7D3425EB286D165" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\plus.png" @@ -2594,10 +5012,30 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7BCB2E5ECE164D39AD46CF9F41732648" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7B2910A4A75A42E385A9325A44C190B6" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\private.png" - "TargetName" = "8:private.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\CatchClause.java" + "TargetName" = "8:CatchClause.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7C4CC6CA035F4ABBBEF7DACD7952F893" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_2.png" + "TargetName" = "8:typedef_2.png" "Tag" = "8:" "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" "Condition" = "8:" @@ -2614,6 +5052,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7E9D74FA941F486E959E6D8F343631F8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\IfStmt.java" + "TargetName" = "8:IfStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7EAFBAAA6E3C4E74AAEFC5C2F4C713F2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ArrayCreationExpr.java" + "TargetName" = "8:ArrayCreationExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_803BBD231D414E6EB487623FA62D2206" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\MultiTypeParameter.java" + "TargetName" = "8:MultiTypeParameter.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_80525A8F05DE42D9BFA362A852B37738" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\Type.java" + "TargetName" = "8:Type.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8146F7427D3C4638B39F09A19B84E3FE" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\search_tutorial_5.h" @@ -2634,6 +5152,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_83CA836F7BBC4B96870DF6F49B956BA8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\public.png" + "TargetName" = "8:public.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_851A602506FE4244A021922533932FED" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\field.h" @@ -2654,6 +5192,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_85957A6848614B0AA2D4E3BF1004866D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\JavaCharStream.java" + "TargetName" = "8:JavaCharStream.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_871DA4812FBA4962975E641376C96D22" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\UnknownType.java" + "TargetName" = "8:UnknownType.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_87A6F9A4A4EB4FE391CF70EA297C4002" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\splash_blue.png" @@ -2694,6 +5272,106 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8A1D189B5AC64F638C91B5409F5E5702" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\Expression.java" + "TargetName" = "8:Expression.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8A94A01ACD534C338109787AC9F758CD" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LongLiteralExpr.java" + "TargetName" = "8:LongLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8A9B82810F464290A6A1FF2AF74FD2B2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_2.png" + "TargetName" = "8:enum_2.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8AC908D8053C4DE4B19E610C576DC188" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\TypeDeclaration.java" + "TargetName" = "8:TypeDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8BA404C7AD074BBCA22B0F7FB0A56EB2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\JavadocComment.java" + "TargetName" = "8:JavadocComment.java" + "Tag" = "8:" + "Folder" = "8:_797DD279FBFF4945B0327CD0D7A98577" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8D5AEFDD72AC4B00967BFFDBACB82112" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\pattern.png" @@ -2714,6 +5392,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8E1CF588C29C4FB7A8D2DCC3FBC9CF82" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\ParseException.java" + "TargetName" = "8:ParseException.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8E2479A7DD6C48F88B7BCC1567A53892" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\code_tutorial_2.h" @@ -2774,12 +5472,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_927AA2450359400398EC6015571C4680" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8EE95AB556E14C5BA1CF11F13D9BE152" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\human_player.cpp" - "TargetName" = "8:human_player.cpp" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_3.png" + "TargetName" = "8:typedef_3.png" "Tag" = "8:" - "Folder" = "8:_CE5AAF4EE3764AACA06B8963D3F99884" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2794,12 +5492,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_93B4E30DF45F416AAECCBDD225242CC7" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_927AA2450359400398EC6015571C4680" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\bundle.png" - "TargetName" = "8:bundle.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\human_player.cpp" + "TargetName" = "8:human_player.cpp" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_CE5AAF4EE3764AACA06B8963D3F99884" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2874,12 +5572,52 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_99A1F803D402483EBBF1AD06C31A1D50" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_97BD3E1A09E84C3FAC334A40DEF5F192" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\enum_1.png" - "TargetName" = "8:enum_1.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\VoidType.java" + "TargetName" = "8:VoidType.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_98E57C34CB094080BF7F4D9FCB2F0867" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\CommentsParser.java" + "TargetName" = "8:CommentsParser.java" + "Tag" = "8:" + "Folder" = "8:_797DD279FBFF4945B0327CD0D7A98577" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9A1114B2AAFC47FCA633336186A9533F" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\VoidVisitor.java" + "TargetName" = "8:VoidVisitor.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -2914,6 +5652,206 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9A29E5F364134DA9960AD0A708E8B640" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\EqualsVisitor.java" + "TargetName" = "8:EqualsVisitor.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9A5EDE6D34A642E589F149997C99516B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\CompilationUnit.java" + "TargetName" = "8:CompilationUnit.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9AED989A33D44926A29D21B7AFE1B731" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\utils\\PositionUtils.java" + "TargetName" = "8:PositionUtils.java" + "Tag" = "8:" + "Folder" = "8:_2B644FE76711496B8C7BA7401AC0B6EC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9C9F5B71F49F4D49BF31A79AE4D808AE" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ObjectCreationExpr.java" + "TargetName" = "8:ObjectCreationExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9DA2640CD29D46B49CA73B9899B1FFD2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\EnclosedExpr.java" + "TargetName" = "8:EnclosedExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9DA29193CA44496FB15CFC8D6D9FC35C" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\BooleanLiteralExpr.java" + "TargetName" = "8:BooleanLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A2ADE86C39334D4597EDFE55E731CBD7" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\ClassOrInterfaceType.java" + "TargetName" = "8:ClassOrInterfaceType.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A31CD46B61574FA79EF906CE9DE9C8BD" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_3.png" + "TargetName" = "8:macro_3.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A4013890921F409298926DBDC7A9A114" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\QualifiedNameExpr.java" + "TargetName" = "8:QualifiedNameExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A48B1D86D2414ADCB370006C8B552CEA" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\BlockStmt.java" + "TargetName" = "8:BlockStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A4D5CA6D5A6A4E73968ED13026B71B9B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\main.cpp" @@ -3014,6 +5952,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A73B2A597F7E4487BD563C86F6726D16" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\error.png" + "TargetName" = "8:error.png" + "Tag" = "8:" + "Folder" = "8:_897697440DAE476D958FB6C4A9C848A6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A7D211377C3048DEB79FA69E6C363617" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ThisExpr.java" + "TargetName" = "8:ThisExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A9914A775BCE41B4A68A5348DC7326B6" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\icon\\project_cdb_256_256.png" @@ -3034,12 +6012,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AAE08FAECFF54292B13E061BA1E12E4D" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AB5BA6204F95454CBE4AE498A33237AC" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\macro_2.png" - "TargetName" = "8:macro_2.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithBlockStmt.java" + "TargetName" = "8:NodeWithBlockStmt.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -3074,6 +6052,126 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AC8089B19FFB4515878F64C553480B37" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EmptyTypeDeclaration.java" + "TargetName" = "8:EmptyTypeDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_ACA5B02DEC3B4A39A159A93C340B720E" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\CloneVisitor.java" + "TargetName" = "8:CloneVisitor.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AD1513BC244F443880D5156384F106F0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\UnionType.java" + "TargetName" = "8:UnionType.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AE8A47F9F7F0434E857FD443B7E2E2C1" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\Statement.java" + "TargetName" = "8:Statement.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AF4A334E176742F5AEDF7AABCC634F29" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithArrays.java" + "TargetName" = "8:NodeWithArrays.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B1460F45CFCF4EF39C0A393AF7668DBF" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\JavaParser.java" + "TargetName" = "8:JavaParser.java" + "Tag" = "8:" + "Folder" = "8:_591069B554684EFA9FBED71901C8062F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B1A224B08C57497B94CEC6DBBABD5323" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\code_view\\images\\snippet_active.png" @@ -3094,6 +6192,146 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B241632BCD89426BA1420B836C381D32" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\SuperExpr.java" + "TargetName" = "8:SuperExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B48DF3819C4D4290BE927610312CD1B1" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\NullLiteralExpr.java" + "TargetName" = "8:NullLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B5F570748A7D4D26BE54D34E473AEA5D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\ImportDeclaration.java" + "TargetName" = "8:ImportDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B5FBDEC77BC74993A9B74501C84EE586" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\private.png" + "TargetName" = "8:private.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B68B5E8993634F869D1C36B6ABDB0D78" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ForeachStmt.java" + "TargetName" = "8:ForeachStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B6AED0B974A64D048A8FBFB7B7F90720" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\MethodDeclaration.java" + "TargetName" = "8:MethodDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B70C5921BF774453856DA9B4371D11F6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\BaseParameter.java" + "TargetName" = "8:BaseParameter.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B71FAEFCDCD34A8FB39491C4032DE7A0" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\SourceCodePro-Regular.otf" @@ -3114,6 +6352,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BBF3833D535240F19CE34C71D1C74CC1" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\NormalAnnotationExpr.java" + "TargetName" = "8:NormalAnnotationExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BD45AF18BAFB4F88BB8BEE8EBCE82EF1" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\window\\logo.png" @@ -3194,6 +6452,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BFE9838D299E4A93968C9AEABD6CE0F9" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\ConstructorDeclaration.java" + "TargetName" = "8:ConstructorDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BFFA5739E94D4D168A1D43E36F54C815" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\field.cpp" @@ -3274,6 +6552,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C1A76A2340BE43F99F9A87B9665E6D82" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\LineComment.java" + "TargetName" = "8:LineComment.java" + "Tag" = "8:" + "Folder" = "8:_797DD279FBFF4945B0327CD0D7A98577" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C1F652208152426DBE8D6B66D67BB150" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\protected.png" + "TargetName" = "8:protected.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C2BDB891111C4C26ABF29E0DB64FE80A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\GenericVisitorAdapter.java" + "TargetName" = "8:GenericVisitorAdapter.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C33560B3712141C5B7D47A4CC8CAEBF5" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\target\\generated-sources\\javacc\\com\\github\\javaparser\\Provider.java" + "TargetName" = "8:Provider.java" + "Tag" = "8:" + "Folder" = "8:_F7269B6DF2464E18BA2EFF96DE9848C2" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C46E79A56942414695D2FE4E9635796B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-stdio-l1-1-0.dll" @@ -3294,6 +6652,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C4E0EDE5A88748A09B891396F3E93651" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LongLiteralMinValueExpr.java" + "TargetName" = "8:LongLiteralMinValueExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C7389626A0EE4C9CB62E8D0935DEB320" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\TypeExpr.java" + "TargetName" = "8:TypeExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C7DCC9D78B694068956DADD44C79E64B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\undoredo_view\\images\\arrow_right.png" @@ -3314,6 +6712,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C9675551FC3F4520A747E243B5D79D98" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\VoidVisitorAdapter.java" + "TargetName" = "8:VoidVisitorAdapter.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C9DF264C001549118F837BF45CBFDCCB" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\graph_view.css" @@ -3334,12 +6752,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CB1885338FFE4E268C3546EE61B37117" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CCC3D0DDB3E947A6B3DB663EFABB4BE0" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\template.png" - "TargetName" = "8:template.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ConditionalExpr.java" + "TargetName" = "8:ConditionalExpr.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -3354,12 +6772,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CC0503A471CE4DEC9D548B641C7143FA" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CDA2CAD2960B4DBC9B7B61ED07DC1C67" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\pattern.png" - "TargetName" = "8:pattern.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\TryStmt.java" + "TargetName" = "8:TryStmt.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -3394,26 +6812,6 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CE9E96A8E12C4CD19E14BBFA0519EBC2" - { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_3.png" - "TargetName" = "8:typedef_3.png" - "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D0A7CFAAC04146139FE0EEE3B12F1632" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\color_schemes\\bad_rainbow.xml" @@ -3474,6 +6872,106 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D145DD353C3D4E6BA07B53A40F755BFA" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\javaslang-2.0.0-beta.jar" + "TargetName" = "8:javaslang-2.0.0-beta.jar" + "Tag" = "8:" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D19CCB29EEA94EC1BB76987658607E57" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ExpressionStmt.java" + "TargetName" = "8:ExpressionStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D1B6004ED06B451E821A2063BAFC98D6" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\utils\\ClassUtils.java" + "TargetName" = "8:ClassUtils.java" + "Tag" = "8:" + "Folder" = "8:_2B644FE76711496B8C7BA7401AC0B6EC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D21305FFDECA4FD8864BCE033411AB67" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\DumpVisitor.java" + "TargetName" = "8:DumpVisitor.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D262B036C4E04A53BDBAC07FAA8C3BA4" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\arrow.png" + "TargetName" = "8:arrow.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D2C2F69F414F43CBB247E8FBEE410766" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\fonts\\Roboto-Bold.ttf" @@ -3514,6 +7012,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D5A5E166C0A94C6281EDE99451EF7301" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ClassExpr.java" + "TargetName" = "8:ClassExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D5D322E2F56F46D3BAFA8E3BBCED4508" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\EmptyStmt.java" + "TargetName" = "8:EmptyStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D6A3AA89570B48C6B783CA2DE6993222" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\tutorial.coatiproject" @@ -3554,12 +7092,32 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D8194EE923894B7A8A4ECFE085552E36" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D7E0F3AABE624C41B2764A0977E25B8A" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\public.png" - "TargetName" = "8:public.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\LambdaExpr.java" + "TargetName" = "8:LambdaExpr.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D846FADC8591442AA32A02E93B171249" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithAnnotations.java" + "TargetName" = "8:NodeWithAnnotations.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -3594,6 +7152,86 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D94DD7971ABA4255B3E57758A4CA6055" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\indexing_dialog\\flag.png" + "TargetName" = "8:flag.png" + "Tag" = "8:" + "Folder" = "8:_897697440DAE476D958FB6C4A9C848A6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DA0921DF46EC4604A42CC9A22532CEE0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\typedef_1.png" + "TargetName" = "8:typedef_1.png" + "Tag" = "8:" + "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DAA0BA53835C46BC81596856BA349FF2" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\AnnotationDeclaration.java" + "TargetName" = "8:AnnotationDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DB761D08F0554A909159D8FDF0CB80BD" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ThrowStmt.java" + "TargetName" = "8:ThrowStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DB845CEA6CC94997884C3644A1B44717" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\Release\\api-ms-win-crt-runtime-l1-1-0.dll" @@ -3654,6 +7292,46 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DC02E4D4139D4E08A5521B46467F866B" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MethodReferenceExpr.java" + "TargetName" = "8:MethodReferenceExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DC2F2B69156D4FB793226188B75A86E0" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\MemberValuePair.java" + "TargetName" = "8:MemberValuePair.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E35C99608F664C5896E7D46CAA70853B" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\install\\uninstall_trail.bat" @@ -3734,6 +7412,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E4E78409F8DE47AE80175CCB40AFF667" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\BreakStmt.java" + "TargetName" = "8:BreakStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E6D870000A364112825283F9E618AA69" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\AssertStmt.java" + "TargetName" = "8:AssertStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E71650D2383C4304AAA86553DA35E71D" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\java\\java-symbol-solver-core.jar" + "TargetName" = "8:java-symbol-solver-core.jar" + "Tag" = "8:" + "Folder" = "8:_80B0DB7A3F874876B1C3DCB69F7620A1" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E76E3EC211634CD78F19B2893147D3F5" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\icon\\project.ico" @@ -3834,6 +7572,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E9D562AD54AA47A785E1457E55514BF8" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\javaparser.coatidb" + "TargetName" = "8:javaparser.coatidb" + "Tag" = "8:" + "Folder" = "8:_E8E85236C7D04C0D8BE90581F128F96A" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EA117E55109E4929AD27B2D3FDF6AE2A" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\src\\io.h" @@ -3854,6 +7612,106 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EC9BEAF690B24C3EB9BDF81B3F760556" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\nodeTypes\\NodeWithMembers.java" + "TargetName" = "8:NodeWithMembers.java" + "Tag" = "8:" + "Folder" = "8:_8011143B5C5943F69471DE7802E47CB8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_ED3A18354F6C45FCAD41FCD4DEFAD5CB" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\IntegerLiteralExpr.java" + "TargetName" = "8:IntegerLiteralExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EDA81BDC15D646979873F068A36FB7DC" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\EnumDeclaration.java" + "TargetName" = "8:EnumDeclaration.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EF41536F1090481682407F5BBEBD259A" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\ArrayAccessExpr.java" + "TargetName" = "8:ArrayAccessExpr.java" + "Tag" = "8:" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F036D742A49B46838C600A8EB5A60AE3" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\type\\PrimitiveType.java" + "TargetName" = "8:PrimitiveType.java" + "Tag" = "8:" + "Folder" = "8:_363BCDAB27264291842E5F72B92DA898" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F0F1AA2EBF404C6F87EC93AC1BAC0390" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tictactoe\\tictactoe.coatidb" @@ -3874,6 +7732,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F0F2137414C34800BB98D76B94E0D209" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\stmt\\ExplicitConstructorInvocationStmt.java" + "TargetName" = "8:ExplicitConstructorInvocationStmt.java" + "Tag" = "8:" + "Folder" = "8:_137DF662BB7E4CF397B750AE1DE3FC09" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F30E0F134952420881D47C665AD42816" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\body\\Parameter.java" + "TargetName" = "8:Parameter.java" + "Tag" = "8:" + "Folder" = "8:_118BEF4141B84CA393AC12E97EEA0CEC" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F3E60C6855A841469E87FEC4CFD2EDEA" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\CommentsInserter.java" + "TargetName" = "8:CommentsInserter.java" + "Tag" = "8:" + "Folder" = "8:_591069B554684EFA9FBED71901C8062F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F629465023B141219A88F93CD2845493" { "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\tutorial\\src\\utility.h" @@ -3894,12 +7812,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FA52694C0BEF4D90BB70C824617A42D4" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F67D76B3F60F477B96F59DF89B787E40" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\installer\\windows_installer_banner.jpg" - "TargetName" = "8:windows_installer_banner.jpg" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\comments\\CommentsCollection.java" + "TargetName" = "8:CommentsCollection.java" "Tag" = "8:" - "Folder" = "8:_726D4EDF4337432EBB3AB25F6CAC02A9" + "Folder" = "8:_797DD279FBFF4945B0327CD0D7A98577" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -3914,12 +7832,72 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FD2A2D0F3C74411DB8478FE37201B15C" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F79ACEA1B1F7473BA3FC52F53829E102" { - "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\graph_view\\images\\file.png" - "TargetName" = "8:file.png" + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\expr\\AnnotationExpr.java" + "TargetName" = "8:AnnotationExpr.java" "Tag" = "8:" - "Folder" = "8:_6F2CF686BD9740B4823D889F5D0C3F87" + "Folder" = "8:_6E7CC93D072E4BC08B93D555B1BA256B" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F8BC2F4299F445A69AFBF94BC4BD6CD5" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\visitor\\GenericVisitor.java" + "TargetName" = "8:GenericVisitor.java" + "Tag" = "8:" + "Folder" = "8:_6182EEE5880C42E087CE13E7C1ED26B6" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F980FE65559945F08905213665C02746" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\projects\\javaparser\\src\\main\\java\\com\\github\\javaparser\\ast\\Node.java" + "TargetName" = "8:Node.java" + "Tag" = "8:" + "Folder" = "8:_3E805405341E45218D32AEC65ABC4865" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FA52694C0BEF4D90BB70C824617A42D4" + { + "SourcePath" = "8:..\\..\\..\\..\\bin\\app\\data\\gui\\installer\\windows_installer_banner.jpg" + "TargetName" = "8:windows_installer_banner.jpg" + "Tag" = "8:" + "Folder" = "8:_726D4EDF4337432EBB3AB25F6CAC02A9" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -4032,6 +8010,17 @@ { } } + "{9EF0B969-E518-4E46-987F-47570745A589}:_80B0DB7A3F874876B1C3DCB69F7620A1" + { + "Name" = "8:java" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_1CACF6F25E68447B82C8B1ECEFA7F173" + "Folders" + { + } + } "{9EF0B969-E518-4E46-987F-47570745A589}:_87CAFD99D4124707A422D6E9CE9EB332" { "Name" = "8:gui" @@ -4129,6 +8118,17 @@ { } } + "{9EF0B969-E518-4E46-987F-47570745A589}:_897697440DAE476D958FB6C4A9C848A6" + { + "Name" = "8:indexing_dialog" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_1A8F83B2244F4CB2B739B24DA30BDDE4" + "Folders" + { + } + } "{9EF0B969-E518-4E46-987F-47570745A589}:_8EBD851657BC4117A720469ADAD825DE" { "Name" = "8:statusbar_view" @@ -4319,6 +8319,259 @@ } } } + "{9EF0B969-E518-4E46-987F-47570745A589}:_E8E85236C7D04C0D8BE90581F128F96A" + { + "Name" = "8:javaparser" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_0F3BE9477B4E4F4F9C018919E9C1BBCC" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_46AA3FD6C2C94427BE8011BC0C13716A" + { + "Name" = "8:src" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_03E4EFD22D03463A83AD0709B216555A" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_775B0F5992D34011B0306ACA07800DBA" + { + "Name" = "8:main" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_19A8A2F621DA42DDB00C6852AFF9CBDE" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_32E42A2E78ED45A494AE307CB172BCB8" + { + "Name" = "8:javacc" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_51472543A142419D816EE78A14F47EC7" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_5B0658DCDA354D649EF2F1303CAEEE45" + { + "Name" = "8:java" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_2C473A84BF7741D69E8267713DAFCC5D" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_27103A7ABD9143F09FB12F669CE8DF01" + { + "Name" = "8:com" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_C3110055700A49F784AA55F039983B40" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_31352AD413334D2882060788309A1A1E" + { + "Name" = "8:github" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_7DF5FB54CB0F42B69B7C59F9BD12C62A" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_591069B554684EFA9FBED71901C8062F" + { + "Name" = "8:javaparser" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_CF34D153663440AAA9F2D5592002E898" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_2B644FE76711496B8C7BA7401AC0B6EC" + { + "Name" = "8:utils" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_4D75C00470784FF680781D3AB1BB1DEA" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_3E805405341E45218D32AEC65ABC4865" + { + "Name" = "8:ast" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_34D4730FDEAD4EE18E933AD501EF1527" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_118BEF4141B84CA393AC12E97EEA0CEC" + { + "Name" = "8:body" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_61A39F8BBCE94759B89B1DAF8860D73C" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_137DF662BB7E4CF397B750AE1DE3FC09" + { + "Name" = "8:stmt" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_5A4858006EA64961985082F7AFA791AA" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_363BCDAB27264291842E5F72B92DA898" + { + "Name" = "8:type" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_FBD5CC994ED4407F99E829D86338457B" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_6182EEE5880C42E087CE13E7C1ED26B6" + { + "Name" = "8:visitor" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_1D0217E2B413409F8778A1ECC29FE1B7" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_6E7CC93D072E4BC08B93D555B1BA256B" + { + "Name" = "8:expr" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_7CFDF1F605AC4F7DA4B8DD57710D62C0" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_797DD279FBFF4945B0327CD0D7A98577" + { + "Name" = "8:comments" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_F5C407B84FA349ABA4E4CDF916CA667C" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_8011143B5C5943F69471DE7802E47CB8" + { + "Name" = "8:nodeTypes" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_77DCCB2C1FF042BEB4BB50D03DC78774" + "Folders" + { + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_C3FE0FC5E5BB43E0B16912A3D6EC520D" + { + "Name" = "8:target" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_7365CB9800374B16B81DED9FC3E59098" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_C19CBABC21DD4CF5AE2F7C73CCEBBFD3" + { + "Name" = "8:generated-sources" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_A9C636CDB0764913A2AA8A28E34B4B18" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_226B0270B0F14F5AA59887A2493D19F0" + { + "Name" = "8:javacc" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_35B24A80CB554B82BADF0CBD46B73E91" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_BB8A16EB4D3547799C5D1BE4A9F18338" + { + "Name" = "8:com" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_1C54E0BC77E54C069BF13B3F95253EFD" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_BE9CE31270C64D5A9E3ECEF85EC445BD" + { + "Name" = "8:github" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_27CE09F5C030428091AFC313EE1FBE20" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_F7269B6DF2464E18BA2EFF96DE9848C2" + { + "Name" = "8:javaparser" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_92BE3F679DEB43C0B83808240E002607" + "Folders" + { + } + } + } + } + } + } + } + } + } + } + } + } + } + } } } } @@ -4725,7 +8978,7 @@ "ContextData" = "8:Unchecked=;Checked=1" "Attributes" = "3:0" "Setting" = "3:2" - "Value" = "8:" + "Value" = "8:1" "DefaultValue" = "8:" "UsePlugInResources" = "11:TRUE" } diff --git a/deployment/windows/CoatiTrialSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs b/deployment/windows/CoatiTrialSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs index f3e0b165..5b5cc0d7 100644 --- a/deployment/windows/CoatiTrialSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs +++ b/deployment/windows/CoatiTrialSetup/SetupApplicationSettingsLib/SetupApplicationSettings.cs @@ -39,6 +39,10 @@ namespace SetupApplicationSettingsLib tictactoe.InnerText = projectsPath + "tictactoe\\tictactoe.coatiproject"; recentProjects.AppendChild(tictactoe); + XmlNode javaparser = appSettings.CreateElement("recent_project"); + javaparser.InnerText = projectsPath + "javaparser\\javaparser.coatiproject"; + recentProjects.AppendChild(javaparser); + appSettings.Save(appSettingsPath); } } diff --git a/java_indexer/src/io/coati/JavaAstVisitor.java b/java_indexer/src/io/coati/JavaAstVisitor.java index a8f82b61..97347ee8 100644 --- a/java_indexer/src/io/coati/JavaAstVisitor.java +++ b/java_indexer/src/io/coati/JavaAstVisitor.java @@ -19,7 +19,6 @@ import com.github.javaparser.ast.comments.LineComment; import com.github.javaparser.ast.expr.ArrayInitializerExpr; import com.github.javaparser.ast.expr.MethodCallExpr; import com.github.javaparser.ast.expr.NameExpr; -import com.github.javaparser.ast.expr.QualifiedNameExpr; import com.github.javaparser.ast.expr.VariableDeclarationExpr; import com.github.javaparser.ast.stmt.BlockStmt; import com.github.javaparser.ast.stmt.SwitchStmt; @@ -33,7 +32,6 @@ import com.github.javaparser.ast.PackageDeclaration; import com.github.javaparser.ast.TypeParameter; import me.tomassetti.symbolsolver.javaparsermodel.JavaParserFacade; -import me.tomassetti.symbolsolver.javaparsermodel.JavaParserFactory; import me.tomassetti.symbolsolver.javaparsermodel.UnsolvedSymbolException; import me.tomassetti.symbolsolver.javaparsermodel.declarations.JavaParserMethodDeclaration; import me.tomassetti.symbolsolver.javaparsermodel.declarations.JavaParserSymbolDeclaration; @@ -63,7 +61,7 @@ public class JavaAstVisitor extends JavaAstVisitorAdapter String[] filePathParts = filePath.split("/"); String fileName = filePathParts[filePathParts.length - 1]; - m_context.add(new DeclContext(fileName + "\t\r")); + m_context.add(new DeclContext(fileName + "\ts\tp")); } @@ -120,8 +118,8 @@ public class JavaAstVisitor extends JavaAstVisitorAdapter } String qualifiedName = m_context.get(0).getName(); - qualifiedName += "\n"; - qualifiedName += n.getName() + "\t\r"; + qualifiedName += "\tn"; + qualifiedName += n.getName() + "\ts\tp"; JavaIndexer.recordSymbol( m_callbackId, qualifiedName, SymbolType.TYPE_PARAMETER, @@ -792,15 +790,15 @@ public class JavaAstVisitor extends JavaAstVisitorAdapter else // todo: move this implementation somewhere else { qualifiedName = solvedMethod.declaringType().getQualifiedName(); - qualifiedName = qualifiedName.replace(".", "\t\r\n"); + qualifiedName = qualifiedName.replace(".", "\ts\tp\tn"); - qualifiedName += "\t\r\n" + solvedMethod.getName() + "\t"; + qualifiedName += "\ts\tp\tn" + solvedMethod.getName() + "\ts"; String returnType = solvedMethod.returnType().describe(); qualifiedName += returnType; // qualifiedName += returnType.substring(returnType.lastIndexOf(".") + 1); - qualifiedName += "\r("; + qualifiedName += "\tp("; for (int i = 0; i < solvedMethod.getParamTypes().size(); i++) { if(i != 0) diff --git a/java_indexer/src/io/coati/JavaDeclName.java b/java_indexer/src/io/coati/JavaDeclName.java index f4c163d6..d40b4c4d 100644 --- a/java_indexer/src/io/coati/JavaDeclName.java +++ b/java_indexer/src/io/coati/JavaDeclName.java @@ -75,19 +75,19 @@ public class JavaDeclName if (m_parent != null) { nameHierarchy = m_parent.toNameHierarchy(); - nameHierarchy += "\n"; + nameHierarchy += "\tn"; } nameHierarchy += m_name; nameHierarchy += getTypeParameterString(); - nameHierarchy += "\t"; + nameHierarchy += "\ts"; if (m_returnTypeName != null) { nameHierarchy += m_returnTypeName.toString(); } - nameHierarchy += "\r"; + nameHierarchy += "\tp"; nameHierarchy += getParameterString(); return nameHierarchy; } diff --git a/java_indexer/src/io/coati/JavaDeclNameResolver.java b/java_indexer/src/io/coati/JavaDeclNameResolver.java index d3254422..1340132c 100644 --- a/java_indexer/src/io/coati/JavaDeclNameResolver.java +++ b/java_indexer/src/io/coati/JavaDeclNameResolver.java @@ -24,7 +24,6 @@ import com.github.javaparser.ast.expr.QualifiedNameExpr; import me.tomassetti.symbolsolver.javaparsermodel.declarations.JavaParserClassDeclaration; import me.tomassetti.symbolsolver.javaparsermodel.declarations.JavaParserInterfaceDeclaration; -import me.tomassetti.symbolsolver.javaparsermodel.declarations.JavaParserMethodDeclaration; import me.tomassetti.symbolsolver.model.resolution.TypeSolver; public class JavaDeclNameResolver extends JavaNameResolver diff --git a/java_indexer/src/io/coati/JavaTypeName.java b/java_indexer/src/io/coati/JavaTypeName.java index 0f9299f3..33cd82e6 100644 --- a/java_indexer/src/io/coati/JavaTypeName.java +++ b/java_indexer/src/io/coati/JavaTypeName.java @@ -54,12 +54,12 @@ public class JavaTypeName if (m_parent != null) { nameHierarchy = m_parent.toNameHierarchy(); - nameHierarchy += "\n"; + nameHierarchy += "\tn"; } nameHierarchy += m_name; nameHierarchy += getTypeArgumentString(); - nameHierarchy += "\t\r"; + nameHierarchy += "\ts\tp"; return nameHierarchy; } diff --git a/script/deploy_windows.sh b/script/deploy_windows.sh index 0e6bce8e..a41d6aee 100644 --- a/script/deploy_windows.sh +++ b/script/deploy_windows.sh @@ -82,6 +82,9 @@ echo -e "$INFO creating database for tictactie" echo -e "$INFO creating database for tutorial" ../bin/app/Release/Coati.exe -p ../bin/app/data/projects/tutorial/tutorial.coatiproject -d +echo -e "$INFO creating database for javaparser" +../bin/app/Release/Coati.exe -p ../bin/app/data/projects/javaparser/javaparser.coatiproject -d + cd .. rm -rf temp @@ -108,7 +111,7 @@ echo -e "$INFO building the installer (trail)" # BUILDING WIX INSTALLERS -call deployment/windows/wixSetup/build.bat +# call deployment/windows/wixSetup/build.bat # EDIT THE INSTALLERS @@ -167,6 +170,8 @@ cp -u -r deployment/windows/CoatiTrialSetup/CoatiSetup/Release/setup.exe $TRIAL_ mkdir -p $TRIAL_PACKAGE_DIR/plugins/visual_studio/ cp -u -r ide_plugins/vs/coati_plugin_vs.vsix $TRIAL_PACKAGE_DIR/plugins/visual_studio/ +mkdir -p $TRIAL_PACKAGE_DIR/plugins/vim/ +cp -u -r ide_plugins/vim/* $TRIAL_PACKAGE_DIR/plugins/vim/ mkdir -p $TRIAL_PACKAGE_DIR/plugins/sublime_text/ cp -u -r ide_plugins/sublime_text/* $TRIAL_PACKAGE_DIR/plugins/sublime_text/ diff --git a/src/lib/JavaProject.cpp b/src/lib/JavaProject.cpp index f0103da0..3f90341d 100644 --- a/src/lib/JavaProject.cpp +++ b/src/lib/JavaProject.cpp @@ -3,6 +3,7 @@ #include "data/parser/java/JavaEnvironmentFactory.h" #include "data/parser/java/TaskParseJava.h" #include "isTrial.h" +#include "utility/ResourcePaths.h" JavaProject::~JavaProject() { @@ -32,14 +33,14 @@ JavaProject::JavaProject( const std::string separator = ":"; #endif JavaEnvironmentFactory::createInstance( - "data/java/guava-18.0.jar" + separator + - "data/java/java-indexer.jar" + separator + - "data/java/javaparser-core.jar" + separator + - "data/java/javaslang-2.0.0-beta.jar" + separator + - "data/java/javassist-3.19.0-GA.jar" + separator + - "data/java/java-symbol-solver-core.jar" + separator + - "data/java/java-symbol-solver-logic.jar" + separator + - "data/java/java-symbol-solver-model.jar" + separator + ResourcePaths::getJavaPath() + "guava-18.0.jar" + separator + + ResourcePaths::getJavaPath() + "java-indexer.jar" + separator + + ResourcePaths::getJavaPath() + "javaparser-core.jar" + separator + + ResourcePaths::getJavaPath() + "javaslang-2.0.0-beta.jar" + separator + + ResourcePaths::getJavaPath() + "javassist-3.19.0-GA.jar" + separator + + ResourcePaths::getJavaPath() + "java-symbol-solver-core.jar" + separator + + ResourcePaths::getJavaPath() + "java-symbol-solver-logic.jar" + separator + + ResourcePaths::getJavaPath() + "java-symbol-solver-model.jar" ); } } diff --git a/src/lib/data/SqliteStorage.cpp b/src/lib/data/SqliteStorage.cpp index 67cda4ff..0a52e4de 100644 --- a/src/lib/data/SqliteStorage.cpp +++ b/src/lib/data/SqliteStorage.cpp @@ -11,7 +11,7 @@ #include "utility/utilityString.h" #include "utility/Version.h" -const size_t SqliteStorage::STORAGE_VERSION = 4; +const size_t SqliteStorage::STORAGE_VERSION = 5; SqliteStorage::SqliteStorage(const FilePath& dbFilePath) : m_dbFilePath(dbFilePath) @@ -833,10 +833,16 @@ std::string SqliteStorage::getMetaValue(const std::string& key) const void SqliteStorage::insertOrUpdateMetaValue(const std::string& key, const std::string& value) { - m_database.execDML(( - "INSERT OR REPLACE INTO meta(id, key, value) " - "VALUES( (SELECT id FROM meta WHERE key = '" + key + "'), '" + key + "', '" + value + "');" + CppSQLite3Statement stmt = m_database.compileStatement(std::string( + "INSERT OR REPLACE INTO meta(id, key, value) VALUES(" + "(SELECT id FROM meta WHERE key = ?), ?, ?" + ");" ).c_str()); + + stmt.bind(1, key.c_str()); + stmt.bind(2, key.c_str()); + stmt.bind(3, value.c_str()); + stmt.execDML(); } size_t SqliteStorage::getStorageVersion() const diff --git a/src/lib/data/name/NameElement.cpp b/src/lib/data/name/NameElement.cpp index c5116654..9ccae680 100644 --- a/src/lib/data/name/NameElement.cpp +++ b/src/lib/data/name/NameElement.cpp @@ -5,12 +5,12 @@ std::string NameElement::Signature::serialize(Signature signature) { - return signature.m_prefix + "\r" + signature.m_postfix; + return signature.m_prefix + "\tp" + signature.m_postfix; } NameElement::Signature NameElement::Signature::deserialize(const std::string& serialized) { - std::vector serializedElements = utility::splitToVector(serialized, "\r"); + std::vector serializedElements = utility::splitToVector(serialized, "\tp"); if (serializedElements.size() != 2) { LOG_ERROR("unable to deserialize name signature: " + serialized); // todo: obfuscate serialized! diff --git a/src/lib/data/name/NameHierarchy.cpp b/src/lib/data/name/NameHierarchy.cpp index a29428b1..118b19d0 100644 --- a/src/lib/data/name/NameHierarchy.cpp +++ b/src/lib/data/name/NameHierarchy.cpp @@ -10,9 +10,9 @@ std::string NameHierarchy::serialize(NameHierarchy nameHierarchy) { if (i > 0) { - serializedName += "\n"; + serializedName += "\tn"; } - serializedName += nameHierarchy[i]->getName() + "\t"; + serializedName += nameHierarchy[i]->getName() + "\ts"; serializedName += NameElement::Signature::serialize(nameHierarchy[i]->getSignature()); } return serializedName; @@ -22,10 +22,10 @@ NameHierarchy NameHierarchy::deserialize(const std::string& serializedName) { NameHierarchy nameHierarchy; - std::vector serializedNameElements = utility::splitToVector(serializedName, "\n"); + std::vector serializedNameElements = utility::splitToVector(serializedName, "\tn"); for (size_t i = 0; i < serializedNameElements.size(); i++) { - std::vector nameParts = utility::splitToVector(serializedNameElements[i], "\t"); + std::vector nameParts = utility::splitToVector(serializedNameElements[i], "\ts"); if (nameParts.size() != 2) { LOG_ERROR("unable to deserialize name hierarchy: " + serializedName); // todo: obfuscate serializedName! diff --git a/src/lib/utility/ResourcePaths.cpp b/src/lib/utility/ResourcePaths.cpp index 13f5986c..84d7d58c 100644 --- a/src/lib/utility/ResourcePaths.cpp +++ b/src/lib/utility/ResourcePaths.cpp @@ -16,3 +16,8 @@ std::string ResourcePaths::getGuiPath() { return AppPath::getAppPath() + "data/gui/"; } + +std::string ResourcePaths::getJavaPath() +{ + return AppPath::getAppPath() + "data/java/"; +} diff --git a/src/lib/utility/ResourcePaths.h b/src/lib/utility/ResourcePaths.h index 2936ef21..86e6d5e3 100644 --- a/src/lib/utility/ResourcePaths.h +++ b/src/lib/utility/ResourcePaths.h @@ -9,6 +9,7 @@ public: static std::string getColorSchemesPath(); static std::string getFontsPath(); static std::string getGuiPath(); + static std::string getJavaPath(); }; #endif // RESOURCE_PATHS_H diff --git a/src/lib/utility/utilityString.cpp b/src/lib/utility/utilityString.cpp index 44103b77..eb03f5a0 100644 --- a/src/lib/utility/utilityString.cpp +++ b/src/lib/utility/utilityString.cpp @@ -122,10 +122,14 @@ namespace utility bool isPrefix(const std::string& prefix, const std::string& text) { - std::pair res = - std::mismatch(prefix.begin(), prefix.end(), text.begin()); + if (prefix.size() <= text.size()) + { + std::pair res = + std::mismatch(prefix.begin(), prefix.end(), text.begin()); - return res.first == prefix.end(); + return res.first == prefix.end(); + } + return false; } bool isPostfix(const std::string& postfix, const std::string& text) diff --git a/src/test/SearchIndexTestSuite.h b/src/test/SearchIndexTestSuite.h index 5b423c4d..31ff1d74 100644 --- a/src/test/SearchIndexTestSuite.h +++ b/src/test/SearchIndexTestSuite.h @@ -11,7 +11,7 @@ public: void test_search_index_finds_id_of_element_added() { SearchIndex index; - index.addNode(1, NameHierarchy::deserialize("foo\tvoid\r() const")); + index.addNode(1, NameHierarchy::deserialize("foo\tsvoid\tp() const")); index.finishSetup(); std::vector results = index.search("oo", 0); @@ -23,7 +23,7 @@ public: void test_search_index_finds_correct_indices_for_query() { SearchIndex index; - index.addNode(1, NameHierarchy::deserialize("foo\tvoid\r() const")); + index.addNode(1, NameHierarchy::deserialize("foo\tsvoid\tp() const")); index.finishSetup(); std::vector results = index.search("oo", 0); @@ -36,8 +36,8 @@ public: void test_search_index_finds_ids_for_ambiguous_query() { SearchIndex index; - index.addNode(1, NameHierarchy::deserialize("for\tvoid\r() const")); - index.addNode(2, NameHierarchy::deserialize("fos\tvoid\r() const")); + index.addNode(1, NameHierarchy::deserialize("for\tsvoid\tp() const")); + index.addNode(2, NameHierarchy::deserialize("fos\tsvoid\tp() const")); index.finishSetup(); std::vector results = index.search("fo", 0); @@ -51,7 +51,7 @@ public: void test_search_index_does_not_find_anything_after_clear() { SearchIndex index; - index.addNode(1, NameHierarchy::deserialize("foo\tvoid\r() const")); + index.addNode(1, NameHierarchy::deserialize("foo\tsvoid\tp() const")); index.finishSetup(); index.clear(); std::vector results = index.search("oo", 0); @@ -62,8 +62,8 @@ public: void test_search_index_does_not_find_all_results_when_max_amount_is_limited() { SearchIndex index; - index.addNode(1, NameHierarchy::deserialize("foo1\tvoid\r() const")); - index.addNode(2, NameHierarchy::deserialize("foo2\tvoid\r() const")); + index.addNode(1, NameHierarchy::deserialize("foo1\tsvoid\tp() const")); + index.addNode(2, NameHierarchy::deserialize("foo2\tsvoid\tp() const")); index.finishSetup(); std::vector results = index.search("oo", 1); @@ -73,8 +73,8 @@ public: void test_search_index_query_is_case_insensitive() { SearchIndex index; - index.addNode(1, NameHierarchy::deserialize("foo1\tvoid\r() const")); - index.addNode(2, NameHierarchy::deserialize("FOO2\tvoid\r() const")); + index.addNode(1, NameHierarchy::deserialize("foo1\tsvoid\tp() const")); + index.addNode(2, NameHierarchy::deserialize("FOO2\tsvoid\tp() const")); index.finishSetup(); std::vector results = index.search("oo", 0); @@ -85,8 +85,8 @@ public: { SearchIndex index; - index.addNode(1, NameHierarchy::deserialize("oaabbcc\tvoid\r() const")); - index.addNode(2, NameHierarchy::deserialize("ocbcabc\tvoid\r() const")); + index.addNode(1, NameHierarchy::deserialize("oaabbcc\tsvoid\tp() const")); + index.addNode(2, NameHierarchy::deserialize("ocbcabc\tsvoid\tp() const")); index.finishSetup(); std::vector results = index.search("abc", 0);