public class

CatchStatement

extends Statement
java.lang.Object
   ↳ sun.tools.tree.Node
     ↳ sun.tools.tree.Statement
       ↳ sun.tools.tree.CatchStatement

Class Overview

WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.

Summary

[Expand]
Inherited Constants
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
[Expand]
Inherited Fields
From class sun.tools.tree.Statement
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
Public Constructors
CatchStatement(long where, Expression texpr, IdentifierToken id, Statement body)
Constructor
CatchStatement(long where, Expression texpr, Identifier id, Statement body)
This constructor is deprecated. No replacement.
Public Methods
void code(Environment env, Context ctx, Assembler asm)
Code
Statement copyInline(Context ctx, boolean valNeeded)
Create a copy of the statement for method inlining
int costInline(int thresh, Environment env, Context ctx)
Compute cost of inlining this statement
Statement inline(Environment env, Context ctx)
Inline
void print(PrintStream out, int indent)
Print
[Expand]
Inherited Methods
From class sun.tools.tree.Statement
From class sun.tools.tree.Node
From class java.lang.Object

Public Constructors

public CatchStatement (long where, Expression texpr, IdentifierToken id, Statement body)

Constructor

public CatchStatement (long where, Expression texpr, Identifier id, Statement body)

This constructor is deprecated.
No replacement.

Public Methods

public void code (Environment env, Context ctx, Assembler asm)

Code

public Statement copyInline (Context ctx, boolean valNeeded)

Create a copy of the statement for method inlining

public int costInline (int thresh, Environment env, Context ctx)

Compute cost of inlining this statement

public Statement inline (Environment env, Context ctx)

Inline

public void print (PrintStream out, int indent)

Print