|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration
org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration
org.aspectj.ajdt.internal.compiler.ast.AjMethodDeclaration
org.aspectj.ajdt.internal.compiler.ast.InterTypeDeclaration
org.aspectj.ajdt.internal.compiler.ast.InterTypeConstructorDeclaration
public class InterTypeConstructorDeclaration
An inter-type constructor declaration.
This will generate two implementation methods in the aspect, the main one for the body of the constructor, and an additional
preMethod for the code that runs before the super constructor is called.
| Field Summary |
|---|
| Fields inherited from class org.aspectj.ajdt.internal.compiler.ast.InterTypeDeclaration |
|---|
declaredModifiers, declaredSelector, interTypeScope, munger, onType, onTypeBinding, typeVariableAliases |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration |
|---|
returnType, typeParameters |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration |
|---|
annotations, arguments, binding, bodyEnd, bodyStart, compilationResult, declarationSourceEnd, declarationSourceStart, explicitDeclarations, ignoreFurtherInvestigation, javadoc, modifiers, modifiersSourceStart, scope, selector, statements, thrownExceptions |
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemSeverities |
|---|
Abort, AbortCompilation, AbortCompilationUnit, AbortMethod, AbortType, Error, Fatal, Ignore, Optional, SecondaryError, Warning |
| Constructor Summary | |
|---|---|
InterTypeConstructorDeclaration(CompilationResult result,
TypeReference onType)
|
|
| Method Summary | |
|---|---|
EclipseTypeMunger |
build(ClassScope classScope)
Called from AspectDeclarations.buildInterTypeAndPerClause |
void |
generateCode(ClassScope classScope,
ClassFile classFile)
Bytecode generation for a method |
protected char[] |
getPrefix()
|
protected Shadow.Kind |
getShadowKindForBody()
|
void |
parseStatements(Parser parser,
CompilationUnitDeclaration unit)
Fill up the method body with statement |
void |
resolve(ClassScope upperScope)
|
| Methods inherited from class org.aspectj.ajdt.internal.compiler.ast.InterTypeDeclaration |
|---|
addAtAspectJAnnotations, checkSpec, determineTypeVariableAliases, ensureScopeSetup, fixSuperCallsInBody, generateInfoAttributes, getDeclaredSelector, getOnType, getSignature, isTargetAnnotation, isTargetEnum, makeEffectiveSignatureAttribute, resolveOnType, setDeclaredModifiers, setMunger, setOnType, setSelector |
| Methods inherited from class org.aspectj.ajdt.internal.compiler.ast.AjMethodDeclaration |
|---|
addAttribute, addDeclarationStartLineAttribute, generateInfoAttributes |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration |
|---|
analyseCode, isMethod, printReturnType, resolveStatements, traverse, typeParameters |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration |
|---|
abort, bindArguments, bindThrownExceptions, compilationResult, finishResolveTypes, generateCode, hasErrors, isAbstract, isAnnotationMethod, isClinit, isConstructor, isDefaultConstructor, isInitializationMethod, isNative, isStatic, postParse, print, printBody, resolveJavadoc, tagAsHavingErrors |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode |
|---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString, traverse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InterTypeConstructorDeclaration(CompilationResult result,
TypeReference onType)
| Method Detail |
|---|
public void parseStatements(Parser parser,
CompilationUnitDeclaration unit)
AbstractMethodDeclaration
parseStatements in class MethodDeclarationprotected char[] getPrefix()
getPrefix in class InterTypeDeclarationpublic void resolve(ClassScope upperScope)
resolve in class InterTypeDeclarationpublic EclipseTypeMunger build(ClassScope classScope)
InterTypeDeclaration
build in class InterTypeDeclaration
public void generateCode(ClassScope classScope,
ClassFile classFile)
AbstractMethodDeclaration
generateCode in class AbstractMethodDeclarationprotected Shadow.Kind getShadowKindForBody()
getShadowKindForBody in class InterTypeDeclaration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||