| Package | Description |
|---|---|
| soot.JastAddJ |
| Modifier and Type | Method and Description |
|---|---|
ResourceDeclaration |
ResourceDeclaration.clone() |
ResourceDeclaration |
ResourceDeclaration.copy() |
ResourceDeclaration |
ResourceDeclaration.fullCopy()
Create a deep copy of the AST subtree at this node.
|
ResourceDeclaration |
TryWithResources.getResource(int i)
Retrieves the element at index
i in the Resource list.. |
| Modifier and Type | Method and Description |
|---|---|
List<ResourceDeclaration> |
TryWithResources.getResourceList()
Retrieves the Resource list.
|
List<ResourceDeclaration> |
TryWithResources.getResourceListNoTransform()
Retrieves the Resource list.
|
List<ResourceDeclaration> |
TryWithResources.getResources()
Retrieves the Resource list.
|
List<ResourceDeclaration> |
TryWithResources.getResourcesNoTransform()
Retrieves the Resource list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TryWithResources.addResource(ResourceDeclaration node)
Append an element to the Resource list.
|
void |
TryWithResources.addResourceNoTransform(ResourceDeclaration node) |
MethodDecl |
TryWithResources.lookupClose(ResourceDeclaration resource)
Lookup the close method declaration for the resource which is being used.
|
void |
TryWithResources.setResource(ResourceDeclaration node,
int i)
Replaces the Resource list element at index
i with the new node node. |
| Modifier and Type | Method and Description |
|---|---|
void |
TryWithResources.setResourceList(List<ResourceDeclaration> list)
Replaces the Resource list.
|
| Constructor and Description |
|---|
TryWithResources(List<ResourceDeclaration> p0,
Block p1,
List<CatchClause> p2,
Opt<Block> p3) |
Copyright © 2020 Soot OSS. All rights reserved.