dk.brics.xact.analysis.flowgraph
Class Method
java.lang.Object
dk.brics.xact.analysis.flowgraph.Method
public class Method
- extends Object
A method in an application class with its relevant variables and type annotations.
Method
public Method(String name,
Statement entry,
Statement exit,
Variable[] parameters,
Variable returnVar,
SchemaType returnType,
SchemaType[] parameterTypes)
getEntry
public Statement getEntry()
getExit
public Statement getExit()
getName
public String getName()
getParameter
public Variable getParameter(int i)
getParameters
public Variable[] getParameters()
getParameterType
public SchemaType getParameterType(int i)
getParameterTypes
public SchemaType[] getParameterTypes()
getReturnType
public SchemaType getReturnType()
getReturnVar
public Variable getReturnVar()
setEntry
public void setEntry(Statement entry)
setExit
public void setExit(Statement exit)
setName
public void setName(String name)
setParameter
public void setParameter(int i,
Variable var)
setParameters
public void setParameters(Variable[] parameters)
setParameterType
public void setParameterType(int i,
SchemaType type)
setParameterTypes
public void setParameterTypes(SchemaType[] parameterTypes)
setReturnType
public void setReturnType(SchemaType returnType)
setReturnVar
public void setReturnVar(Variable returnVar)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2011 Aarhus University.