|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttip.cfg.AProgramPoint
tip.cfg.EntryPoint
public class EntryPoint
EntryPoint
represents the entry point of a control flow graph.
Constructor Summary | |
---|---|
EntryPoint()
Creates a new entry point with no associated node. |
|
EntryPoint(Node _node_)
Creates a new entry point associated with _node_ . |
Method Summary | ||
---|---|---|
|
apply(CFGAnswer<A> caller)
Returns an answer by calling CFGAnswer.caseEntryPoint(Node,EntryPoint)
the visitor caller with this entry point. |
|
|
apply(CFGQuestionAnswer<Q,A> caller,
Q question)
Returns an answer by calling CFGQuestionAnswer.caseEntryPoint(Node,EntryPoint,Object)
the visitor caller with this entry point. |
|
boolean |
apply(ICFGAnalysis analysis)
Calls ICFGAnalysis.caseEntryPoint(Node,EntryPoint) on
analysis and returns the result. |
|
EntryPoint |
clone()
Returns a clone of the entry point with no predecessors or successors. |
|
String |
getNodeText(Answer<String> nodeText)
Returns a textual representation of the entry point, which is "{entry}" . |
|
String |
toString()
Returns a textual representation of this EntryPoint . |
Methods inherited from class tip.cfg.AProgramPoint |
---|
addPredecessor, addSuccessor, getNode, getPredecessors, getSuccessors, getVicinity, removePredecessor, removeSuccessor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntryPoint()
public EntryPoint(Node _node_)
_node_
.
_node_
- the Node
associated with this entry pointMethod Detail |
---|
public boolean apply(ICFGAnalysis analysis)
ICFGAnalysis.caseEntryPoint(Node,EntryPoint)
on
analysis
and returns the result.
ICFGAnalysis.caseEntryPoint(Node,EntryPoint)
on analysis
public String getNodeText(Answer<String> nodeText)
"{entry}"
.
nodeText
- the Answer
used
public <A> A apply(CFGAnswer<A> caller)
CFGAnswer.caseEntryPoint(Node,EntryPoint)
the visitor caller
with this entry point.
caller
- the Answer
used
caller
public <Q,A> A apply(CFGQuestionAnswer<Q,A> caller, Q question)
CFGQuestionAnswer.caseEntryPoint(Node,EntryPoint,Object)
the visitor caller
with this entry point.
caller
- the QuestionAnswer
usedquestion
- the question used
caller
on question
public EntryPoint clone()
clone
in interface IProgramPoint
clone
in class AProgramPoint
public String toString()
EntryPoint
.
toString
in class Object
EntryPoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |