org.acm.seguin.summary
Class FieldSummary

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

public class FieldSummary
extends VariableSummary

Stores information about a field

Author:
Chris Seguin
See Also:
Serialized Form

Field Summary
 
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
FieldSummary(Summary parentSummary, net.sourceforge.jrefactory.ast.ASTType typeNode, net.sourceforge.jrefactory.ast.ASTVariableDeclaratorId id)
          Construct a method from a method declaration node
FieldSummary(Summary parentSummary, TypeDeclSummary type, java.lang.String name)
          Creates a parameter summary
 
Method Summary
 java.lang.Object accept(SummaryVisitor visitor, java.lang.Object data)
          Provide method to visit a node
 
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

FieldSummary

public FieldSummary(Summary parentSummary,
                    net.sourceforge.jrefactory.ast.ASTType typeNode,
                    net.sourceforge.jrefactory.ast.ASTVariableDeclaratorId id)
Construct a method from a method declaration node

Parameters:
parentSummary - the parent summary
id - The id of the variable
typeNode - Description of Parameter

FieldSummary

public FieldSummary(Summary parentSummary,
                    TypeDeclSummary type,
                    java.lang.String name)
Creates a parameter summary

Parameters:
parentSummary - the parent summary
type - the type of parameter
name - the name of the 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