calabash-android 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +3 -0
- data/CHANGES.txt +9 -0
- data/ENVIRONMENT_VARIABLES.md +106 -0
- data/Gemfile +0 -1
- data/README_YARDOC.md +163 -0
- data/Rakefile +9 -0
- data/bin/calabash-android-helpers.rb +1 -4
- data/calabash-android.gemspec +9 -5
- data/irbrc +1 -0
- data/lib/calabash-android/canned_steps.md +1 -1
- data/lib/calabash-android/defaults.rb +9 -0
- data/lib/calabash-android/gestures.rb +2 -3
- data/lib/calabash-android/java_keystore.rb +25 -5
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/operations.rb +12 -0
- data/lib/calabash-android/text_helpers.rb +9 -4
- data/lib/calabash-android/version.rb +1 -1
- data/lib/calabash-android.rb +1 -0
- metadata +64 -638
- data/Gemfile.lock +0 -44
- data/doc/calabash-android-help.txt +0 -29
- data/test-server/instrumentation-backend/.classpath +0 -11
- data/test-server/instrumentation-backend/.gitignore +0 -1
- data/test-server/instrumentation-backend/.project +0 -33
- data/test-server/instrumentation-backend/.settings/org.eclipse.jdt.core.prefs +0 -11
- data/test-server/instrumentation-backend/AndroidManifest.xml +0 -17
- data/test-server/instrumentation-backend/CalabashApkBuilder.jar +0 -0
- data/test-server/instrumentation-backend/antlr/UIQuery.g +0 -121
- data/test-server/instrumentation-backend/antlr/UIQuery.tokens +0 -12
- data/test-server/instrumentation-backend/antlr.sh +0 -2
- data/test-server/instrumentation-backend/assets/.gitkeep +0 -0
- data/test-server/instrumentation-backend/build-libs/antlr-3.4-complete.jar +0 -0
- data/test-server/instrumentation-backend/build-libs/junit.jar +0 -0
- data/test-server/instrumentation-backend/build.xml +0 -56
- data/test-server/instrumentation-backend/libs/robotium-solo-4.3.1.jar +0 -0
- data/test-server/instrumentation-backend/project.properties +0 -11
- data/test-server/instrumentation-backend/res/drawable-hdpi/ic_launcher.png +0 -0
- data/test-server/instrumentation-backend/res/drawable-ldpi/ic_launcher.png +0 -0
- data/test-server/instrumentation-backend/res/drawable-mdpi/ic_launcher.png +0 -0
- data/test-server/instrumentation-backend/res/layout/main.xml +0 -12
- data/test-server/instrumentation-backend/res/values/strings.xml +0 -7
- data/test-server/instrumentation-backend/src/com/jayway/android/robotium/solo/MapViewUtils.java +0 -328
- data/test-server/instrumentation-backend/src/com/jayway/android/robotium/solo/PublicViewFetcher.java +0 -11
- data/test-server/instrumentation-backend/src/com/jayway/android/robotium/solo/SoloEnhanced.java +0 -85
- data/test-server/instrumentation-backend/src/org/antlr/runtime/ANTLRFileStream.java +0 -78
- data/test-server/instrumentation-backend/src/org/antlr/runtime/ANTLRInputStream.java +0 -70
- data/test-server/instrumentation-backend/src/org/antlr/runtime/ANTLRReaderStream.java +0 -95
- data/test-server/instrumentation-backend/src/org/antlr/runtime/ANTLRStringStream.java +0 -230
- data/test-server/instrumentation-backend/src/org/antlr/runtime/BaseRecognizer.java +0 -894
- data/test-server/instrumentation-backend/src/org/antlr/runtime/BitSet.java +0 -325
- data/test-server/instrumentation-backend/src/org/antlr/runtime/BufferedTokenStream.java +0 -272
- data/test-server/instrumentation-backend/src/org/antlr/runtime/CharStream.java +0 -57
- data/test-server/instrumentation-backend/src/org/antlr/runtime/CharStreamState.java +0 -45
- data/test-server/instrumentation-backend/src/org/antlr/runtime/ClassicToken.java +0 -141
- data/test-server/instrumentation-backend/src/org/antlr/runtime/CommonToken.java +0 -191
- data/test-server/instrumentation-backend/src/org/antlr/runtime/CommonTokenStream.java +0 -153
- data/test-server/instrumentation-backend/src/org/antlr/runtime/DFA.java +0 -250
- data/test-server/instrumentation-backend/src/org/antlr/runtime/EarlyExitException.java +0 -41
- data/test-server/instrumentation-backend/src/org/antlr/runtime/FailedPredicateException.java +0 -54
- data/test-server/instrumentation-backend/src/org/antlr/runtime/IntStream.java +0 -122
- data/test-server/instrumentation-backend/src/org/antlr/runtime/LegacyCommonTokenStream.java +0 -399
- data/test-server/instrumentation-backend/src/org/antlr/runtime/Lexer.java +0 -340
- data/test-server/instrumentation-backend/src/org/antlr/runtime/MismatchedNotSetException.java +0 -41
- data/test-server/instrumentation-backend/src/org/antlr/runtime/MismatchedRangeException.java +0 -45
- data/test-server/instrumentation-backend/src/org/antlr/runtime/MismatchedSetException.java +0 -44
- data/test-server/instrumentation-backend/src/org/antlr/runtime/MismatchedTokenException.java +0 -45
- data/test-server/instrumentation-backend/src/org/antlr/runtime/MismatchedTreeNodeException.java +0 -49
- data/test-server/instrumentation-backend/src/org/antlr/runtime/MissingTokenException.java +0 -56
- data/test-server/instrumentation-backend/src/org/antlr/runtime/NoViableAltException.java +0 -57
- data/test-server/instrumentation-backend/src/org/antlr/runtime/Parser.java +0 -98
- data/test-server/instrumentation-backend/src/org/antlr/runtime/ParserRuleReturnScope.java +0 -52
- data/test-server/instrumentation-backend/src/org/antlr/runtime/RecognitionException.java +0 -180
- data/test-server/instrumentation-backend/src/org/antlr/runtime/RecognizerSharedState.java +0 -144
- data/test-server/instrumentation-backend/src/org/antlr/runtime/RuleReturnScope.java +0 -42
- data/test-server/instrumentation-backend/src/org/antlr/runtime/SerializedGrammar.java +0 -204
- data/test-server/instrumentation-backend/src/org/antlr/runtime/Token.java +0 -92
- data/test-server/instrumentation-backend/src/org/antlr/runtime/TokenRewriteStream.java +0 -569
- data/test-server/instrumentation-backend/src/org/antlr/runtime/TokenSource.java +0 -54
- data/test-server/instrumentation-backend/src/org/antlr/runtime/TokenStream.java +0 -75
- data/test-server/instrumentation-backend/src/org/antlr/runtime/UnbufferedTokenStream.java +0 -82
- data/test-server/instrumentation-backend/src/org/antlr/runtime/UnwantedTokenException.java +0 -53
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/BlankDebugEventListener.java +0 -77
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugEventHub.java +0 -292
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugEventListener.java +0 -323
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugEventRepeater.java +0 -88
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugEventSocketProxy.java +0 -358
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugParser.java +0 -101
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTokenStream.java +0 -156
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTreeAdaptor.java +0 -250
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTreeNodeStream.java +0 -155
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTreeParser.java +0 -112
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/ParseTreeBuilder.java +0 -109
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/Profiler.java +0 -772
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/RemoteDebugEventSocketListener.java +0 -541
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/TraceDebugEventListener.java +0 -108
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/Tracer.java +0 -69
- data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/DoubleKeyMap.java +0 -62
- data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/FastQueue.java +0 -100
- data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/IntArray.java +0 -87
- data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/LookaheadStream.java +0 -161
- data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/Stats.java +0 -189
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/BaseTree.java +0 -349
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/BaseTreeAdaptor.java +0 -279
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/BufferedTreeNodeStream.java +0 -489
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/CommonErrorNode.java +0 -115
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/CommonTree.java +0 -185
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/CommonTreeAdaptor.java +0 -168
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/CommonTreeNodeStream.java +0 -171
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/ParseTree.java +0 -119
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/RewriteCardinalityException.java +0 -47
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/RewriteEarlyExitException.java +0 -39
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/RewriteEmptyStreamException.java +0 -35
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/RewriteRuleElementStream.java +0 -210
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/RewriteRuleNodeStream.java +0 -70
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/RewriteRuleSubtreeStream.java +0 -86
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/RewriteRuleTokenStream.java +0 -76
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/Tree.java +0 -127
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeAdaptor.java +0 -263
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeFilter.java +0 -135
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeIterator.java +0 -131
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeNodeStream.java +0 -106
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeParser.java +0 -169
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreePatternLexer.java +0 -135
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreePatternParser.java +0 -154
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeRewriter.java +0 -124
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeRuleReturnScope.java +0 -41
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeVisitor.java +0 -69
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeVisitorAction.java +0 -47
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeWizard.java +0 -531
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/CalabashInstrumentationTestRunner.java +0 -51
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/ClearAppData.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/ClearPreferences.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/Command.java +0 -50
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/FranklyResult.java +0 -82
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/GetPreferences.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/InstrumentationBackend.java +0 -190
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/Result.java +0 -87
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/SetPreferences.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/TestHelpers.java +0 -154
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/WakeUp.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/Action.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/Actions.java +0 -86
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java +0 -376
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/MultiTouchGesture.java +0 -749
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/NanoHTTPD.java +0 -1161
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/NullAction.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/ViewDump.java +0 -100
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/FinishOpenedActivities.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/SetActivityOrientation.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/application/Backdoor.java +0 -55
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/ClickOnScreen.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/DoubleTapCoordinate.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/Drag.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/DragCoordinates.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/LongPressCoordinate.java +0 -42
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/Swipe.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/TouchCoordinates.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/helpers/ListActions.java +0 -26
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/l10n/L10nHelper.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/l10n/PressElement.java +0 -50
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/l10n/WaitForElement.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/location/FakeGPSLocation.java +0 -138
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/GetMapBounds.java +0 -27
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/GetMapCenter.java +0 -27
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/GetMapMarker.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/GetMapMarkers.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/GetMapZoom.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/PanMapTo.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapCenter.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/SetMapZoom.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/TapAwayFromMarkers.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/map/TapMapMarker.java +0 -29
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/preferences/ClearPreferences.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/preferences/GetPreferences.java +0 -39
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/preferences/PreferencesUtils.java +0 -229
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/preferences/SetPreferences.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/DownKey.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/EnterKey.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/GoBack.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/LeftKey.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/PressKey.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/PressMenu.java +0 -26
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/RightKey.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/UpKey.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/text/HideSoftKeyboard.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/text/KeyboardEnterText.java +0 -59
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/text/PressUserActionButton.java +0 -128
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/version/Version.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/GetActivityName.java +0 -32
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/IsCurrentActivityFocused.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/CalabashChromeClient.java +0 -248
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/DumpBodyHtml.java +0 -53
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/DumpHtml.java +0 -55
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/EnterTextByCssSelector.java +0 -121
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/ExecuteAsyncJavascript.java +0 -77
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/ExecuteJavascript.java +0 -75
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/GetLoadProgress.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/GetUrl.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/JavaScriptExecuter.java +0 -105
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/QueryHelper.java +0 -114
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/ScrollTo.java +0 -89
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/SetPropertyByCssSelector.java +0 -69
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/UnableToFindChromeClientException.java +0 -26
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/json/JSONUtils.java +0 -18
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/CompletedFuture.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/InvocationOperation.java +0 -269
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/Operation.java +0 -7
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/PropertyOperation.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/Query.java +0 -172
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/QueryResult.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/UIQuery.tokens +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/UIQueryResultVoid.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ViewMapper.java +0 -120
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/antlr/UIQueryLexer.java +0 -1905
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/antlr/UIQueryParser.java +0 -772
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/BeginsWithRelation.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/ComparisonOperator.java +0 -60
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/ContainsRelation.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/DoubleFuture.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/EndsWithRelation.java +0 -42
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/InvalidUIQueryException.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/LikeRelation.java +0 -79
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/PartialFutureList.java +0 -100
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryAST.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryASTClassName.java +0 -147
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryASTPredicate.java +0 -159
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryASTPredicateRelation.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryASTWith.java +0 -222
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryDirection.java +0 -15
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryEvaluator.java +0 -69
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryUtils.java +0 -686
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryVisibility.java +0 -32
- data/test-server/instrumentation-backend/src/sh/calaba/org/apache/http/entity/mime/version.properties +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variant.java +0 -413
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variants.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/FormatSchema.java +0 -29
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonEncoding.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonFactory.java +0 -937
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerationException.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerator.java +0 -1197
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonLocation.java +0 -141
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonNode.java +0 -879
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParseException.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParser.java +0 -1434
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonProcessingException.java +0 -80
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonStreamContext.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonToken.java +0 -161
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/ObjectCodec.java +0 -157
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java +0 -166
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Version.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Versioned.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnyGetter.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAutoDetect.java +0 -148
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonBackReference.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonCreator.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonGetter.java +0 -35
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnore.java +0 -57
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreProperties.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreType.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonManagedReference.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonMethod.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonProperty.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonPropertyOrder.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonRawValue.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSetter.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSubTypes.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeInfo.java +0 -236
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeName.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonUnwrapped.java +0 -76
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonValue.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonWriteNullProperties.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/package-info.java +0 -16
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatDetector.java +0 -176
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatMatcher.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/InputAccessor.java +0 -130
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/MatchStrength.java +0 -64
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ByteSourceBootstrapper.java +0 -518
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/DefaultPrettyPrinter.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonGeneratorBase.java +0 -570
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonNumericParserBase.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserBase.java +0 -1067
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserMinimalBase.java +0 -539
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonReadContext.java +0 -188
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonWriteContext.java +0 -178
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParser.java +0 -1815
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParserBase.java +0 -228
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/StreamBasedParserBase.java +0 -197
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8Generator.java +0 -1757
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8StreamParser.java +0 -2966
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/WriterBasedGenerator.java +0 -1815
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/package-info.java +0 -6
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/BaseReader.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/CharacterEscapes.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/IOContext.java +0 -239
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/InputDecorator.java +0 -67
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/JsonStringEncoder.java +0 -408
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java +0 -145
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberInput.java +0 -303
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberOutput.java +0 -398
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/OutputDecorator.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SegmentedStringWriter.java +0 -104
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SerializedString.java +0 -114
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF32Reader.java +0 -214
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF8Writer.java +0 -387
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/package.html +0 -4
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AbstractTypeResolver.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AnnotationIntrospector.java +0 -1485
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanDescription.java +0 -171
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanProperty.java +0 -123
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanPropertyDefinition.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ClassIntrospector.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualDeserializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualKeyDeserializer.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationConfig.java +0 -926
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationContext.java +0 -262
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationProblemHandler.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerFactory.java +0 -356
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerProvider.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Deserializers.java +0 -339
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/HandlerInstantiator.java +0 -115
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/InjectableValues.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonDeserializer.java +0 -166
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonMappingException.java +0 -335
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializable.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializer.java +0 -138
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializer.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializers.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MapperConfig.java +0 -1154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingIterator.java +0 -190
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingJsonFactory.java +0 -81
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Module.java +0 -255
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectMapper.java +0 -2885
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectReader.java +0 -958
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectWriter.java +0 -554
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/PropertyNamingStrategy.java +0 -258
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableDeserializer.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableSerializer.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/RuntimeJsonMappingException.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializationConfig.java +0 -1041
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerFactory.java +0 -198
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerProvider.java +0 -552
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Serializers.java +0 -137
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeDeserializer.java +0 -118
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeSerializer.java +0 -164
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonInject.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonStdImpl.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonCachable.java +0 -32
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonDeserialize.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonFilter.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonRootName.java +0 -29
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonSerialize.java +0 -216
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeIdResolver.java +0 -35
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeResolver.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java +0 -26
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonView.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/AbstractDeserializer.java +0 -102
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BasicDeserializerFactory.java +0 -894
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializer.java +0 -1537
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerBuilder.java +0 -277
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerFactory.java +0 -1474
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerModifier.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CollectionDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ContainerDeserializer.java +0 -14
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CustomDeserializerFactory.java +0 -227
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/DateDeserializer.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumDeserializer.java +0 -15
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumResolver.java +0 -17
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/FromStringDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/JsonNodeDeserializer.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/MapDeserializer.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableAnyProperty.java +0 -177
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableBeanProperty.java +0 -827
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializationContext.java +0 -326
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializer.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializerProvider.java +0 -494
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializers.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializer.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdScalarDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ThrowableDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/UntypedObjectDeserializer.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiator.java +0 -280
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiators.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java +0 -257
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorCollector.java +0 -141
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorProperty.java +0 -152
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ExternalTypeHandler.java +0 -173
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyBasedCreator.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValue.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValueBuffer.java +0 -102
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/UnwrappedPropertyHandler.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ValueInjector.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/package-info.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicReferenceDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CalendarDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ClassDeserializer.java +0 -49
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CollectionDeserializer.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ContainerDeserializerBase.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/DateDeserializer.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumDeserializer.java +0 -139
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumMapDeserializer.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumSetDeserializer.java +0 -89
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/FromStringDeserializer.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JavaTypeDeserializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JsonNodeDeserializer.java +0 -314
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/MapDeserializer.java +0 -412
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ObjectArrayDeserializer.java +0 -201
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/PrimitiveArrayDeserializers.java +0 -583
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdDeserializer.java +0 -1136
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializer.java +0 -340
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializers.java +0 -108
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdScalarDeserializer.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdValueInstantiator.java +0 -392
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringCollectionDeserializer.java +0 -227
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringDeserializer.java +0 -55
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ThrowableDeserializer.java +0 -164
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TimestampDeserializer.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TokenBufferDeserializer.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/UntypedObjectDeserializer.java +0 -248
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/package-info.java +0 -15
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/exc/UnrecognizedPropertyException.java +0 -75
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/DOMDeserializer.java +0 -65
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/OptionalHandlerFactory.java +0 -217
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/package-info.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/Annotated.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedClass.java +0 -980
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedConstructor.java +0 -143
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedField.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMember.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethod.java +0 -188
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethodMap.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedParameter.java +0 -191
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedWithParams.java +0 -195
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotationMap.java +0 -101
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicBeanDescription.java +0 -615
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicClassIntrospector.java +0 -364
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/JacksonAnnotationIntrospector.java +0 -813
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MemberKey.java +0 -83
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MethodFilter.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/NopAnnotationIntrospector.java +0 -209
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertiesCollector.java +0 -713
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertyBuilder.java +0 -648
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/VisibilityChecker.java +0 -424
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/package-info.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/NamedType.java +0 -53
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/SubtypeResolver.java +0 -39
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeIdResolver.java +0 -74
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeResolverBuilder.java +0 -151
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeDeserializer.java +0 -126
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeSerializer.java +0 -110
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeDeserializer.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeSerializer.java +0 -129
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeDeserializer.java +0 -191
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeSerializer.java +0 -69
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeDeserializer.java +0 -103
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeSerializer.java +0 -121
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/ClassNameIdResolver.java +0 -138
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/MinimalClassNameIdResolver.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdSubtypeResolver.java +0 -151
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdTypeResolverBuilder.java +0 -202
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeDeserializerBase.java +0 -154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeIdResolverBase.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeNameIdResolver.java +0 -154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeSerializerBase.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/package-info.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/package-info.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleAbstractTypeResolver.java +0 -86
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleDeserializers.java +0 -130
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleKeyDeserializers.java +0 -59
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleModule.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleSerializers.java +0 -206
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleValueInstantiators.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/package-info.java +0 -16
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/package-info.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/AnyGetterWriter.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ArraySerializers.java +0 -7
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BasicSerializerFactory.java +0 -806
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyFilter.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyWriter.java +0 -512
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializer.java +0 -126
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerBuilder.java +0 -140
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerFactory.java +0 -780
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerModifier.java +0 -95
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ContainerSerializers.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/CustomSerializerFactory.java +0 -293
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/EnumSerializer.java +0 -17
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilterProvider.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilteredBeanPropertyWriter.java +0 -96
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/JdkSerializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/MapSerializer.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/PropertyBuilder.java +0 -372
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ScalarSerializerBase.java +0 -18
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/SerializerBase.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdKeySerializer.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializerProvider.java +0 -852
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializers.java +0 -372
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ToStringSerializer.java +0 -14
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/FailingSerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/JsonSerializerMap.java +0 -93
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/PropertySerializerMap.java +0 -231
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/ReadOnlyClassToSerializerMap.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SerializerCache.java +0 -304
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleBeanPropertyFilter.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleFilterProvider.java +0 -114
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnknownSerializer.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanPropertyWriter.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanSerializer.java +0 -76
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/AsArraySerializerBase.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/BeanSerializerBase.java +0 -340
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CalendarSerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CollectionSerializer.java +0 -113
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ContainerSerializerBase.java +0 -51
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/DateSerializer.java +0 -42
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumMapSerializer.java +0 -218
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSerializer.java +0 -84
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSetSerializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IndexedStringListSerializer.java +0 -116
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/InetAddressSerializer.java +0 -51
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IterableSerializer.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/JsonValueSerializer.java +0 -233
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/MapSerializer.java +0 -422
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NonTypedScalarSerializerBase.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NullSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ObjectArraySerializer.java +0 -281
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/RawSerializer.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ScalarSerializerBase.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableSerializer.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableWithTypeSerializer.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializerBase.java +0 -184
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StaticListSerializerBase.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdArraySerializers.java +0 -476
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdContainerSerializers.java +0 -249
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdJdkSerializers.java +0 -195
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializers.java +0 -95
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringCollectionSerializer.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringSerializer.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TimeZoneSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ToStringSerializer.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TokenBufferSerializer.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ArrayType.java +0 -260
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ClassKey.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionLikeType.java +0 -204
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionType.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/HierarchicType.java +0 -88
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapLikeType.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapType.java +0 -146
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/SimpleType.java +0 -250
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBase.java +0 -148
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBindings.java +0 -351
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeFactory.java +0 -1165
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeModifier.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeParser.java +0 -134
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/package-info.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Annotations.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ArrayBuilders.java +0 -293
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/BeanUtil.java +0 -260
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ClassUtil.java +0 -645
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Comparators.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumResolver.java +0 -108
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumValues.java +0 -82
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601DateFormat.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601Utils.java +0 -230
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONPObject.java +0 -105
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONWrappedObject.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LRUMap.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LinkedNode.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Named.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ObjectBuffer.java +0 -257
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/PrimitiveArrayBuilder.java +0 -180
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/RootNameLookup.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/StdDateFormat.java +0 -348
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/package-info.java +0 -4
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ArrayNode.java +0 -758
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BaseJsonNode.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BigIntegerNode.java +0 -104
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BinaryNode.java +0 -136
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BooleanNode.java +0 -84
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ContainerNode.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DecimalNode.java +0 -96
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DoubleNode.java +0 -106
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/IntNode.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/JsonNodeFactory.java +0 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/LongNode.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/MissingNode.java +0 -97
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NodeCursor.java +0 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NullNode.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java +0 -72
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java +0 -696
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/POJONode.java +0 -145
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TextNode.java +0 -299
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TreeTraversingParser.java +0 -383
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ValueNode.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/package-info.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSchema.java +0 -82
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSerializableSchema.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/BytesToNameCanonicalizer.java +0 -969
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/CharsToNameCanonicalizer.java +0 -578
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name.java +0 -50
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name1.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name2.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name3.java +0 -39
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/NameN.java +0 -68
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/JavaType.java +0 -503
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/TypeReference.java +0 -60
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/BufferRecycler.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/ByteArrayBuilder.java +0 -294
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/CharTypes.java +0 -237
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/DefaultPrettyPrinter.java +0 -282
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/InternCache.java +0 -49
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonGeneratorDelegate.java +0 -273
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserDelegate.java +0 -251
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserSequence.java +0 -150
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/MinimalPrettyPrinter.java +0 -152
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TextBuffer.java +0 -707
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TokenBuffer.java +0 -1233
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/VersionUtil.java +0 -79
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java +0 -4
data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTreeNodeStream.java
DELETED
@@ -1,155 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
[The "BSD license"]
|
3
|
-
Copyright (c) 2005-2009 Terence Parr
|
4
|
-
All rights reserved.
|
5
|
-
|
6
|
-
Redistribution and use in source and binary forms, with or without
|
7
|
-
modification, are permitted provided that the following conditions
|
8
|
-
are met:
|
9
|
-
1. Redistributions of source code must retain the above copyright
|
10
|
-
notice, this list of conditions and the following disclaimer.
|
11
|
-
2. Redistributions in binary form must reproduce the above copyright
|
12
|
-
notice, this list of conditions and the following disclaimer in the
|
13
|
-
documentation and/or other materials provided with the distribution.
|
14
|
-
3. The name of the author may not be used to endorse or promote products
|
15
|
-
derived from this software without specific prior written permission.
|
16
|
-
|
17
|
-
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
18
|
-
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
19
|
-
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
20
|
-
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
21
|
-
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
22
|
-
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
26
|
-
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
-
*/
|
28
|
-
package org.antlr.runtime.debug;
|
29
|
-
|
30
|
-
import org.antlr.runtime.tree.TreeAdaptor;
|
31
|
-
import org.antlr.runtime.tree.TreeNodeStream;
|
32
|
-
import org.antlr.runtime.TokenStream;
|
33
|
-
|
34
|
-
/** Debug any tree node stream. The constructor accepts the stream
|
35
|
-
* and a debug listener. As node stream calls come in, debug events
|
36
|
-
* are triggered.
|
37
|
-
*/
|
38
|
-
public class DebugTreeNodeStream implements TreeNodeStream {
|
39
|
-
protected DebugEventListener dbg;
|
40
|
-
protected TreeAdaptor adaptor;
|
41
|
-
protected TreeNodeStream input;
|
42
|
-
protected boolean initialStreamState = true;
|
43
|
-
|
44
|
-
/** Track the last mark() call result value for use in rewind(). */
|
45
|
-
protected int lastMarker;
|
46
|
-
|
47
|
-
public DebugTreeNodeStream(TreeNodeStream input,
|
48
|
-
DebugEventListener dbg)
|
49
|
-
{
|
50
|
-
this.input = input;
|
51
|
-
this.adaptor = input.getTreeAdaptor();
|
52
|
-
this.input.setUniqueNavigationNodes(true);
|
53
|
-
setDebugListener(dbg);
|
54
|
-
}
|
55
|
-
|
56
|
-
public void setDebugListener(DebugEventListener dbg) {
|
57
|
-
this.dbg = dbg;
|
58
|
-
}
|
59
|
-
|
60
|
-
public TreeAdaptor getTreeAdaptor() {
|
61
|
-
return adaptor;
|
62
|
-
}
|
63
|
-
|
64
|
-
public void consume() {
|
65
|
-
Object node = input.LT(1);
|
66
|
-
input.consume();
|
67
|
-
dbg.consumeNode(node);
|
68
|
-
}
|
69
|
-
|
70
|
-
public Object get(int i) {
|
71
|
-
return input.get(i);
|
72
|
-
}
|
73
|
-
|
74
|
-
public Object LT(int i) {
|
75
|
-
Object node = input.LT(i);
|
76
|
-
int ID = adaptor.getUniqueID(node);
|
77
|
-
String text = adaptor.getText(node);
|
78
|
-
int type = adaptor.getType(node);
|
79
|
-
dbg.LT(i, node);
|
80
|
-
return node;
|
81
|
-
}
|
82
|
-
|
83
|
-
public int LA(int i) {
|
84
|
-
Object node = input.LT(i);
|
85
|
-
int ID = adaptor.getUniqueID(node);
|
86
|
-
String text = adaptor.getText(node);
|
87
|
-
int type = adaptor.getType(node);
|
88
|
-
dbg.LT(i, node);
|
89
|
-
return type;
|
90
|
-
}
|
91
|
-
|
92
|
-
public int mark() {
|
93
|
-
lastMarker = input.mark();
|
94
|
-
dbg.mark(lastMarker);
|
95
|
-
return lastMarker;
|
96
|
-
}
|
97
|
-
|
98
|
-
public int index() {
|
99
|
-
return input.index();
|
100
|
-
}
|
101
|
-
|
102
|
-
public void rewind(int marker) {
|
103
|
-
dbg.rewind(marker);
|
104
|
-
input.rewind(marker);
|
105
|
-
}
|
106
|
-
|
107
|
-
public void rewind() {
|
108
|
-
dbg.rewind();
|
109
|
-
input.rewind(lastMarker);
|
110
|
-
}
|
111
|
-
|
112
|
-
public void release(int marker) {
|
113
|
-
}
|
114
|
-
|
115
|
-
public void seek(int index) {
|
116
|
-
// TODO: implement seek in dbg interface
|
117
|
-
// db.seek(index);
|
118
|
-
input.seek(index);
|
119
|
-
}
|
120
|
-
|
121
|
-
public int size() {
|
122
|
-
return input.size();
|
123
|
-
}
|
124
|
-
|
125
|
-
public void reset() { ; }
|
126
|
-
|
127
|
-
public Object getTreeSource() {
|
128
|
-
return input;
|
129
|
-
}
|
130
|
-
|
131
|
-
public String getSourceName() {
|
132
|
-
return getTokenStream().getSourceName();
|
133
|
-
}
|
134
|
-
|
135
|
-
public TokenStream getTokenStream() {
|
136
|
-
return input.getTokenStream();
|
137
|
-
}
|
138
|
-
|
139
|
-
/** It is normally this object that instructs the node stream to
|
140
|
-
* create unique nav nodes, but to satisfy interface, we have to
|
141
|
-
* define it. It might be better to ignore the parameter but
|
142
|
-
* there might be a use for it later, so I'll leave.
|
143
|
-
*/
|
144
|
-
public void setUniqueNavigationNodes(boolean uniqueNavigationNodes) {
|
145
|
-
input.setUniqueNavigationNodes(uniqueNavigationNodes);
|
146
|
-
}
|
147
|
-
|
148
|
-
public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) {
|
149
|
-
input.replaceChildren(parent, startChildIndex, stopChildIndex, t);
|
150
|
-
}
|
151
|
-
|
152
|
-
public String toString(Object start, Object stop) {
|
153
|
-
return input.toString(start,stop);
|
154
|
-
}
|
155
|
-
}
|
@@ -1,112 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
[The "BSD license"]
|
3
|
-
Copyright (c) 2005-2009 Terence Parr
|
4
|
-
All rights reserved.
|
5
|
-
|
6
|
-
Redistribution and use in source and binary forms, with or without
|
7
|
-
modification, are permitted provided that the following conditions
|
8
|
-
are met:
|
9
|
-
1. Redistributions of source code must retain the above copyright
|
10
|
-
notice, this list of conditions and the following disclaimer.
|
11
|
-
2. Redistributions in binary form must reproduce the above copyright
|
12
|
-
notice, this list of conditions and the following disclaimer in the
|
13
|
-
documentation and/or other materials provided with the distribution.
|
14
|
-
3. The name of the author may not be used to endorse or promote products
|
15
|
-
derived from this software without specific prior written permission.
|
16
|
-
|
17
|
-
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
18
|
-
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
19
|
-
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
20
|
-
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
21
|
-
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
22
|
-
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
26
|
-
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
-
*/
|
28
|
-
package org.antlr.runtime.debug;
|
29
|
-
|
30
|
-
import org.antlr.runtime.*;
|
31
|
-
import org.antlr.runtime.tree.TreeNodeStream;
|
32
|
-
import org.antlr.runtime.tree.TreeParser;
|
33
|
-
|
34
|
-
import java.io.IOException;
|
35
|
-
|
36
|
-
public class DebugTreeParser extends TreeParser {
|
37
|
-
/** Who to notify when events in the parser occur. */
|
38
|
-
protected DebugEventListener dbg = null;
|
39
|
-
|
40
|
-
private static final String TAG = "ANTLR:DEBUG:DebugTreeParser";
|
41
|
-
|
42
|
-
/** Used to differentiate between fixed lookahead and cyclic DFA decisions
|
43
|
-
* while profiling.
|
44
|
-
*/
|
45
|
-
public boolean isCyclicDecision = false;
|
46
|
-
|
47
|
-
/** Create a normal parser except wrap the token stream in a debug
|
48
|
-
* proxy that fires consume events.
|
49
|
-
*/
|
50
|
-
public DebugTreeParser(TreeNodeStream input, DebugEventListener dbg, RecognizerSharedState state) {
|
51
|
-
super(input instanceof DebugTreeNodeStream?input:new DebugTreeNodeStream(input,dbg), state);
|
52
|
-
setDebugListener(dbg);
|
53
|
-
}
|
54
|
-
|
55
|
-
public DebugTreeParser(TreeNodeStream input, RecognizerSharedState state) {
|
56
|
-
super(input instanceof DebugTreeNodeStream?input:new DebugTreeNodeStream(input,null), state);
|
57
|
-
}
|
58
|
-
|
59
|
-
public DebugTreeParser(TreeNodeStream input, DebugEventListener dbg) {
|
60
|
-
this(input instanceof DebugTreeNodeStream?input:new DebugTreeNodeStream(input,dbg), dbg, null);
|
61
|
-
}
|
62
|
-
|
63
|
-
/** Provide a new debug event listener for this parser. Notify the
|
64
|
-
* input stream too that it should send events to this listener.
|
65
|
-
*/
|
66
|
-
public void setDebugListener(DebugEventListener dbg) {
|
67
|
-
if ( input instanceof DebugTreeNodeStream ) {
|
68
|
-
((DebugTreeNodeStream)input).setDebugListener(dbg);
|
69
|
-
}
|
70
|
-
this.dbg = dbg;
|
71
|
-
}
|
72
|
-
|
73
|
-
public DebugEventListener getDebugListener() {
|
74
|
-
return dbg;
|
75
|
-
}
|
76
|
-
|
77
|
-
public void reportError(IOException e) {
|
78
|
-
//System.err.println(e);
|
79
|
-
//e.printStackTrace(System.err);
|
80
|
-
android.util.Log.e(TAG, android.util.Log.getStackTraceString(e));
|
81
|
-
}
|
82
|
-
|
83
|
-
public void reportError(RecognitionException e) {
|
84
|
-
dbg.recognitionException(e);
|
85
|
-
}
|
86
|
-
|
87
|
-
protected Object getMissingSymbol(IntStream input,
|
88
|
-
RecognitionException e,
|
89
|
-
int expectedTokenType,
|
90
|
-
BitSet follow)
|
91
|
-
{
|
92
|
-
Object o = super.getMissingSymbol(input, e, expectedTokenType, follow);
|
93
|
-
dbg.consumeNode(o);
|
94
|
-
return o;
|
95
|
-
}
|
96
|
-
|
97
|
-
public void beginResync() {
|
98
|
-
dbg.beginResync();
|
99
|
-
}
|
100
|
-
|
101
|
-
public void endResync() {
|
102
|
-
dbg.endResync();
|
103
|
-
}
|
104
|
-
|
105
|
-
public void beginBacktrack(int level) {
|
106
|
-
dbg.beginBacktrack(level);
|
107
|
-
}
|
108
|
-
|
109
|
-
public void endBacktrack(int level, boolean successful) {
|
110
|
-
dbg.endBacktrack(level,successful);
|
111
|
-
}
|
112
|
-
}
|
@@ -1,109 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
[The "BSD license"]
|
3
|
-
Copyright (c) 2005-2009 Terence Parr
|
4
|
-
All rights reserved.
|
5
|
-
|
6
|
-
Redistribution and use in source and binary forms, with or without
|
7
|
-
modification, are permitted provided that the following conditions
|
8
|
-
are met:
|
9
|
-
1. Redistributions of source code must retain the above copyright
|
10
|
-
notice, this list of conditions and the following disclaimer.
|
11
|
-
2. Redistributions in binary form must reproduce the above copyright
|
12
|
-
notice, this list of conditions and the following disclaimer in the
|
13
|
-
documentation and/or other materials provided with the distribution.
|
14
|
-
3. The name of the author may not be used to endorse or promote products
|
15
|
-
derived from this software without specific prior written permission.
|
16
|
-
|
17
|
-
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
18
|
-
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
19
|
-
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
20
|
-
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
21
|
-
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
22
|
-
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
26
|
-
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
-
*/
|
28
|
-
package org.antlr.runtime.debug;
|
29
|
-
|
30
|
-
import org.antlr.runtime.RecognitionException;
|
31
|
-
import org.antlr.runtime.Token;
|
32
|
-
import org.antlr.runtime.tree.ParseTree;
|
33
|
-
|
34
|
-
import java.util.Stack;
|
35
|
-
import java.util.ArrayList;
|
36
|
-
import java.util.List;
|
37
|
-
|
38
|
-
/** This parser listener tracks rule entry/exit and token matches
|
39
|
-
* to build a simple parse tree using ParseTree nodes.
|
40
|
-
*/
|
41
|
-
public class ParseTreeBuilder extends BlankDebugEventListener {
|
42
|
-
public static final String EPSILON_PAYLOAD = "<epsilon>";
|
43
|
-
|
44
|
-
Stack callStack = new Stack();
|
45
|
-
List hiddenTokens = new ArrayList();
|
46
|
-
int backtracking = 0;
|
47
|
-
|
48
|
-
public ParseTreeBuilder(String grammarName) {
|
49
|
-
ParseTree root = create("<grammar "+grammarName+">");
|
50
|
-
callStack.push(root);
|
51
|
-
}
|
52
|
-
|
53
|
-
public ParseTree getTree() {
|
54
|
-
return (ParseTree)callStack.elementAt(0);
|
55
|
-
}
|
56
|
-
|
57
|
-
/** What kind of node to create. You might want to override
|
58
|
-
* so I factored out creation here.
|
59
|
-
*/
|
60
|
-
public ParseTree create(Object payload) {
|
61
|
-
return new ParseTree(payload);
|
62
|
-
}
|
63
|
-
|
64
|
-
public ParseTree epsilonNode() {
|
65
|
-
return create(EPSILON_PAYLOAD);
|
66
|
-
}
|
67
|
-
|
68
|
-
/** Backtracking or cyclic DFA, don't want to add nodes to tree */
|
69
|
-
public void enterDecision(int d, boolean couldBacktrack) { backtracking++; }
|
70
|
-
public void exitDecision(int i) { backtracking--; }
|
71
|
-
|
72
|
-
public void enterRule(String filename, String ruleName) {
|
73
|
-
if ( backtracking>0 ) return;
|
74
|
-
ParseTree parentRuleNode = (ParseTree)callStack.peek();
|
75
|
-
ParseTree ruleNode = create(ruleName);
|
76
|
-
parentRuleNode.addChild(ruleNode);
|
77
|
-
callStack.push(ruleNode);
|
78
|
-
}
|
79
|
-
|
80
|
-
public void exitRule(String filename, String ruleName) {
|
81
|
-
if ( backtracking>0 ) return;
|
82
|
-
ParseTree ruleNode = (ParseTree)callStack.peek();
|
83
|
-
if ( ruleNode.getChildCount()==0 ) {
|
84
|
-
ruleNode.addChild(epsilonNode());
|
85
|
-
}
|
86
|
-
callStack.pop();
|
87
|
-
}
|
88
|
-
|
89
|
-
public void consumeToken(Token token) {
|
90
|
-
if ( backtracking>0 ) return;
|
91
|
-
ParseTree ruleNode = (ParseTree)callStack.peek();
|
92
|
-
ParseTree elementNode = create(token);
|
93
|
-
elementNode.hiddenTokens = this.hiddenTokens;
|
94
|
-
this.hiddenTokens = new ArrayList();
|
95
|
-
ruleNode.addChild(elementNode);
|
96
|
-
}
|
97
|
-
|
98
|
-
public void consumeHiddenToken(Token token) {
|
99
|
-
if ( backtracking>0 ) return;
|
100
|
-
hiddenTokens.add(token);
|
101
|
-
}
|
102
|
-
|
103
|
-
public void recognitionException(RecognitionException e) {
|
104
|
-
if ( backtracking>0 ) return;
|
105
|
-
ParseTree ruleNode = (ParseTree)callStack.peek();
|
106
|
-
ParseTree errorNode = create(e);
|
107
|
-
ruleNode.addChild(errorNode);
|
108
|
-
}
|
109
|
-
}
|
@@ -1,772 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
[The "BSD license"]
|
3
|
-
Copyright (c) 2005-2009 Terence Parr
|
4
|
-
All rights reserved.
|
5
|
-
|
6
|
-
Redistribution and use in source and binary forms, with or without
|
7
|
-
modification, are permitted provided that the following conditions
|
8
|
-
are met:
|
9
|
-
1. Redistributions of source code must retain the above copyright
|
10
|
-
notice, this list of conditions and the following disclaimer.
|
11
|
-
2. Redistributions in binary form must reproduce the above copyright
|
12
|
-
notice, this list of conditions and the following disclaimer in the
|
13
|
-
documentation and/or other materials provided with the distribution.
|
14
|
-
3. The name of the author may not be used to endorse or promote products
|
15
|
-
derived from this software without specific prior written permission.
|
16
|
-
|
17
|
-
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
18
|
-
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
19
|
-
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
20
|
-
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
21
|
-
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
22
|
-
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
23
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
24
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
25
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
26
|
-
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
27
|
-
*/
|
28
|
-
package org.antlr.runtime.debug;
|
29
|
-
|
30
|
-
import org.antlr.runtime.*;
|
31
|
-
import org.antlr.runtime.misc.DoubleKeyMap;
|
32
|
-
|
33
|
-
import java.util.*;
|
34
|
-
|
35
|
-
/** Using the debug event interface, track what is happening in the parser
|
36
|
-
* and record statistics about the runtime.
|
37
|
-
*/
|
38
|
-
public class Profiler extends BlankDebugEventListener {
|
39
|
-
public static final String DATA_SEP = "\t";
|
40
|
-
public static final String newline = System.getProperty("line.separator");
|
41
|
-
|
42
|
-
static boolean dump = false;
|
43
|
-
|
44
|
-
private static final String TAG = "ANTLR:DEBUG:Profiler";
|
45
|
-
|
46
|
-
public static class ProfileStats {
|
47
|
-
public String Version;
|
48
|
-
public String name;
|
49
|
-
public int numRuleInvocations;
|
50
|
-
public int numUniqueRulesInvoked;
|
51
|
-
public int numDecisionEvents;
|
52
|
-
public int numDecisionsCovered;
|
53
|
-
public int numDecisionsThatPotentiallyBacktrack;
|
54
|
-
public int numDecisionsThatDoBacktrack;
|
55
|
-
public int maxRuleInvocationDepth;
|
56
|
-
public float avgkPerDecisionEvent;
|
57
|
-
public float avgkPerBacktrackingDecisionEvent;
|
58
|
-
public float averageDecisionPercentBacktracks;
|
59
|
-
public int numBacktrackOccurrences; // doesn't count gated DFA edges
|
60
|
-
|
61
|
-
public int numFixedDecisions;
|
62
|
-
public int minDecisionMaxFixedLookaheads;
|
63
|
-
public int maxDecisionMaxFixedLookaheads;
|
64
|
-
public int avgDecisionMaxFixedLookaheads;
|
65
|
-
public int stddevDecisionMaxFixedLookaheads;
|
66
|
-
public int numCyclicDecisions;
|
67
|
-
public int minDecisionMaxCyclicLookaheads;
|
68
|
-
public int maxDecisionMaxCyclicLookaheads;
|
69
|
-
public int avgDecisionMaxCyclicLookaheads;
|
70
|
-
public int stddevDecisionMaxCyclicLookaheads;
|
71
|
-
// int Stats.min(toArray(decisionMaxSynPredLookaheads);
|
72
|
-
// int Stats.max(toArray(decisionMaxSynPredLookaheads);
|
73
|
-
// int Stats.avg(toArray(decisionMaxSynPredLookaheads);
|
74
|
-
// int Stats.stddev(toArray(decisionMaxSynPredLookaheads);
|
75
|
-
public int numSemanticPredicates;
|
76
|
-
public int numTokens;
|
77
|
-
public int numHiddenTokens;
|
78
|
-
public int numCharsMatched;
|
79
|
-
public int numHiddenCharsMatched;
|
80
|
-
public int numReportedErrors;
|
81
|
-
public int numMemoizationCacheHits;
|
82
|
-
public int numMemoizationCacheMisses;
|
83
|
-
public int numGuessingRuleInvocations;
|
84
|
-
public int numMemoizationCacheEntries;
|
85
|
-
}
|
86
|
-
|
87
|
-
public static class DecisionDescriptor {
|
88
|
-
public int decision;
|
89
|
-
public String fileName;
|
90
|
-
public String ruleName;
|
91
|
-
public int line;
|
92
|
-
public int pos;
|
93
|
-
public boolean couldBacktrack;
|
94
|
-
|
95
|
-
public int n;
|
96
|
-
public float avgk; // avg across all decision events
|
97
|
-
public int maxk;
|
98
|
-
public int numBacktrackOccurrences;
|
99
|
-
public int numSemPredEvals;
|
100
|
-
}
|
101
|
-
|
102
|
-
// all about a specific exec of a single decision
|
103
|
-
public static class DecisionEvent {
|
104
|
-
public DecisionDescriptor decision;
|
105
|
-
public int startIndex;
|
106
|
-
public int k;
|
107
|
-
public boolean backtracks; // doesn't count gated DFA edges
|
108
|
-
public boolean evalSemPred;
|
109
|
-
public long startTime;
|
110
|
-
public long stopTime;
|
111
|
-
public int numMemoizationCacheHits;
|
112
|
-
public int numMemoizationCacheMisses;
|
113
|
-
}
|
114
|
-
|
115
|
-
/** Because I may change the stats, I need to track that for later
|
116
|
-
* computations to be consistent.
|
117
|
-
*/
|
118
|
-
public static final String Version = "3";
|
119
|
-
public static final String RUNTIME_STATS_FILENAME = "runtime.stats";
|
120
|
-
|
121
|
-
/** Ack, should not store parser; can't do remote stuff. Well, we pass
|
122
|
-
* input stream around too so I guess it's ok.
|
123
|
-
*/
|
124
|
-
public DebugParser parser = null;
|
125
|
-
|
126
|
-
// working variables
|
127
|
-
|
128
|
-
protected int ruleLevel = 0;
|
129
|
-
//protected int decisionLevel = 0;
|
130
|
-
protected Token lastRealTokenTouchedInDecision;
|
131
|
-
protected Set<String> uniqueRules = new HashSet<String>();
|
132
|
-
protected Stack<String> currentGrammarFileName = new Stack();
|
133
|
-
protected Stack<String> currentRuleName = new Stack();
|
134
|
-
protected Stack<Integer> currentLine = new Stack();
|
135
|
-
protected Stack<Integer> currentPos = new Stack();
|
136
|
-
|
137
|
-
// Vector<DecisionStats>
|
138
|
-
//protected Vector decisions = new Vector(200); // need setSize
|
139
|
-
protected DoubleKeyMap<String,Integer, DecisionDescriptor> decisions =
|
140
|
-
new DoubleKeyMap<String,Integer, DecisionDescriptor>();
|
141
|
-
|
142
|
-
// Record a DecisionData for each decision we hit while parsing
|
143
|
-
protected List<DecisionEvent> decisionEvents = new ArrayList<DecisionEvent>();
|
144
|
-
protected Stack<DecisionEvent> decisionStack = new Stack<DecisionEvent>();
|
145
|
-
|
146
|
-
protected int backtrackDepth;
|
147
|
-
|
148
|
-
ProfileStats stats = new ProfileStats();
|
149
|
-
|
150
|
-
public Profiler() {
|
151
|
-
}
|
152
|
-
|
153
|
-
public Profiler(DebugParser parser) {
|
154
|
-
this.parser = parser;
|
155
|
-
}
|
156
|
-
|
157
|
-
public void enterRule(String grammarFileName, String ruleName) {
|
158
|
-
// System.out.println("enterRule "+grammarFileName+":"+ruleName);
|
159
|
-
ruleLevel++;
|
160
|
-
stats.numRuleInvocations++;
|
161
|
-
uniqueRules.add(grammarFileName+":"+ruleName);
|
162
|
-
stats.maxRuleInvocationDepth = Math.max(stats.maxRuleInvocationDepth, ruleLevel);
|
163
|
-
currentGrammarFileName.push( grammarFileName );
|
164
|
-
currentRuleName.push( ruleName );
|
165
|
-
}
|
166
|
-
|
167
|
-
public void exitRule(String grammarFileName, String ruleName) {
|
168
|
-
ruleLevel--;
|
169
|
-
currentGrammarFileName.pop();
|
170
|
-
currentRuleName.pop();
|
171
|
-
}
|
172
|
-
|
173
|
-
/** Track memoization; this is not part of standard debug interface
|
174
|
-
* but is triggered by profiling. Code gen inserts an override
|
175
|
-
* for this method in the recognizer, which triggers this method.
|
176
|
-
* Called from alreadyParsedRule().
|
177
|
-
*/
|
178
|
-
public void examineRuleMemoization(IntStream input,
|
179
|
-
int ruleIndex,
|
180
|
-
int stopIndex, // index or MEMO_RULE_UNKNOWN...
|
181
|
-
String ruleName)
|
182
|
-
{
|
183
|
-
if (dump) System.out.println("examine memo "+ruleName+" at "+input.index()+": "+stopIndex);
|
184
|
-
if ( stopIndex==BaseRecognizer.MEMO_RULE_UNKNOWN ) {
|
185
|
-
//System.out.println("rule "+ruleIndex+" missed @ "+input.index());
|
186
|
-
stats.numMemoizationCacheMisses++;
|
187
|
-
stats.numGuessingRuleInvocations++; // we'll have to enter
|
188
|
-
currentDecision().numMemoizationCacheMisses++;
|
189
|
-
}
|
190
|
-
else {
|
191
|
-
// regardless of rule success/failure, if in cache, we have a cache hit
|
192
|
-
//System.out.println("rule "+ruleIndex+" hit @ "+input.index());
|
193
|
-
stats.numMemoizationCacheHits++;
|
194
|
-
currentDecision().numMemoizationCacheHits++;
|
195
|
-
}
|
196
|
-
}
|
197
|
-
|
198
|
-
/** Warning: doesn't track success/failure, just unique recording event */
|
199
|
-
public void memoize(IntStream input,
|
200
|
-
int ruleIndex,
|
201
|
-
int ruleStartIndex,
|
202
|
-
String ruleName)
|
203
|
-
{
|
204
|
-
// count how many entries go into table
|
205
|
-
if (dump) { //System.out.println("memoize "+ruleName);
|
206
|
-
android.util.Log.i(TAG, "memoize "+ruleName);
|
207
|
-
}
|
208
|
-
stats.numMemoizationCacheEntries++;
|
209
|
-
}
|
210
|
-
|
211
|
-
@Override
|
212
|
-
public void location(int line, int pos) {
|
213
|
-
currentLine.push(line);
|
214
|
-
currentPos.push(pos);
|
215
|
-
}
|
216
|
-
|
217
|
-
public void enterDecision(int decisionNumber, boolean couldBacktrack) {
|
218
|
-
lastRealTokenTouchedInDecision = null;
|
219
|
-
stats.numDecisionEvents++;
|
220
|
-
int startingLookaheadIndex = parser.getTokenStream().index();
|
221
|
-
TokenStream input = parser.getTokenStream();
|
222
|
-
if ( dump ) { //System.out.println("enterDecision canBacktrack="+couldBacktrack+" "+ decisionNumber +
|
223
|
-
//" backtrack depth " + backtrackDepth +
|
224
|
-
//" @ " + input.get(input.index()) +
|
225
|
-
//" rule " +locationDescription());
|
226
|
-
|
227
|
-
android.util.Log.i(TAG, "enterDecision canBacktrack="+couldBacktrack+" "+ decisionNumber +
|
228
|
-
" backtrack depth " + backtrackDepth +
|
229
|
-
" @ " + input.get(input.index()) +
|
230
|
-
" rule " +locationDescription());
|
231
|
-
}
|
232
|
-
String g = (String) currentGrammarFileName.peek();
|
233
|
-
DecisionDescriptor descriptor = decisions.get(g, decisionNumber);
|
234
|
-
if ( descriptor == null ) {
|
235
|
-
descriptor = new DecisionDescriptor();
|
236
|
-
decisions.put(g, decisionNumber, descriptor);
|
237
|
-
descriptor.decision = decisionNumber;
|
238
|
-
descriptor.fileName = (String)currentGrammarFileName.peek();
|
239
|
-
descriptor.ruleName = (String)currentRuleName.peek();
|
240
|
-
descriptor.line = (Integer)currentLine.peek();
|
241
|
-
descriptor.pos = (Integer)currentPos.peek();
|
242
|
-
descriptor.couldBacktrack = couldBacktrack;
|
243
|
-
}
|
244
|
-
descriptor.n++;
|
245
|
-
|
246
|
-
DecisionEvent d = new DecisionEvent();
|
247
|
-
decisionStack.push(d);
|
248
|
-
d.decision = descriptor;
|
249
|
-
d.startTime = System.currentTimeMillis();
|
250
|
-
d.startIndex = startingLookaheadIndex;
|
251
|
-
}
|
252
|
-
|
253
|
-
public void exitDecision(int decisionNumber) {
|
254
|
-
DecisionEvent d = decisionStack.pop();
|
255
|
-
d.stopTime = System.currentTimeMillis();
|
256
|
-
|
257
|
-
int lastTokenIndex = lastRealTokenTouchedInDecision.getTokenIndex();
|
258
|
-
int numHidden = getNumberOfHiddenTokens(d.startIndex, lastTokenIndex);
|
259
|
-
int depth = lastTokenIndex - d.startIndex - numHidden + 1; // +1 counts consuming start token as 1
|
260
|
-
d.k = depth;
|
261
|
-
d.decision.maxk = Math.max(d.decision.maxk, depth);
|
262
|
-
|
263
|
-
if (dump) { //System.out.println("exitDecision "+decisionNumber+" in "+d.decision.ruleName+
|
264
|
-
//" lookahead "+d.k +" max token "+lastRealTokenTouchedInDecision);
|
265
|
-
android.util.Log.i(TAG, "exitDecision "+decisionNumber+" in "+d.decision.ruleName+
|
266
|
-
" lookahead "+d.k +" max token "+lastRealTokenTouchedInDecision);
|
267
|
-
}
|
268
|
-
decisionEvents.add(d); // done with decision; track all
|
269
|
-
}
|
270
|
-
|
271
|
-
public void consumeToken(Token token) {
|
272
|
-
if (dump) { //System.out.println("consume token "+token);
|
273
|
-
android.util.Log.i(TAG, "consume token "+token);
|
274
|
-
}
|
275
|
-
if ( !inDecision() ) {
|
276
|
-
stats.numTokens++;
|
277
|
-
return;
|
278
|
-
}
|
279
|
-
if ( lastRealTokenTouchedInDecision==null ||
|
280
|
-
lastRealTokenTouchedInDecision.getTokenIndex() < token.getTokenIndex() )
|
281
|
-
{
|
282
|
-
lastRealTokenTouchedInDecision = token;
|
283
|
-
}
|
284
|
-
DecisionEvent d = currentDecision();
|
285
|
-
// compute lookahead depth
|
286
|
-
int thisRefIndex = token.getTokenIndex();
|
287
|
-
int numHidden = getNumberOfHiddenTokens(d.startIndex, thisRefIndex);
|
288
|
-
int depth = thisRefIndex - d.startIndex - numHidden + 1; // +1 counts consuming start token as 1
|
289
|
-
//d.maxk = Math.max(d.maxk, depth);
|
290
|
-
if (dump) { //System.out.println("consume "+thisRefIndex+" "+depth+" tokens ahead in "+
|
291
|
-
//d.decision.ruleName+"-"+d.decision.decision+" start index "+d.startIndex);
|
292
|
-
android.util.Log.i(TAG, "consume "+thisRefIndex+" "+depth+" tokens ahead in "+
|
293
|
-
d.decision.ruleName+"-"+d.decision.decision+" start index "+d.startIndex);
|
294
|
-
}
|
295
|
-
}
|
296
|
-
|
297
|
-
/** The parser is in a decision if the decision depth > 0. This
|
298
|
-
* works for backtracking also, which can have nested decisions.
|
299
|
-
*/
|
300
|
-
public boolean inDecision() {
|
301
|
-
return decisionStack.size()>0;
|
302
|
-
}
|
303
|
-
|
304
|
-
public void consumeHiddenToken(Token token) {
|
305
|
-
//System.out.println("consume hidden token "+token);
|
306
|
-
if ( !inDecision() ) stats.numHiddenTokens++;
|
307
|
-
}
|
308
|
-
|
309
|
-
/** Track refs to lookahead if in a fixed/nonfixed decision.
|
310
|
-
*/
|
311
|
-
public void LT(int i, Token t) {
|
312
|
-
if ( inDecision() && i>0 ) {
|
313
|
-
DecisionEvent d = currentDecision();
|
314
|
-
if (dump) { //System.out.println("LT("+i+")="+t+" index "+t.getTokenIndex()+" relative to "+d.decision.ruleName+"-"+
|
315
|
-
//d.decision.decision+" start index "+d.startIndex);
|
316
|
-
android.util.Log.i(TAG, "LT("+i+")="+t+" index "+t.getTokenIndex()+" relative to "+d.decision.ruleName+"-"+
|
317
|
-
d.decision.decision+" start index "+d.startIndex);
|
318
|
-
}
|
319
|
-
if ( lastRealTokenTouchedInDecision==null ||
|
320
|
-
lastRealTokenTouchedInDecision.getTokenIndex() < t.getTokenIndex() )
|
321
|
-
{
|
322
|
-
lastRealTokenTouchedInDecision = t;
|
323
|
-
if (dump) { //System.out.println("set last token "+lastRealTokenTouchedInDecision);
|
324
|
-
android.util.Log.i(TAG, "set last token "+lastRealTokenTouchedInDecision);
|
325
|
-
}
|
326
|
-
}
|
327
|
-
// get starting index off stack
|
328
|
-
// int stackTop = lookaheadStack.size()-1;
|
329
|
-
// Integer startingIndex = (Integer)lookaheadStack.get(stackTop);
|
330
|
-
// // compute lookahead depth
|
331
|
-
// int thisRefIndex = parser.getTokenStream().index();
|
332
|
-
// int numHidden =
|
333
|
-
// getNumberOfHiddenTokens(startingIndex.intValue(), thisRefIndex);
|
334
|
-
// int depth = i + thisRefIndex - startingIndex.intValue() - numHidden;
|
335
|
-
// /*
|
336
|
-
// System.out.println("LT("+i+") @ index "+thisRefIndex+" is depth "+depth+
|
337
|
-
// " max is "+maxLookaheadInCurrentDecision);
|
338
|
-
// */
|
339
|
-
// if ( depth>maxLookaheadInCurrentDecision ) {
|
340
|
-
// maxLookaheadInCurrentDecision = depth;
|
341
|
-
// }
|
342
|
-
// d.maxk = currentDecision()/
|
343
|
-
}
|
344
|
-
}
|
345
|
-
|
346
|
-
/** Track backtracking decisions. You'll see a fixed or cyclic decision
|
347
|
-
* and then a backtrack.
|
348
|
-
*
|
349
|
-
* enter rule
|
350
|
-
* ...
|
351
|
-
* enter decision
|
352
|
-
* LA and possibly consumes (for cyclic DFAs)
|
353
|
-
* begin backtrack level
|
354
|
-
* mark m
|
355
|
-
* rewind m
|
356
|
-
* end backtrack level, success
|
357
|
-
* exit decision
|
358
|
-
* ...
|
359
|
-
* exit rule
|
360
|
-
*/
|
361
|
-
public void beginBacktrack(int level) {
|
362
|
-
if (dump) { //System.out.println("enter backtrack "+level);
|
363
|
-
android.util.Log.i(TAG, "enter backtrack "+level);
|
364
|
-
}
|
365
|
-
backtrackDepth++;
|
366
|
-
DecisionEvent e = currentDecision();
|
367
|
-
if ( e.decision.couldBacktrack ) {
|
368
|
-
stats.numBacktrackOccurrences++;
|
369
|
-
e.decision.numBacktrackOccurrences++;
|
370
|
-
e.backtracks = true;
|
371
|
-
}
|
372
|
-
}
|
373
|
-
|
374
|
-
/** Successful or not, track how much lookahead synpreds use */
|
375
|
-
public void endBacktrack(int level, boolean successful) {
|
376
|
-
if (dump) { //System.out.println("exit backtrack "+level+": "+successful);
|
377
|
-
android.util.Log.i(TAG, "exit backtrack "+level+": "+successful);
|
378
|
-
}
|
379
|
-
backtrackDepth--;
|
380
|
-
}
|
381
|
-
|
382
|
-
@Override
|
383
|
-
public void mark(int i) {
|
384
|
-
if (dump) { //System.out.println("mark "+i);
|
385
|
-
android.util.Log.i(TAG, "mark "+i);
|
386
|
-
}
|
387
|
-
}
|
388
|
-
|
389
|
-
@Override
|
390
|
-
public void rewind(int i) {
|
391
|
-
if (dump) { //System.out.println("rewind "+i);
|
392
|
-
android.util.Log.i(TAG, "rewind "+i);
|
393
|
-
}
|
394
|
-
}
|
395
|
-
|
396
|
-
@Override
|
397
|
-
public void rewind() {
|
398
|
-
if (dump) { //System.out.println("rewind");
|
399
|
-
android.util.Log.i(TAG, "rewind");
|
400
|
-
}
|
401
|
-
}
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
protected DecisionEvent currentDecision() {
|
406
|
-
return decisionStack.peek();
|
407
|
-
}
|
408
|
-
|
409
|
-
public void recognitionException(RecognitionException e) {
|
410
|
-
stats.numReportedErrors++;
|
411
|
-
}
|
412
|
-
|
413
|
-
public void semanticPredicate(boolean result, String predicate) {
|
414
|
-
stats.numSemanticPredicates++;
|
415
|
-
if ( inDecision() ) {
|
416
|
-
DecisionEvent d = currentDecision();
|
417
|
-
d.evalSemPred = true;
|
418
|
-
d.decision.numSemPredEvals++;
|
419
|
-
if (dump) { //System.out.println("eval "+predicate+" in "+d.decision.ruleName+"-"+
|
420
|
-
//d.decision.decision);
|
421
|
-
android.util.Log.i(TAG, "eval "+predicate+" in "+d.decision.ruleName+"-"+
|
422
|
-
d.decision.decision);
|
423
|
-
}
|
424
|
-
}
|
425
|
-
}
|
426
|
-
|
427
|
-
public void terminate() {
|
428
|
-
for (DecisionEvent e : decisionEvents) {
|
429
|
-
//System.out.println("decision "+e.decision.decision+": k="+e.k);
|
430
|
-
e.decision.avgk += e.k;
|
431
|
-
stats.avgkPerDecisionEvent += e.k;
|
432
|
-
if ( e.backtracks ) { // doesn't count gated syn preds on DFA edges
|
433
|
-
stats.avgkPerBacktrackingDecisionEvent += e.k;
|
434
|
-
}
|
435
|
-
}
|
436
|
-
stats.averageDecisionPercentBacktracks = 0.0f;
|
437
|
-
for (DecisionDescriptor d : decisions.values()) {
|
438
|
-
stats.numDecisionsCovered++;
|
439
|
-
d.avgk /= (double)d.n;
|
440
|
-
if ( d.couldBacktrack ) {
|
441
|
-
stats.numDecisionsThatPotentiallyBacktrack++;
|
442
|
-
float percentBacktracks = d.numBacktrackOccurrences / (float)d.n;
|
443
|
-
//System.out.println("dec "+d.decision+" backtracks "+percentBacktracks*100+"%");
|
444
|
-
stats.averageDecisionPercentBacktracks += percentBacktracks;
|
445
|
-
}
|
446
|
-
// ignore rules that backtrack along gated DFA edges
|
447
|
-
if ( d.numBacktrackOccurrences > 0 ) {
|
448
|
-
stats.numDecisionsThatDoBacktrack++;
|
449
|
-
}
|
450
|
-
}
|
451
|
-
stats.averageDecisionPercentBacktracks /= stats.numDecisionsThatPotentiallyBacktrack;
|
452
|
-
stats.averageDecisionPercentBacktracks *= 100; // it's a percentage
|
453
|
-
stats.avgkPerDecisionEvent /= stats.numDecisionEvents;
|
454
|
-
stats.avgkPerBacktrackingDecisionEvent /= (double)stats.numBacktrackOccurrences;
|
455
|
-
|
456
|
-
//System.err.println(toString());
|
457
|
-
android.util.Log.e(TAG, toString());
|
458
|
-
//System.err.println(getDecisionStatsDump());
|
459
|
-
android.util.Log.e(TAG, getDecisionStatsDump());
|
460
|
-
|
461
|
-
// String stats = toNotifyString();
|
462
|
-
// try {
|
463
|
-
// Stats.writeReport(RUNTIME_STATS_FILENAME,stats);
|
464
|
-
// }
|
465
|
-
// catch (IOException ioe) {
|
466
|
-
// System.err.println(ioe);
|
467
|
-
// ioe.printStackTrace(System.err);
|
468
|
-
// }
|
469
|
-
}
|
470
|
-
|
471
|
-
public void setParser(DebugParser parser) {
|
472
|
-
this.parser = parser;
|
473
|
-
}
|
474
|
-
|
475
|
-
// R E P O R T I N G
|
476
|
-
|
477
|
-
public String toNotifyString() {
|
478
|
-
StringBuffer buf = new StringBuffer();
|
479
|
-
buf.append(Version);
|
480
|
-
buf.append('\t');
|
481
|
-
buf.append(parser.getClass().getName());
|
482
|
-
// buf.append('\t');
|
483
|
-
// buf.append(numRuleInvocations);
|
484
|
-
// buf.append('\t');
|
485
|
-
// buf.append(maxRuleInvocationDepth);
|
486
|
-
// buf.append('\t');
|
487
|
-
// buf.append(numFixedDecisions);
|
488
|
-
// buf.append('\t');
|
489
|
-
// buf.append(Stats.min(decisionMaxFixedLookaheads));
|
490
|
-
// buf.append('\t');
|
491
|
-
// buf.append(Stats.max(decisionMaxFixedLookaheads));
|
492
|
-
// buf.append('\t');
|
493
|
-
// buf.append(Stats.avg(decisionMaxFixedLookaheads));
|
494
|
-
// buf.append('\t');
|
495
|
-
// buf.append(Stats.stddev(decisionMaxFixedLookaheads));
|
496
|
-
// buf.append('\t');
|
497
|
-
// buf.append(numCyclicDecisions);
|
498
|
-
// buf.append('\t');
|
499
|
-
// buf.append(Stats.min(decisionMaxCyclicLookaheads));
|
500
|
-
// buf.append('\t');
|
501
|
-
// buf.append(Stats.max(decisionMaxCyclicLookaheads));
|
502
|
-
// buf.append('\t');
|
503
|
-
// buf.append(Stats.avg(decisionMaxCyclicLookaheads));
|
504
|
-
// buf.append('\t');
|
505
|
-
// buf.append(Stats.stddev(decisionMaxCyclicLookaheads));
|
506
|
-
// buf.append('\t');
|
507
|
-
// buf.append(numBacktrackDecisions);
|
508
|
-
// buf.append('\t');
|
509
|
-
// buf.append(Stats.min(toArray(decisionMaxSynPredLookaheads)));
|
510
|
-
// buf.append('\t');
|
511
|
-
// buf.append(Stats.max(toArray(decisionMaxSynPredLookaheads)));
|
512
|
-
// buf.append('\t');
|
513
|
-
// buf.append(Stats.avg(toArray(decisionMaxSynPredLookaheads)));
|
514
|
-
// buf.append('\t');
|
515
|
-
// buf.append(Stats.stddev(toArray(decisionMaxSynPredLookaheads)));
|
516
|
-
// buf.append('\t');
|
517
|
-
// buf.append(numSemanticPredicates);
|
518
|
-
// buf.append('\t');
|
519
|
-
// buf.append(parser.getTokenStream().size());
|
520
|
-
// buf.append('\t');
|
521
|
-
// buf.append(numHiddenTokens);
|
522
|
-
// buf.append('\t');
|
523
|
-
// buf.append(numCharsMatched);
|
524
|
-
// buf.append('\t');
|
525
|
-
// buf.append(numHiddenCharsMatched);
|
526
|
-
// buf.append('\t');
|
527
|
-
// buf.append(numberReportedErrors);
|
528
|
-
// buf.append('\t');
|
529
|
-
// buf.append(numMemoizationCacheHits);
|
530
|
-
// buf.append('\t');
|
531
|
-
// buf.append(numMemoizationCacheMisses);
|
532
|
-
// buf.append('\t');
|
533
|
-
// buf.append(numGuessingRuleInvocations);
|
534
|
-
// buf.append('\t');
|
535
|
-
// buf.append(numMemoizationCacheEntries);
|
536
|
-
return buf.toString();
|
537
|
-
}
|
538
|
-
|
539
|
-
public String toString() {
|
540
|
-
return toString(getReport());
|
541
|
-
}
|
542
|
-
|
543
|
-
public ProfileStats getReport() {
|
544
|
-
// TokenStream input = parser.getTokenStream();
|
545
|
-
// for (int i=0; i<input.size()&& lastRealTokenTouchedInDecision !=null&&i<= lastRealTokenTouchedInDecision.getTokenIndex(); i++) {
|
546
|
-
// Token t = input.get(i);
|
547
|
-
// if ( t.getChannel()!=Token.DEFAULT_CHANNEL ) {
|
548
|
-
// stats.numHiddenTokens++;
|
549
|
-
// stats.numHiddenCharsMatched += t.getText().length();
|
550
|
-
// }
|
551
|
-
// }
|
552
|
-
stats.Version = Version;
|
553
|
-
stats.name = parser.getClass().getName();
|
554
|
-
stats.numUniqueRulesInvoked = uniqueRules.size();
|
555
|
-
//stats.numCharsMatched = lastTokenConsumed.getStopIndex() + 1;
|
556
|
-
return stats;
|
557
|
-
}
|
558
|
-
|
559
|
-
public DoubleKeyMap getDecisionStats() {
|
560
|
-
return decisions;
|
561
|
-
}
|
562
|
-
|
563
|
-
public List getDecisionEvents() {
|
564
|
-
return decisionEvents;
|
565
|
-
}
|
566
|
-
|
567
|
-
public static String toString(ProfileStats stats) {
|
568
|
-
StringBuffer buf = new StringBuffer();
|
569
|
-
buf.append("ANTLR Runtime Report; Profile Version ");
|
570
|
-
buf.append(stats.Version);
|
571
|
-
buf.append(newline);
|
572
|
-
buf.append("parser name ");
|
573
|
-
buf.append(stats.name);
|
574
|
-
buf.append(newline);
|
575
|
-
buf.append("Number of rule invocations ");
|
576
|
-
buf.append(stats.numRuleInvocations);
|
577
|
-
buf.append(newline);
|
578
|
-
buf.append("Number of unique rules visited ");
|
579
|
-
buf.append(stats.numUniqueRulesInvoked);
|
580
|
-
buf.append(newline);
|
581
|
-
buf.append("Number of decision events ");
|
582
|
-
buf.append(stats.numDecisionEvents);
|
583
|
-
buf.append(newline);
|
584
|
-
buf.append("Overall average k per decision event ");
|
585
|
-
buf.append(stats.avgkPerDecisionEvent);
|
586
|
-
buf.append(newline);
|
587
|
-
buf.append("Number of backtracking occurrences (can be multiple per decision) ");
|
588
|
-
buf.append(stats.numBacktrackOccurrences);
|
589
|
-
buf.append(newline);
|
590
|
-
buf.append("Overall average k per decision event that backtracks ");
|
591
|
-
buf.append(stats.avgkPerBacktrackingDecisionEvent);
|
592
|
-
buf.append(newline);
|
593
|
-
buf.append("Number of rule invocations while backtracking ");
|
594
|
-
buf.append(stats.numGuessingRuleInvocations);
|
595
|
-
buf.append(newline);
|
596
|
-
buf.append("num decisions that potentially backtrack ");
|
597
|
-
buf.append(stats.numDecisionsThatPotentiallyBacktrack);
|
598
|
-
buf.append(newline);
|
599
|
-
buf.append("num decisions that do backtrack ");
|
600
|
-
buf.append(stats.numDecisionsThatDoBacktrack);
|
601
|
-
buf.append(newline);
|
602
|
-
buf.append("num decisions that potentially backtrack but don't ");
|
603
|
-
buf.append(stats.numDecisionsThatPotentiallyBacktrack - stats.numDecisionsThatDoBacktrack);
|
604
|
-
buf.append(newline);
|
605
|
-
buf.append("average % of time a potentially backtracking decision backtracks ");
|
606
|
-
buf.append(stats.averageDecisionPercentBacktracks);
|
607
|
-
buf.append(newline);
|
608
|
-
buf.append("num unique decisions covered ");
|
609
|
-
buf.append(stats.numDecisionsCovered);
|
610
|
-
buf.append(newline);
|
611
|
-
buf.append("max rule invocation nesting depth ");
|
612
|
-
buf.append(stats.maxRuleInvocationDepth);
|
613
|
-
buf.append(newline);
|
614
|
-
|
615
|
-
// buf.append("number of fixed lookahead decisions ");
|
616
|
-
// buf.append();
|
617
|
-
// buf.append('\n');
|
618
|
-
// buf.append("min lookahead used in a fixed lookahead decision ");
|
619
|
-
// buf.append();
|
620
|
-
// buf.append('\n');
|
621
|
-
// buf.append("max lookahead used in a fixed lookahead decision ");
|
622
|
-
// buf.append();
|
623
|
-
// buf.append('\n');
|
624
|
-
// buf.append("average lookahead depth used in fixed lookahead decisions ");
|
625
|
-
// buf.append();
|
626
|
-
// buf.append('\n');
|
627
|
-
// buf.append("standard deviation of depth used in fixed lookahead decisions ");
|
628
|
-
// buf.append();
|
629
|
-
// buf.append('\n');
|
630
|
-
// buf.append("number of arbitrary lookahead decisions ");
|
631
|
-
// buf.append();
|
632
|
-
// buf.append('\n');
|
633
|
-
// buf.append("min lookahead used in an arbitrary lookahead decision ");
|
634
|
-
// buf.append();
|
635
|
-
// buf.append('\n');
|
636
|
-
// buf.append("max lookahead used in an arbitrary lookahead decision ");
|
637
|
-
// buf.append();
|
638
|
-
// buf.append('\n');
|
639
|
-
// buf.append("average lookahead depth used in arbitrary lookahead decisions ");
|
640
|
-
// buf.append();
|
641
|
-
// buf.append('\n');
|
642
|
-
// buf.append("standard deviation of depth used in arbitrary lookahead decisions ");
|
643
|
-
// buf.append();
|
644
|
-
// buf.append('\n');
|
645
|
-
// buf.append("number of evaluated syntactic predicates ");
|
646
|
-
// buf.append();
|
647
|
-
// buf.append('\n');
|
648
|
-
// buf.append("min lookahead used in a syntactic predicate ");
|
649
|
-
// buf.append();
|
650
|
-
// buf.append('\n');
|
651
|
-
// buf.append("max lookahead used in a syntactic predicate ");
|
652
|
-
// buf.append();
|
653
|
-
// buf.append('\n');
|
654
|
-
// buf.append("average lookahead depth used in syntactic predicates ");
|
655
|
-
// buf.append();
|
656
|
-
// buf.append('\n');
|
657
|
-
// buf.append("standard deviation of depth used in syntactic predicates ");
|
658
|
-
// buf.append();
|
659
|
-
// buf.append('\n');
|
660
|
-
buf.append("rule memoization cache size ");
|
661
|
-
buf.append(stats.numMemoizationCacheEntries);
|
662
|
-
buf.append(newline);
|
663
|
-
buf.append("number of rule memoization cache hits ");
|
664
|
-
buf.append(stats.numMemoizationCacheHits);
|
665
|
-
buf.append(newline);
|
666
|
-
buf.append("number of rule memoization cache misses ");
|
667
|
-
buf.append(stats.numMemoizationCacheMisses);
|
668
|
-
buf.append(newline);
|
669
|
-
// buf.append("number of evaluated semantic predicates ");
|
670
|
-
// buf.append();
|
671
|
-
// buf.append(newline);
|
672
|
-
buf.append("number of tokens ");
|
673
|
-
buf.append(stats.numTokens);
|
674
|
-
buf.append(newline);
|
675
|
-
buf.append("number of hidden tokens ");
|
676
|
-
buf.append(stats.numHiddenTokens);
|
677
|
-
buf.append(newline);
|
678
|
-
buf.append("number of char ");
|
679
|
-
buf.append(stats.numCharsMatched);
|
680
|
-
buf.append(newline);
|
681
|
-
buf.append("number of hidden char ");
|
682
|
-
buf.append(stats.numHiddenCharsMatched);
|
683
|
-
buf.append(newline);
|
684
|
-
buf.append("number of syntax errors ");
|
685
|
-
buf.append(stats.numReportedErrors);
|
686
|
-
buf.append(newline);
|
687
|
-
return buf.toString();
|
688
|
-
}
|
689
|
-
|
690
|
-
public String getDecisionStatsDump() {
|
691
|
-
StringBuffer buf = new StringBuffer();
|
692
|
-
buf.append("location");
|
693
|
-
buf.append(DATA_SEP);
|
694
|
-
buf.append("n");
|
695
|
-
buf.append(DATA_SEP);
|
696
|
-
buf.append("avgk");
|
697
|
-
buf.append(DATA_SEP);
|
698
|
-
buf.append("maxk");
|
699
|
-
buf.append(DATA_SEP);
|
700
|
-
buf.append("synpred");
|
701
|
-
buf.append(DATA_SEP);
|
702
|
-
buf.append("sempred");
|
703
|
-
buf.append(DATA_SEP);
|
704
|
-
buf.append("canbacktrack");
|
705
|
-
buf.append("\n");
|
706
|
-
for (String fileName : decisions.keySet()) {
|
707
|
-
for (int d : decisions.keySet(fileName)) {
|
708
|
-
DecisionDescriptor s = decisions.get(fileName, d);
|
709
|
-
buf.append(s.decision);
|
710
|
-
buf.append("@");
|
711
|
-
buf.append(locationDescription(s.fileName,s.ruleName,s.line,s.pos)); // decision number
|
712
|
-
buf.append(DATA_SEP);
|
713
|
-
buf.append(s.n);
|
714
|
-
buf.append(DATA_SEP);
|
715
|
-
buf.append(String.format("%.2f",s.avgk));
|
716
|
-
buf.append(DATA_SEP);
|
717
|
-
buf.append(s.maxk);
|
718
|
-
buf.append(DATA_SEP);
|
719
|
-
buf.append(s.numBacktrackOccurrences);
|
720
|
-
buf.append(DATA_SEP);
|
721
|
-
buf.append(s.numSemPredEvals);
|
722
|
-
buf.append(DATA_SEP);
|
723
|
-
buf.append(s.couldBacktrack ?"1":"0");
|
724
|
-
buf.append(newline);
|
725
|
-
}
|
726
|
-
}
|
727
|
-
return buf.toString();
|
728
|
-
}
|
729
|
-
|
730
|
-
protected int[] trim(int[] X, int n) {
|
731
|
-
if ( n<X.length ) {
|
732
|
-
int[] trimmed = new int[n];
|
733
|
-
System.arraycopy(X,0,trimmed,0,n);
|
734
|
-
X = trimmed;
|
735
|
-
}
|
736
|
-
return X;
|
737
|
-
}
|
738
|
-
|
739
|
-
protected int[] toArray(List a) {
|
740
|
-
int[] x = new int[a.size()];
|
741
|
-
for (int i = 0; i < a.size(); i++) {
|
742
|
-
Integer I = (Integer) a.get(i);
|
743
|
-
x[i] = I.intValue();
|
744
|
-
}
|
745
|
-
return x;
|
746
|
-
}
|
747
|
-
|
748
|
-
/** Get num hidden tokens between i..j inclusive */
|
749
|
-
public int getNumberOfHiddenTokens(int i, int j) {
|
750
|
-
int n = 0;
|
751
|
-
TokenStream input = parser.getTokenStream();
|
752
|
-
for (int ti = i; ti<input.size() && ti <= j; ti++) {
|
753
|
-
Token t = input.get(ti);
|
754
|
-
if ( t.getChannel()!=Token.DEFAULT_CHANNEL ) {
|
755
|
-
n++;
|
756
|
-
}
|
757
|
-
}
|
758
|
-
return n;
|
759
|
-
}
|
760
|
-
|
761
|
-
protected String locationDescription() {
|
762
|
-
return locationDescription(
|
763
|
-
currentGrammarFileName.peek(),
|
764
|
-
currentRuleName.peek(),
|
765
|
-
currentLine.peek(),
|
766
|
-
currentPos.peek());
|
767
|
-
}
|
768
|
-
|
769
|
-
protected String locationDescription(String file, String rule, int line, int pos) {
|
770
|
-
return file+":"+line+":"+pos+"(" + rule + ")";
|
771
|
-
}
|
772
|
-
}
|