org.aspectj.compiler.base.ast
Class InitializerDec
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.Dec
org.aspectj.compiler.base.ast.CodeDec
org.aspectj.compiler.base.ast.InitializerDec
- All Implemented Interfaces:
- PossibleSoftThrowable
- public class InitializerDec
- extends CodeDec
| 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.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 |
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)
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