Uses of Interface
com.sun.source.tree.BlockTree
Packages that use BlockTree
包
描述
Provides interfaces to represent source code as abstract syntax
trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
-
Uses of BlockTree in com.sun.source.tree
Methods in com.sun.source.tree that return BlockTree修饰符和类方法描述CatchTree.getBlock()
Returns the catch block.SynchronizedTree.getBlock()
Returns the block of thesynchronized
statement.TryTree.getBlock()
Returns the block of thetry
statement.MethodTree.getBody()
Returns the method body, ornull
if this is an abstract or native method.TryTree.getFinallyBlock()
Returns the finally block provided in thetry
statement, ornull
if there is none.Methods in com.sun.source.tree with parameters of type BlockTree -
Uses of BlockTree in com.sun.source.util
Methods in com.sun.source.util with parameters of type BlockTree修饰符和类方法描述SimpleTreeVisitor.visitBlock
(BlockTree node, P p) Visits aBlockTree
node.TreeScanner.visitBlock
(BlockTree node, P p) Visits aBlockTree
node.