Has a name, inheritance hierarchy, return type, argument list, exception
list, and is embedded in a Class
or Interface
NOTE: In this case, name is special in that name may be fullName, shortName,
extension, etc. by default, name == fullName since this is what is subject
to collision detection.
d_ensures
protected Ensures d_ensures
d_name2
protected Name d_name2
d_returnType
protected Type d_returnType
accept
public Object accept(Visitor v,
Object data)
implements "Visitor Pattern"
- accept in interface ASTNode
v
- The visitor classdata
- Optional extra data
addSplicerBlock
public void addSplicerBlock(SplicerBlock block)
getEnsures
public Ensures getEnsures()
getRequires
public Requires getRequires()
getReturnType
public Type getReturnType()
hasDocComment
public boolean hasDocComment()
isRenamedFromAncestor
public boolean isRenamedFromAncestor()
setArgumentList
public void setArgumentList(ArgumentList argList)
setDocComment
public void setDocComment(String text)
setEnsures
public void setEnsures(Ensures ensures)
setFromClause
public void setFromClause(FromClause from)
setMethodName
public void setMethodName(MethodName name)
setRequires
public void setRequires(Requires requires)
setReturnType
public void setReturnType(Type t)
setThrowsList
public void setThrowsList(ThrowsList throwsList)