com.ochafik.lang.jnaerator.parser
Class FriendDeclaration

java.lang.Object
  extended by com.ochafik.lang.jnaerator.parser.Element
      extended by com.ochafik.lang.jnaerator.parser.ModifiableElement
          extended by com.ochafik.lang.jnaerator.parser.Declaration
              extended by com.ochafik.lang.jnaerator.parser.FriendDeclaration

public class FriendDeclaration
extends Declaration


Field Summary
 
Fields inherited from class com.ochafik.lang.jnaerator.parser.Declaration
valueType, visibility
 
Fields inherited from class com.ochafik.lang.jnaerator.parser.ModifiableElement
annotations, modifiers
 
Fields inherited from class com.ochafik.lang.jnaerator.parser.Element
nameSpace, possibleLanguages
 
Constructor Summary
FriendDeclaration()
           
FriendDeclaration(Declaration friend)
           
 
Method Summary
 void accept(Visitor visitor)
           
 Declaration getFriend()
           
 boolean replaceChild(Element child, Element by)
           
 void setFriend(Declaration friend)
           
 String toString(CharSequence indent)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.parser.Declaration
clone, getModifiersStringPrefix, getValueType, getVisibility, setValueType, setVisibility
 
Methods inherited from class com.ochafik.lang.jnaerator.parser.ModifiableElement
addAnnotation, addAnnotations, addModifiers, addModifiers, getAnnotations, getModifiers, getNextChild, getPreviousChild, removeModifiers, reorganizeModifiers, setAnnotations, setModifiers
 
Methods inherited from class com.ochafik.lang.jnaerator.parser.Element
addNameSpace, addToCommentBefore, addToCommentBefore, changeValue, changeValue, cleanComment, cloneElements, cloneElements, cloneObject, deepClone, findParentOfType, findParentOfTypes, formatComments, formatComments, getCommentAfter, getCommentBefore, getElementFile, getElementLine, getFileOfAscendency, getGettersAndSetters, getId, getNameSpace, getNextSibling, getNextSibling, getParentElement, getPossibleLanguages, getPreviousSibling, getPreviousSibling, implode, importDetails, insertChild, insertSibling, moveAllCommentsBefore, replaceBy, replaceChild, resolvePossibleLanguages, setCommentAfter, setCommentBefore, setElementFile, setElementLine, setNameSpace, setParentElement, setPossibleLanguages, stripDetails, toString, unmodifiableList
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FriendDeclaration

public FriendDeclaration()

FriendDeclaration

public FriendDeclaration(Declaration friend)
Method Detail

setFriend

public void setFriend(Declaration friend)

getFriend

public Declaration getFriend()

replaceChild

public boolean replaceChild(Element child,
                            Element by)
Overrides:
replaceChild in class Declaration

accept

public void accept(Visitor visitor)
Overrides:
accept in class ModifiableElement

toString

public String toString(CharSequence indent)
Specified by:
toString in class Element


Copyright © 2009. All Rights Reserved.