public class TryCatchDetails extends Object
Constructor and Description |
---|
TryCatchDetails(CFG cfg,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end,
org.objectweb.asm.Label handler,
String type,
boolean isTriggerHandler)
construct a try catch details instance
|
Modifier and Type | Method and Description |
---|---|
void |
addOpenEnter(CodeLocation openEnter)
add a new monitor enter location to the list of open locations associated with this handler
maintaining the reverse position ordering
|
void |
addOpenLocations(List<CodeLocation> openMonitorEnters)
add all the open locations associated with this handler to the supplied list of open locations
maintaining the reverse position ordering
|
void |
addShadowRegion(TryCatchDetails tryCatchDetails)
add a shadowing region to the list of regions which shadow this one
|
boolean |
containsOpenEnter(CodeLocation openEnter)
check if a monitor enter location belongs to the list of open locations associated with this handler
|
org.objectweb.asm.Label |
getEnd() |
org.objectweb.asm.Label |
getHandler() |
Iterator<CodeLocation> |
getOpenEnters() |
List<TryCatchDetails> |
getShadowRegions() |
org.objectweb.asm.Label |
getStart() |
String |
getType() |
boolean |
isTriggerHandler() |
public org.objectweb.asm.Label getStart()
public org.objectweb.asm.Label getEnd()
public org.objectweb.asm.Label getHandler()
public String getType()
public boolean isTriggerHandler()
public void addOpenEnter(CodeLocation openEnter)
openEnter
- public boolean containsOpenEnter(CodeLocation openEnter)
openEnter
- public void addOpenLocations(List<CodeLocation> openMonitorEnters)
openMonitorEnters
- public Iterator<CodeLocation> getOpenEnters()
public void addShadowRegion(TryCatchDetails tryCatchDetails)
tryCatchDetails
- public List<TryCatchDetails> getShadowRegions()
Copyright © 2013. All Rights Reserved.