| |
|
| java.lang.Object org.acm.seguin.summary.Summary
All known Subclasses: org.acm.seguin.summary.TypeSummary, org.acm.seguin.summary.MethodSummary, org.acm.seguin.summary.VariableSummary, org.acm.seguin.summary.FieldAccessSummary, org.acm.seguin.summary.TypeDeclSummary, org.acm.seguin.summary.PackageSummary, org.acm.seguin.summary.ImportSummary, org.acm.seguin.summary.MessageSendSummary, org.acm.seguin.summary.FileSummary,
Summary | abstract public class Summary implements ModifierHolder,Serializable(Code) | | Basic summary class. Provides a single point for a visitor to encounter and
a parent summary. All summaries have a parent except package summaries.
author: Chris Seguin |
modifiers | protected int modifiers(Code) | | |
Summary | public Summary(Summary initParent)(Code) | | Create a summary object
Parameters: initParent - the parent |
accept | public Object accept(SummaryVisitor visitor, Object data)(Code) | | Provide method to visit a node
Parameters: visitor - the visitor Parameters: data - the data for the visit some new data |
addModifier | public void addModifier(String mod)(Code) | | Add a modifier
Parameters: mod - the new modifier |
copyModifiers | public void copyModifiers(ModifierHolder source)(Code) | | Copies the modifiers from another source
Parameters: source - the source |
getDeclarationLine | public int getDeclarationLine()(Code) | | Gets the DeclarationLine attribute of the MethodSummary object
The DeclarationLine value |
getEndLine | public int getEndLine()(Code) | | Gets the EndLine attribute of the Summary object
The EndLine value |
getModifiers | public int getModifiers()(Code) | | Gets the modifier bits
the modifier bits |
getModifiersString | public String getModifiersString(int code)(Code) | | Returns a string containing all the modifiers
Parameters: code - the code used to determine the order of the modifiers the string representationof the order |
getName | abstract public String getName()(Code) | | Returns the name
the name |
getParent | public Summary getParent()(Code) | | Return the parent object
the parent object |
getStartLine | public int getStartLine()(Code) | | Gets the StartLine attribute of the Summary object
The StartLine value |
isAbstract | public boolean isAbstract()(Code) | | Determine if the object is abstract
true if this stores an ABSTRACT flag |
isExplicit | public boolean isExplicit()(Code) | | Determine if the object is explicit
true if this stores an EXPLICIT flag |
isFinal | public boolean isFinal()(Code) | | Determine if the object is final
true if this stores an FINAL flag |
isInterface | public boolean isInterface()(Code) | | Determine if the object is interface
true if this stores an INTERFACE flag |
isNative | public boolean isNative()(Code) | | Determine if the object is native
true if this stores an NATIVE flag |
isPackage | public boolean isPackage()(Code) | | Determines if this has package scope
true if this has package scope |
isPrivate | public boolean isPrivate()(Code) | | Determine if the object is private
true if this stores an PRIVATE flag |
isProtected | public boolean isProtected()(Code) | | Determine if the object is protected
true if this stores an PROTECTED flag |
isPublic | public boolean isPublic()(Code) | | Determine if the object is public
true if this stores an PUBLIC flag |
isStatic | public boolean isStatic()(Code) | | Determine if the object is static
true if this stores an static flag |
isStrictFP | public boolean isStrictFP()(Code) | | Determine if the object is strictFP
true if this stores an STRICTFP flag |
isSynchronized | public boolean isSynchronized()(Code) | | Determine if the object is synchronized
true if this stores an SYNCHRONIZED flag |
isTransient | public boolean isTransient()(Code) | | Determine if the object is transient
true if this stores an TRANSIENT flag |
isVolatile | public boolean isVolatile()(Code) | | Determine if the object is volatile
true if this stores an VOLATILE flag |
setAbstract | public void setAbstract(boolean value)(Code) | | Sets the abstract bit in the modifiers
Parameters: value - true if we are setting the modifier |
setAbstract | public void setAbstract()(Code) | | Sets the abstract bit (to true) in the modifiers
|
setCode | protected void setCode(boolean value, int code)(Code) | | Sets or resets a single bit in the modifiers
Parameters: value - true if we are setting the bit Parameters: code - The new Code value |
setEndLine | protected void setEndLine(int value)(Code) | | Sets the EndLine attribute of the Summary object
Parameters: value - The new EndLine value |
setFinal | public void setFinal()(Code) | | Sets the Final bit (to true) of the in the modifiers
|
setModifiers | public void setModifiers(int modifiers)(Code) | | Sets the modifier bits
Parameters: modifiers - the modifier bits |
setPrivate | public void setPrivate(boolean value)(Code) | | Sets the private bit in the modifiers
Parameters: value - true if we are setting the private modifier |
setPrivate | public void setPrivate()(Code) | | Sets the private bit (to true) in the modifiers
|
setProtected | public void setProtected(boolean value)(Code) | | Sets the protected bit in the modifiers
Parameters: value - true if we are setting the protected modifier |
setProtected | public void setProtected()(Code) | | Sets the protected bit (to true) in the modifiers
|
setPublic | public void setPublic(boolean value)(Code) | | Sets the public bit in the modifiers
Parameters: value - true if we are setting the public modifier |
setPublic | public void setPublic()(Code) | | Sets the public bit (to true) in the modifiers
|
setStartLine | protected void setStartLine(int value)(Code) | | Sets the StartLine attribute of the Summary object
Parameters: value - The new StartLine value |
setStatic | public void setStatic(boolean value)(Code) | | Sets the Static bit in the modifiers
Parameters: value - The new Static value |
setStatic | public void setStatic()(Code) | | Sets the Static bit (to true) in the modifiers
|
setStrict | public void setStrict()(Code) | | Sets the StrictFP bit (to true) of the in the modifiers
|
setSynchronized | public void setSynchronized(boolean value)(Code) | | Sets the Synchronized bit in the modifiers
Parameters: value - The new Synchronized value |
setSynchronized | public void setSynchronized()(Code) | | Sets the Synchronized bit (to true) in the modifiers
|
toStandardOrderString | public String toStandardOrderString()(Code) | | Convert the object to a string
a string describing the modifiers |
toStringAlphabetical | public String toStringAlphabetical()(Code) | | Convert the object to a string
a string describing the modifiers |
|
|
|