org.aspectj.compiler.crosscuts.ast
Class AnonymousMethodExpr

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

public class AnonymousMethodExpr
extends Expr


Field Summary
protected  Exprs args
           
protected  MethodDec methodDec
           
 
Fields inherited from class org.aspectj.compiler.base.ast.Expr
type
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
protected AnonymousMethodExpr(SourceLocation source)
           
  AnonymousMethodExpr(SourceLocation location, Exprs _args, MethodDec _methodDec)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
protected  Type discoverType()
           
 void fixAST(org.aspectj.compiler.base.ASTFixerPass fixer)
           
 Exprs getArgs()
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 MethodDec getMethodDec()
           
 void grabContext()
           
 void implementMixin(org.aspectj.compiler.crosscuts.MixinImplementationPass fixer)
           
 ASTObject postFixAST(org.aspectj.compiler.base.ASTFixerPass fixer)
           
 ASTObject postMove(MovingWalker walker)
           
 void setArgs(Exprs _args)
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setMethodDec(MethodDec _methodDec)
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.Expr
assertType, canBeCopied, cgBuffer, cgEffect, cgTest, cgValue, cgValue, checkSpec, cleanup, getType, isAssignableTo, isConstantFalse, isConstantTrue, isConstantZero, isInConstructorCallExpr, isInExprStmt, isLegalStmt, isMethodConvertableTo, isUltimatelyLiteral, makeQualifiedThis, makeReference, postCopy, setType, showOperatorTypeError, showOperatorTypeError, walkCleanup, walkFrameLoc
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, 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, indexOf, inStaticContext, isLanguageVisible, isLeaf, isSynthetic, makeChild, makeChild, postAssignmentCheck, postCleanup, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postScope, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, preScope, preThreading, remove, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toShortString, toString, unparse, walk, walkAnalysis, walkAssignmentCheck, walkFlow, walkForwardReference, 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

args

protected Exprs args

methodDec

protected MethodDec methodDec
Constructor Detail

AnonymousMethodExpr

public AnonymousMethodExpr(SourceLocation location,
                           Exprs _args,
                           MethodDec _methodDec)

AnonymousMethodExpr

protected AnonymousMethodExpr(SourceLocation source)
Method Detail

discoverType

protected Type discoverType()
Specified by:
discoverType in class Expr

grabContext

public void grabContext()

postMove

public ASTObject postMove(MovingWalker walker)
Overrides:
postMove in class ASTObject

fixAST

public void fixAST(org.aspectj.compiler.base.ASTFixerPass fixer)
Overrides:
fixAST in class ASTObject

postFixAST

public ASTObject postFixAST(org.aspectj.compiler.base.ASTFixerPass fixer)
Overrides:
postFixAST in class ASTObject

implementMixin

public void implementMixin(org.aspectj.compiler.crosscuts.MixinImplementationPass fixer)
Overrides:
implementMixin in class ASTObject

unparse

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

getArgs

public Exprs getArgs()

setArgs

public void setArgs(Exprs _args)

getMethodDec

public MethodDec getMethodDec()

setMethodDec

public void setMethodDec(MethodDec _methodDec)

copyWalk

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

getChildAt

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

getChildNameAt

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

setChildAt

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

getChildCount

public int getChildCount()
Overrides:
getChildCount in class ASTObject

getDefaultDisplayName

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