The base class for specific query tree context used by the walker.
This class is used to maintain additional information gathered while
walking the tree. On this level it is used to collect return type
information.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["`QueryTreeContext\u003cT\u003e` is a base class for managing information during query tree traversal, primarily focused on collecting return type data."],["It inherits from `java.lang.Object` and includes methods like `addChild()`, `getChild()`, and `children()` for managing child contexts within the tree."],["Methods like `addReturnType()`, `getReturnTypes()`, `setReturnType()`, and `setReturnTypes()` are used to work with return type information collected during the tree traversal."],["The class also provides methods to inspect context properties such as `isField()`, `isFunction()`, `isFuzzy()`, `isLiteral()`, `isPhrase()`, `isStrict()` and whether a context is in disjunction, via `inDisjunction()` and `setInDisjunction()`."],["It offers capabilities to manage and modify context attributes, including setting text via `setText()`, setting kind via `setKind()`, setting rewrite modes via `setRewriteMode()`, and the ability to determine compatibility with specified return types via `isCompatibleWith()`."]]],[]]