org.aspectj.org.eclipse.jdt.internal.core
Class OpenableElementInfo

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
      extended by org.aspectj.org.eclipse.jdt.internal.core.OpenableElementInfo
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
CompilationUnitElementInfo, JavaModelInfo

public class OpenableElementInfo
extends JavaElementInfo

Element info for IOpenable elements.


Field Summary
protected  IJavaElement[] children
          Collection of handles of immediate children of this object.
protected  boolean isStructureKnown
          Is the structure of this element known
 
Constructor Summary
OpenableElementInfo()
           
 
Method Summary
 void addChild(IJavaElement child)
           
 IJavaElement[] getChildren()
           
 boolean isStructureKnown()
           
 void removeChild(IJavaElement child)
           
 void setChildren(IJavaElement[] children)
           
 void setIsStructureKnown(boolean newIsStructureKnown)
          Sets whether the structure of this element known
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

protected IJavaElement[] children
Collection of handles of immediate children of this object. This is an empty array if this element has no children.


isStructureKnown

protected boolean isStructureKnown
Is the structure of this element known

See Also:
IJavaElement.isStructureKnown()
Constructor Detail

OpenableElementInfo

public OpenableElementInfo()
Method Detail

addChild

public void addChild(IJavaElement child)

getChildren

public IJavaElement[] getChildren()
Overrides:
getChildren in class JavaElementInfo

isStructureKnown

public boolean isStructureKnown()
See Also:
IJavaElement.isStructureKnown()

removeChild

public void removeChild(IJavaElement child)

setChildren

public void setChildren(IJavaElement[] children)

setIsStructureKnown

public void setIsStructureKnown(boolean newIsStructureKnown)
Sets whether the structure of this element known

See Also:
IJavaElement.isStructureKnown()