org.aspectj.compiler.crosscuts.ast
Class NamePatterns

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

public class NamePatterns
extends ASTObject


Field Summary
 NamePattern[] children
           
protected  int size
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
NamePatterns(NamePattern[] _children)
           
NamePatterns(SourceLocation location)
           
NamePatterns(SourceLocation location, NamePattern child1)
           
NamePatterns(SourceLocation location, NamePattern[] _children)
           
NamePatterns(SourceLocation location, NamePattern child1, NamePattern child2)
           
NamePatterns(SourceLocation location, NamePattern child1, NamePattern child2, NamePattern child3)
           
 
Method Summary
 void add(int index, NamePattern child)
           
 void add(NamePattern child)
           
 void addAll(int index, NamePatterns collection)
           
 void addAll(NamePatterns collection)
           
 ASTObject copyWalk(CopyWalker walker)
           
 NamePattern get(int index)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 org.aspectj.compiler.base.cst.Name makeName()
           
 NamePattern pop()
           
 void remove(int index)
           
 void resize(int newSize)
           
 void set(int index, NamePattern child)
           
 void setChildAt(int childIndex, ASTObject child)
           
 int size()
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 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, 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 NamePattern[] children
Constructor Detail

NamePatterns

public NamePatterns(SourceLocation location,
                    NamePattern[] _children)

NamePatterns

public NamePatterns(NamePattern[] _children)

NamePatterns

public NamePatterns(SourceLocation location)

NamePatterns

public NamePatterns(SourceLocation location,
                    NamePattern child1)

NamePatterns

public NamePatterns(SourceLocation location,
                    NamePattern child1,
                    NamePattern child2)

NamePatterns

public NamePatterns(SourceLocation location,
                    NamePattern child1,
                    NamePattern child2,
                    NamePattern child3)
Method Detail

pop

public NamePattern pop()

toShortString

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

toString

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

unparse

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

makeName

public org.aspectj.compiler.base.cst.Name makeName()

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 NamePattern get(int index)

set

public void set(int index,
                NamePattern child)

resize

public void resize(int newSize)

addAll

public void addAll(NamePatterns collection)

addAll

public void addAll(int index,
                   NamePatterns collection)

add

public void add(NamePattern child)

add

public void add(int index,
                NamePattern child)

remove

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

getDefaultDisplayName

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