org.aspectj.compiler.base.ast
Class ConstructorBody
java.lang.Object
org.aspectj.compiler.base.CompilerObject
org.aspectj.compiler.base.ast.ASTObject
org.aspectj.compiler.base.ast.Stmt
org.aspectj.compiler.base.ast.BlockStmt
org.aspectj.compiler.base.ast.CodeBody
org.aspectj.compiler.base.ast.ConstructorBody
- All Implemented Interfaces:
- AspectMember
- public class ConstructorBody
- extends CodeBody
Fields inherited from class org.aspectj.compiler.base.ast.CodeBody |
parsed |
Constructor Summary |
protected |
ConstructorBody(SourceLocation source)
|
|
ConstructorBody(SourceLocation location,
Stmts _stmts,
boolean _parsed,
ConstructorCallExpr _constructorCall)
|
|
ConstructorBody(SourceLocation location,
Stmts _stmts,
ConstructorCallExpr _constructorCall,
boolean _parsed)
|
|
ConstructorBody(SourceLocation location,
Stmts _tmpStmts,
Stmts _stmts,
boolean _parsed,
ConstructorCallExpr _constructorCall)
|
Methods inherited from class org.aspectj.compiler.base.ast.BlockStmt |
addTemporary, checkReturnType, getStmts, getTmpStmts, isEmpty, makeTemporary, makeTempsExplicit, mustBeLive, postScope, requireBlockStmt, setStmts, setTmpStmts, walkCleanup, walkFlow, walkFrameLoc |
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject |
addComment, buildAccessMethod, checkNoSharing, checkSpec, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getComment, getCompilationUnit, getDeclaringType, 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, postCopy, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, remove, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toShortString, toString, unparse, walk, walkAnalysis, walkAssignmentCheck, walkForwardReference, walkInnerInfo, walkMemberMunger |
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 |
constructorCall
protected ConstructorCallExpr constructorCall
ConstructorBody
public ConstructorBody(SourceLocation location,
Stmts _stmts,
ConstructorCallExpr _constructorCall,
boolean _parsed)
ConstructorBody
public ConstructorBody(SourceLocation location,
Stmts _stmts,
boolean _parsed,
ConstructorCallExpr _constructorCall)
ConstructorBody
public ConstructorBody(SourceLocation location,
Stmts _tmpStmts,
Stmts _stmts,
boolean _parsed,
ConstructorCallExpr _constructorCall)
ConstructorBody
protected ConstructorBody(SourceLocation source)
setupDefaultConstructorCall
protected void setupDefaultConstructorCall()
preScope
public void preScope(ScopeWalker walker)
- Overrides:
preScope
in class BlockStmt
unparse
public void unparse(org.aspectj.compiler.base.CodeWriter writer)
- Specified by:
unparse
in interface AspectMember
- Overrides:
unparse
in class BlockStmt
cleanup
public void cleanup()
- Specified by:
cleanup
in interface AspectMember
- Overrides:
cleanup
in class CodeBody
preThreading
public void preThreading(org.aspectj.compiler.base.LocalClassPass.ThreadingWalker walker)
- Overrides:
preThreading
in class ASTObject
cgStmt
protected void cgStmt(org.aspectj.compiler.base.bcg.CodeBuilder cb)
- Description copied from class:
Stmt
- This procedure does the work of generating bytecode. Its main
requirement is to leave the stack empty. This method should
only be called from
Stmt.cgTop(org.aspectj.compiler.base.bcg.CodeBuilder)
.
- Overrides:
cgStmt
in class BlockStmt
getConstructorCall
public ConstructorCallExpr getConstructorCall()
setConstructorCall
public void setConstructorCall(ConstructorCallExpr _constructorCall)
copyWalk
public ASTObject copyWalk(CopyWalker walker)
- Overrides:
copyWalk
in class CodeBody
getChildAt
public ASTObject getChildAt(int childIndex)
- Overrides:
getChildAt
in class BlockStmt
getChildNameAt
public java.lang.String getChildNameAt(int childIndex)
- Overrides:
getChildNameAt
in class BlockStmt
setChildAt
public void setChildAt(int childIndex,
ASTObject child)
- Overrides:
setChildAt
in class BlockStmt
getChildCount
public int getChildCount()
- Overrides:
getChildCount
in class BlockStmt
getDefaultDisplayName
public java.lang.String getDefaultDisplayName()
- Overrides:
getDefaultDisplayName
in class CodeBody