Uses of Package
com.sun.source.tree
Packages that use com.sun.source.tree
Package
Description
提供了表示源代码的抽象语法树(AST)的接口。
提供了对抽象语法树(AST)进行操作的实用工具。
-
Classes in com.sun.source.tree used by com.sun.source.treeClassDescription用于注解类型的树节点。用于注解的树节点。预览。用于匹配具有任意名称变量和匹配候选类型的模式的绑定模式树节点;一个未命名模式。用于数组访问表达式的树节点。用于数组类型的树节点。用于
assert语句的树节点。用于赋值表达式的树节点。用于二进制表达式的树节点。绑定模式树用于语句块的树节点。用于break语句的树节点。用作CaseTree标签的Tree可能使用的标记接口。用于switch语句或表达式中的case的树节点。此案例的句法形式:STATEMENT:case <expression>: <statements>规则:case <expression> -> <expression>/<statement>用于try语句中的catch块的树节点。用于类、接口、枚举、记录或注解类型声明的树节点。代表普通编译单元和模块化编译单元的抽象语法树。用于复合赋值运算符的树节点。用于条件运算符? :的树节点。指向常量表达式的案例标签元素用于continue语句的树节点。解构模式树。在case null, default中标记default的案例标签。用于ModuleTree中所有指令的超类型。用于do语句的树节点。用于空(跳过)语句的树节点。用于"增强"的for循环语句的树节点。用于代表畸形表达式的树节点。用于模块声明中的'exports'指令的树节点。用于表达式语句的树节点。用作不同类型表达式的基类的树节点。用于基本for循环语句的树节点。用于标识符表达式的树节点。用于if语句的树节点。用于导入声明的树节点。用于instanceof表达式的树节点。用于强制转换表达式中的交集类型的树节点。用于标记语句的树节点。用于lambda表达式的树节点。Lambda表达式有两种形式:表达式lambda,其主体是一个表达式,以及语句lambda,其主体是一个块提供了在编译单元中字符位置和行号之间进行转换的方法。用于字面表达式的树节点。用于成员引用表达式的树节点。有两种成员引用:(i) 方法引用和 (ii) 构造函数引用用于成员访问表达式的树节点。用于方法调用表达式的树节点。用于方法或注解类型元素声明的树节点。用于声明的修饰符,包括注解的树节点。用于模块声明的树节点。模块的种类。用于创建数组新实例的表达式的树节点。用于声明类的新实例的树节点。用于模块声明中的'opens'指令的树节点。代表包声明。涉及类型参数的类型表达式的树节点。用于括号表达式的树节点。指向表达式的案例标签元素用作不同类型模式的基类的树节点。用于原始类型的树节点。用于模块声明中的'provides'指令的树节点。用于模块声明中的'requires'指令的树节点。用于return语句的树节点。用于确定本地可用程序元素(如局部变量和导入)的接口。用作不同类型语句的基类的树节点。预览。用于字符串模板表达式的树节点。用于switch表达式的树节点。用于switch语句的树节点。用于synchronized语句的树节点。用于throw语句的树节点。抽象语法树中所有节点的通用接口。枚举所有类型的树。树的访问者,采用访问者设计模式的风格。用于try语句的树节点。用于类型转换表达式的树节点。用于类型参数的树节点。用于后缀和一元表达式的树节点。用于多捕获变量声明中的联合类型表达式的树节点。用于模块声明中的'uses'指令的树节点。用于变量声明的树节点。用于while循环语句的树节点。用于通配符类型参数的树节点。用于yield语句的树节点。 -
Classes in com.sun.source.tree used by com.sun.source.utilClassDescription用于注解类型的树节点。用于注解的树节点。预览。用于匹配具有任意名称变量和匹配候选类型的模式的绑定模式树节点;一个未命名模式。用于数组访问表达式的树节点。用于数组类型的树节点。A tree node for an
assertstatement.A tree node for an assignment expression.A tree node for a binary expression.A binding pattern treeA tree node for a statement block.A tree node for abreakstatement.A tree node for acasein aswitchstatement or expression.A tree node for acatchblock in atrystatement.A tree node for a class, interface, enum, record, or annotation type declaration.Represents the abstract syntax tree for ordinary compilation units and modular compilation units.A tree node for compound assignment operator.A tree node for the conditional operator? :.A case label element that refers to a constant expressionA tree node for acontinuestatement.A deconstruction pattern tree.A case label that marksdefaultincase null, default.A tree node for adostatement.A tree node for an empty (skip) statement.A tree node for an "enhanced"forloop statement.A tree node to stand in for a malformed expression.A tree node for an 'exports' directive in a module declaration.A tree node for an expression statement.A tree node for a basicforloop statement.A tree node for an identifier expression.A tree node for anifstatement.A tree node for an import declaration.A tree node for aninstanceofexpression.A tree node for an intersection type in a cast expression.A tree node for a labeled statement.A tree node for a lambda expression.A tree node for a literal expression.A tree node for a member reference expression.A tree node for a member access expression.A tree node for a method invocation expression.A tree node for a method or annotation type element declaration.A tree node for the modifiers, including annotations, for a declaration.A tree node for a module declaration.A tree node for an expression to create a new instance of an array.A tree node to declare a new instance of a class.A tree node for an 'opens' directive in a module declaration.Represents the package declaration.A tree node for a type expression involving type parameters.A tree node for a parenthesized expression.A case label element that refers to an expressionA tree node for a primitive type.模块声明中“provides”指令的树节点。模块声明中“requires”指令的树节点。return语句的树节点。用于确定本地可用程序元素(如局部变量和导入项)的接口。预览。字符串模板表达式的树节点。switch表达式的树节点。switch语句的树节点。synchronized语句的树节点。throw语句的树节点。抽象语法树中所有节点的通用接口。树的访问者,采用访问者设计模式的风格。try语句的树节点。类型转换表达式的树节点。类型参数的树节点。后缀和一元表达式的树节点。多捕获变量声明中的联合类型表达式的树节点。模块声明中“uses”指令的树节点。变量声明的树节点。while循环语句的树节点。通配符类型参数的树节点。yield语句的树节点。