dk.brics.servletvalidator.flowgraph
Class InvokeNode

java.lang.Object
  extended by dk.brics.servletvalidator.flowgraph.AbstractNode
      extended by dk.brics.servletvalidator.flowgraph.InvokeNode
All Implemented Interfaces:
Node

public class InvokeNode
extends AbstractNode

An invoke node represents a point in the program where a method is invoked. There will only be an invoke node if there is a possible target for the invocation within the classes being analysed. There will not be an invoke node in the case where the methodinvocation is a call to a writer that writes something to the output. In this case an AppendNode is created insted.

Author:
schwarz

Constructor Summary
InvokeNode()
           
 
Method Summary
 void accept(NodeVisitor n)
          Accepts the given visitor
 void addTarget(EntryNode e)
          Adds a possible target for the method invocation.
 List<EntryNode> getTargets()
          Returns the list of possible target of the method invocation
 
Methods inherited from class dk.brics.servletvalidator.flowgraph.AbstractNode
addSucessor, getSuccessors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeNode

public InvokeNode()
Method Detail

accept

public void accept(NodeVisitor n)
Description copied from interface: Node
Accepts the given visitor


addTarget

public void addTarget(EntryNode e)
Adds a possible target for the method invocation.

Parameters:
e -

getTargets

public List<EntryNode> getTargets()
Returns the list of possible target of the method invocation

Returns:


Copyright © 2008 Mathias Schwarz.