接口的使用
com.sun.source.tree.MethodTree
使用 MethodTree 的包
-
MethodTree 在 com.sun.source.tree 中的用法
com.sun.source.tree 中的方法,参数类型为 MethodTree -
MethodTree 在 com.sun.source.util 中的用法
com.sun.source.util 中返回 MethodTree 的方法修饰符和类型方法描述abstract MethodTreeTrees.getTree(ExecutableElement method) 返回给定ExecutableElement的MethodTree节点。com.sun.source.util 中的方法,参数类型为 MethodTree修饰符和类型方法描述SimpleTreeVisitor.visitMethod(MethodTree node, P p) 访问MethodTree节点。TreeScanner.visitMethod(MethodTree node, P p) 访问MethodTree节点。