com.android.dx.dex.code
Interface CatchBuilder

All Known Implementing Classes:
StdCatchBuilder

public interface CatchBuilder

Interface for the construction of CatchTable instances.


Method Summary
 CatchTable build()
          Builds and returns the catch table for this instance.
 HashSet<Type> getCatchTypes()
          Gets the set of catch types associated with this instance.
 boolean hasAnyCatches()
          Gets whether this instance has any catches at all (either typed or catch-all).
 

Method Detail

build

CatchTable build()
Builds and returns the catch table for this instance.

Returns:
non-null; the constructed table

hasAnyCatches

boolean hasAnyCatches()
Gets whether this instance has any catches at all (either typed or catch-all).

Returns:
whether this instance has any catches at all

getCatchTypes

HashSet<Type> getCatchTypes()
Gets the set of catch types associated with this instance.

Returns:
non-null; the set of catch types


Copyright © 2015. All rights reserved.