org.aspectj.compiler.base.ast
Class Imports

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Imports

public class Imports
extends ASTObject


Field Summary
 Import[] children
           
protected  int size
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
Imports()
           
Imports(Import child1)
           
Imports(Import[] _children)
           
Imports(Import child1, Imports imports)
           
Imports(SourceLocation location)
           
Imports(SourceLocation location, Import child1)
           
Imports(SourceLocation location, Import[] _children)
           
Imports(SourceLocation location, Import child1, Import child2)
           
Imports(SourceLocation location, Import child1, Import child2, Import child3)
           
 
Method Summary
 void add(Import child)
           
 void add(int index, Import child)
           
 Imports addAll(Import[] _children)
           
 void addAll(Imports collection)
           
 void addAll(int index, Imports collection)
           
 Imports addChild(Import child)
           
 Imports addChild(Import[] mchild)
           
 ASTObject copyWalk(CopyWalker walker)
           
 Import get(int index)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 Import[] getChildren()
           
 java.lang.String getDefaultDisplayName()
           
 void remove(int index)
           
 void resize(int newSize)
           
 void set(int index, Import child)
           
 void setChildAt(int childIndex, ASTObject child)
           
 int size()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, checkSpec, cleanup, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getComment, getCompilationUnit, getDeclaringType, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getLexicalType, getOutermostBytecodeType, getOutermostLexicalType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, inStaticContext, isLanguageVisible, isLeaf, isSynthetic, makeChild, makeChild, postAssignmentCheck, postCleanup, postCopy, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postScope, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, preScope, preThreading, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toShortString, toString, unparse, walk, walkAnalysis, walkAssignmentCheck, walkCleanup, walkFlow, walkForwardReference, walkFrameLoc, walkInnerInfo, walkMemberMunger, walkScope
 
Methods inherited from class org.aspectj.compiler.base.CompilerObject
getCompiler, getOptions, getTypeManager, getWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

size

protected int size

children

public Import[] children
Constructor Detail

Imports

public Imports(SourceLocation location,
               Import[] _children)

Imports

public Imports(Import[] _children)

Imports

public Imports(Import child1)

Imports

public Imports(Import child1,
               Imports imports)

Imports

public Imports()

Imports

public Imports(SourceLocation location)

Imports

public Imports(SourceLocation location,
               Import child1)

Imports

public Imports(SourceLocation location,
               Import child1,
               Import child2)

Imports

public Imports(SourceLocation location,
               Import child1,
               Import child2,
               Import child3)
Method Detail

unparse

public void unparse(org.aspectj.compiler.base.CodeWriter writer)
Overrides:
unparse in class ASTObject

getChildren

public Import[] getChildren()

copyWalk

public ASTObject copyWalk(CopyWalker walker)
Overrides:
copyWalk in class ASTObject

getChildAt

public ASTObject getChildAt(int childIndex)
Overrides:
getChildAt in class ASTObject

setChildAt

public void setChildAt(int childIndex,
                       ASTObject child)
Overrides:
setChildAt in class ASTObject

getChildNameAt

public java.lang.String getChildNameAt(int childIndex)
Overrides:
getChildNameAt in class ASTObject

getChildCount

public int getChildCount()
Overrides:
getChildCount in class ASTObject

size

public int size()

get

public Import get(int index)

set

public void set(int index,
                Import child)

resize

public void resize(int newSize)

addAll

public void addAll(Imports collection)

addAll

public Imports addAll(Import[] _children)

addAll

public void addAll(int index,
                   Imports collection)

addChild

public Imports addChild(Import child)

addChild

public Imports addChild(Import[] mchild)

add

public void add(Import child)

add

public void add(int index,
                Import child)

remove

public void remove(int index)
Overrides:
remove in class ASTObject

getDefaultDisplayName

public java.lang.String getDefaultDisplayName()
Overrides:
getDefaultDisplayName in class ASTObject