org.aspectj.compiler.base.ast
Class Import

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

public class Import
extends ASTObject


Field Summary
protected  boolean star
           
protected  org.aspectj.compiler.base.cst.Name typeName
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  Import(Identifier _ident)
           
  Import(IdentifierStar _ident)
           
protected Import(SourceLocation source)
           
  Import(SourceLocation location, org.aspectj.compiler.base.cst.Name _typeName, boolean _star)
           
  Import(java.lang.String pack)
           
 
Method Summary
 boolean capturesId(java.lang.String id)
           
 void checkSpec()
           
 ASTObject copyWalk(CopyWalker walker)
           
 java.lang.String getDefaultDisplayName()
           
 java.lang.String getName()
           
 boolean getStar()
           
 Type getType()
           
 org.aspectj.compiler.base.cst.Name getTypeName()
           
static Import[] makeImportArray(Import i, Imports imports)
           
 org.aspectj.compiler.base.cst.Scope makeTypeNameScope()
           
 void setStar(boolean _star)
           
 void setTypeName(org.aspectj.compiler.base.cst.Name _typeName)
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, cleanup, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getChildAt, getChildCount, getChildNameAt, 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, remove, removeChildAt, replaceWith, setChildAt, 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

typeName

protected org.aspectj.compiler.base.cst.Name typeName

star

protected boolean star
Constructor Detail

Import

public Import(SourceLocation location,
              org.aspectj.compiler.base.cst.Name _typeName,
              boolean _star)

Import

public Import(IdentifierStar _ident)

Import

public Import(Identifier _ident)

Import

public Import(java.lang.String pack)

Import

protected Import(SourceLocation source)
Method Detail

checkSpec

public void checkSpec()
Overrides:
checkSpec in class ASTObject

capturesId

public boolean capturesId(java.lang.String id)

makeTypeNameScope

public org.aspectj.compiler.base.cst.Scope makeTypeNameScope()

getType

public Type getType()

getName

public java.lang.String getName()

unparse

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

getTypeName

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

setTypeName

public void setTypeName(org.aspectj.compiler.base.cst.Name _typeName)

getStar

public boolean getStar()

setStar

public void setStar(boolean _star)

makeImportArray

public static Import[] makeImportArray(Import i,
                                       Imports imports)

copyWalk

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

getDefaultDisplayName

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