Uses of Class
org.eclipse.jdt.core.dom.Block
Packages that use Block
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
-
Uses of Block in org.eclipse.jdt.core.dom
Methods in org.eclipse.jdt.core.dom that return BlockModifier and TypeMethodDescriptionCatchClause.getBody()
Returns the body of this catch clause.Initializer.getBody()
Returns the body of this initializer declaration.MethodDeclaration.getBody()
Returns the body of this method declaration, ornull
if this method has no body.SynchronizedStatement.getBody()
Returns the body of this synchronized statement.TryStatement.getBody()
Returns the body of this try statement.TryStatement.getFinally()
Returns the finally block of this try statement, ornull
if this try statement has no finally block.AST.newBlock()
Creates an unparented block node owned by this AST, for an empty list of statements.Methods in org.eclipse.jdt.core.dom with parameters of type BlockModifier and TypeMethodDescriptionvoid
End of visit the given type-specific AST node.boolean
Returns whether the given node and the other object match.void
Sets the body of this catch clause.void
Sets the body of this initializer declaration.void
Sets or clears the body of this method declaration.void
Sets the body of this synchronized statement.void
Sets the body of this try statement.void
TryStatement.setFinally
(Block block) Sets or clears the finally block of this try statement.boolean
Visits the given type-specific AST node.