|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.FCFGBasicBlock.Factory
public static class FCFGBasicBlock.Factory
Factory structure for generating FCFGBasicBlock
views of an HCode
.
Field Summary | |
---|---|
protected Set |
blocks
|
protected Code |
hcode
|
protected Set |
leaves
|
protected Map |
quadToBB
|
protected FCFGBasicBlock |
root
|
Constructor Summary | |
---|---|
FCFGBasicBlock.Factory(HCode hcode)
Produces a FCFGBasicBlock view of
hcode hcode must be in
"quad-with-try" format. |
Method Summary | |
---|---|
Set |
blockSet()
Returns the FCFGBasicBlock s constructed by
this factory. |
BasicBlockInterf |
getBBInterf(HCodeElement hce)
Does the same thing as getBlock . |
FCFGBasicBlock |
getBlock(HCodeElement hce)
Returns the FCFGBasicBlock containing
hce . |
HCode |
getHCode()
Returns the HCode that this factory
produces FCFG basic blocks of. |
Set |
getLeaves()
Returns the leaf FCFGBasicBlock s. |
Set |
getLeavesBBInterf()
Does the same thing as getLeaves . |
FCFGBasicBlock |
getRoot()
Returns the root FCFGBasicBlock . |
BasicBlockInterf |
getRootBBInterf()
Does the same thing as getRoot . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Code hcode
protected Set blocks
protected Set leaves
protected FCFGBasicBlock root
protected Map quadToBB
Constructor Detail |
---|
public FCFGBasicBlock.Factory(HCode hcode)
FCFGBasicBlock
view of
hcode
hcode
must be in
"quad-with-try" format.
Method Detail |
---|
public HCode getHCode()
HCode
that this
factory
produces FCFG basic blocks of.
getHCode
in interface BasicBlockFactoryInterf
public FCFGBasicBlock getRoot()
FCFGBasicBlock
.
FCFGBasicBlock
that is at the start of the set of
HCodeElement
s being analyzed.
public BasicBlockInterf getRootBBInterf()
getRoot
.
Work around Java's weak typing system.
getRootBBInterf
in interface BasicBlockFactoryInterf
public Set blockSet()
FCFGBasicBlock
s constructed by
this
factory.
blockSet
in interface BasicBlockFactoryInterf
public Set getLeaves()
FCFGBasicBlock
s. Set
of terminal
FCFGBasicBlock
s for the underlying
HCode
. Usually, this set will contain a
single element, the FCFGBasicBlock
for the
FOOTER
.
public Set getLeavesBBInterf()
getLeaves
.
Work around Java's weak typing system.
getLeavesBBInterf
in interface BasicBlockFactoryInterf
public FCFGBasicBlock getBlock(HCodeElement hce)
FCFGBasicBlock
containing
hce
.
this
.
hce
, or null
if
hce
is unreachable.
public BasicBlockInterf getBBInterf(HCodeElement hce)
getBlock
.
Work around Java's weak typing system.
getBBInterf
in interface BasicBlockFactoryInterf
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |