org.springframework.roo.classpath.details.comments
Class CommentStructure

java.lang.Object
  extended by org.springframework.roo.classpath.details.comments.CommentStructure

public class CommentStructure
extends Object

Author:
Mike De Haan

Nested Class Summary
static class CommentStructure.CommentLocation
           
 
Constructor Summary
CommentStructure()
           
 
Method Summary
 void addComment(AbstractComment comment, CommentStructure.CommentLocation commentLocation)
          Helper method to assist in adding comments to structures.
 List<AbstractComment> getBeginComments()
           
 List<AbstractComment> getEndComments()
           
 List<AbstractComment> getInternalComments()
           
 void setBeginComments(List<AbstractComment> beginComments)
           
 void setEndComments(List<AbstractComment> endComments)
           
 void setInternalComments(List<AbstractComment> internalComments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentStructure

public CommentStructure()
Method Detail

addComment

public void addComment(AbstractComment comment,
                       CommentStructure.CommentLocation commentLocation)
Helper method to assist in adding comments to structures.

Parameters:
comment - The comment to add (LineComment, BlockComment, JavadocComment)
commentLocation - Where the comment should be added.

getBeginComments

public List<AbstractComment> getBeginComments()

getEndComments

public List<AbstractComment> getEndComments()

getInternalComments

public List<AbstractComment> getInternalComments()

setBeginComments

public void setBeginComments(List<AbstractComment> beginComments)

setEndComments

public void setEndComments(List<AbstractComment> endComments)

setInternalComments

public void setInternalComments(List<AbstractComment> internalComments)


Copyright © 2009–2015. All rights reserved.