org.acm.seguin.summary
Class LocalVariableSummary

java.lang.Object
  extended by org.acm.seguin.summary.Summary
      extended by org.acm.seguin.summary.VariableSummary
          extended by org.acm.seguin.summary.LocalVariableSummary
All Implemented Interfaces:
java.io.Serializable, net.sourceforge.jrefactory.ast.ModifierHolder

public class LocalVariableSummary
extends VariableSummary

Stores information about the formal parameter

Author:
Chris Seguin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.acm.seguin.summary.Summary
modifiers
 
Fields inherited from interface net.sourceforge.jrefactory.ast.ModifierHolder
ABSTRACT, EXPLICIT, FINAL, INTERFACE, names, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICTFP, SYNCHRONIZED, TRANSIENT, VOLATILE
 
Constructor Summary
LocalVariableSummary(Summary parentSummary, net.sourceforge.jrefactory.ast.ASTType typeNode, net.sourceforge.jrefactory.ast.ASTVariableDeclaratorId id)
          Creates a parameter summary
LocalVariableSummary(Summary parentSummary, TypeDeclSummary type, java.lang.String name)
          Constructor for the LocalVariableSummary object
 
Method Summary
 java.lang.Object accept(SummaryVisitor visitor, java.lang.Object data)
          Provide method to visit a node
static LocalVariableSummary[] createNew(Summary parentSummary, net.sourceforge.jrefactory.ast.ASTLocalVariableDeclaration field)
          Factory method
 
Methods inherited from class org.acm.seguin.summary.VariableSummary
getDeclaration, getName, getType, getTypeDecl, setName, toString
 
Methods inherited from class org.acm.seguin.summary.Summary
addModifier, copyModifiers, getDeclarationLine, getEndLine, getModifiers, getModifiersString, getParent, getStartLine, isAbstract, isExplicit, isFinal, isInterface, isNative, isPackage, isPrivate, isProtected, isPublic, isStatic, isStrictFP, isSynchronized, isTransient, isVolatile, setAbstract, setAbstract, setCode, setEndLine, setFinal, setModifiers, setPrivate, setPrivate, setProtected, setProtected, setPublic, setPublic, setStartLine, setStatic, setStatic, setStrict, setSynchronized, setSynchronized, toStandardOrderString, toStringAlphabetical
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalVariableSummary

public LocalVariableSummary(Summary parentSummary,
                            net.sourceforge.jrefactory.ast.ASTType typeNode,
                            net.sourceforge.jrefactory.ast.ASTVariableDeclaratorId id)
Creates a parameter summary

Parameters:
parentSummary - the parent summary
typeNode - the type of parameter
id - the id of the parameter

LocalVariableSummary

public LocalVariableSummary(Summary parentSummary,
                            TypeDeclSummary type,
                            java.lang.String name)
Constructor for the LocalVariableSummary object

Parameters:
parentSummary - Description of Parameter
type - Description of Parameter
name - Description of Parameter
Method Detail

accept

public java.lang.Object accept(SummaryVisitor visitor,
                               java.lang.Object data)
Provide method to visit a node

Overrides:
accept in class VariableSummary
Parameters:
visitor - the visitor
data - the data for the visit
Returns:
some new data

createNew

public static LocalVariableSummary[] createNew(Summary parentSummary,
                                               net.sourceforge.jrefactory.ast.ASTLocalVariableDeclaration field)
Factory method

Parameters:
parentSummary - the parent summary
field - the field declarator
Returns:
Description of the Returned Value