org.aspectj.compiler.base.ast
Class InitializerDec

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Stmt
              extended byorg.aspectj.compiler.base.ast.Dec
                  extended byorg.aspectj.compiler.base.ast.CodeDec
                      extended byorg.aspectj.compiler.base.ast.InitializerDec
All Implemented Interfaces:
PossibleSoftThrowable

public class InitializerDec
extends CodeDec


Field Summary
 
Fields inherited from class org.aspectj.compiler.base.ast.CodeDec
_throws, body, formals, modifiers
 
Fields inherited from class org.aspectj.compiler.base.ast.Dec
forcePublic, owner, semanticObject
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
protected InitializerDec(SourceLocation source)
           
  InitializerDec(SourceLocation location, Modifiers _modifiers, CodeBody _body)
           
  InitializerDec(SourceLocation location, Modifiers _modifiers, Formals _formals, TypeDs __throws, CodeBody _body)
           
 
Method Summary
protected  void cgCodeMember(org.aspectj.compiler.base.bcg.CodeBuilder cb)
          generate code for the body.
 boolean conflictsWith(Dec otherDec)
           
 ASTObject copyWalk(CopyWalker walker)
           
 java.lang.String getDefaultDisplayName()
           
 java.lang.String getDescriptor()
          return the bytecode type descriptor for the member.
 java.lang.String getId()
           
 java.lang.String getKind()
           
 TypeD getResultTypeD()
           
 int getStackDelta()
          return the change in stack that would result from invoking this codeDec.
 ASTObject postCleanup(org.aspectj.compiler.base.ByteCodeCleanupPass walker)
           
 ASTObject postImplementMixin(org.aspectj.compiler.crosscuts.MixinImplementationPass fixer)
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 void walkAnalysis(org.aspectj.compiler.base.LocalClassPass.AnalysisWalker walker)
           
 void walkFlow(org.aspectj.compiler.base.FlowCheckerPass w)
           
 void walkForwardReference(org.aspectj.compiler.base.ForwardReferenceChecker w)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.CodeDec
addThrows, addThrowsType, appearsStaticToCaller, blockToBody, canThrow, cgMember, checkSpec, cleanup, computeMinimalThrows, getBody, getCallExprs, getChildAt, getChildCount, getChildNameAt, getEffectivelyFinalFormals, getFormals, getFrameSize, getModifiers, getPossibleCheckedExceptions, getResultType, getThrows, hasThis, isAlmostApplicable, isApplicable, isMoreSpecificThan, isSoftThrowable, postScope, preScope, setBody, setBody, setChildAt, setFormals, setFrameSize, setModifiers, setSoftThrowable, setThrows, setupFlowWalker, walkCleanup, walkFrameLoc, walkInnerInfo
 
Methods inherited from class org.aspectj.compiler.base.ast.Dec
addIntroducedFromType, checkOverride, dominates, forcePublic, getBytecodeId, getCorrespondingSemanticObject, getDeclaringType, getLexicalType, getName, getOutermostLexicalType, getSignatureString, inStaticContext, isAbstract, isAccessible, isAccessible, isDeprecated, isFinal, isInherited, isIntroduced, isLanguageVisible, isMoreAccessibleThan, isPrivate, isProtected, isPublic, isStatic, isSynthetic, lookupDeclaringType, lookupLexicalType, makeBlockScope, makeCorrespondingSemanticObject, postCopy, preCopy, preMove, requireStmt, samePackage, setAllEnclosingTypes, setBytecodeId, setDeclaringType, setDeprecated, setExplicitlyNonSynthetic, setFromLexicalScope, setId, setLanguageVisible, setLexicalType, writeModifiers, writeNames
 
Methods inherited from class org.aspectj.compiler.base.ast.Stmt
cgStmt, cgTop, completesNormally, isBreakable, isContinuable, isEmpty, mustBeLive, registerLocation, requireBlockStmt, setCompletesNormally
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getComment, getCompilationUnit, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getOutermostBytecodeType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, isLeaf, makeChild, makeChild, postAssignmentCheck, postFixAST, postInnerAccess, postInnerInfo, postLift, postMove, postThreading, preAssignmentCheck, preIntroduction, preLift, preThreading, remove, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, unparse, walk, walkAssignmentCheck, 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
 

Constructor Detail

InitializerDec

public InitializerDec(SourceLocation location,
                      Modifiers _modifiers,
                      CodeBody _body)

InitializerDec

public InitializerDec(SourceLocation location,
                      Modifiers _modifiers,
                      Formals _formals,
                      TypeDs __throws,
                      CodeBody _body)

InitializerDec

protected InitializerDec(SourceLocation source)
Method Detail

walkFlow

public final void walkFlow(org.aspectj.compiler.base.FlowCheckerPass w)
Overrides:
walkFlow in class CodeDec

getId

public java.lang.String getId()
Specified by:
getId in class CodeDec

getResultTypeD

public TypeD getResultTypeD()
Specified by:
getResultTypeD in class CodeDec

conflictsWith

public boolean conflictsWith(Dec otherDec)
Overrides:
conflictsWith in class CodeDec

toShortString

public java.lang.String toShortString()
Specified by:
toShortString in class Dec

getKind

public java.lang.String getKind()
Specified by:
getKind in class Dec

postImplementMixin

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

unparse

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

walkForwardReference

public void walkForwardReference(org.aspectj.compiler.base.ForwardReferenceChecker w)
Overrides:
walkForwardReference in class Dec

postCleanup

public ASTObject postCleanup(org.aspectj.compiler.base.ByteCodeCleanupPass walker)
Overrides:
postCleanup in class CodeDec

cgCodeMember

protected void cgCodeMember(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Description copied from class: CodeDec
generate code for the body. Assumes there is a body.

Overrides:
cgCodeMember in class CodeDec
Parameters:
cb - the codeBuilder into which to generate code

getDescriptor

public java.lang.String getDescriptor()
Description copied from class: CodeDec
return the bytecode type descriptor for the member.

Overrides:
getDescriptor in class CodeDec

getStackDelta

public int getStackDelta()
Description copied from class: CodeDec
return the change in stack that would result from invoking this codeDec. This is the size of the return value minus the size of the argument values (including the implicit this object). It is typically negative for coded members with arguments.

Overrides:
getStackDelta in class CodeDec

walkAnalysis

public void walkAnalysis(org.aspectj.compiler.base.LocalClassPass.AnalysisWalker walker)
Overrides:
walkAnalysis in class CodeDec

toString

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

copyWalk

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

getDefaultDisplayName

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