|
|||||||||
| 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.InterTypeFieldDeclaration
public class InterTypeFieldDeclaration
An inter-type field declaration. returnType encodes the type of the field selector encodes the name statements is null until resolution when it is filled in from the initializer
| Field Summary | |
|---|---|
Expression |
initialization
|
| 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 | |
|---|---|
InterTypeFieldDeclaration(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()
|
TypeBinding |
getRealFieldType()
|
protected Shadow.Kind |
getShadowKindForBody()
|
void |
parseStatements(Parser parser,
CompilationUnitDeclaration unit)
Fill up the method body with statement |
void |
resolve(ClassScope upperScope)
|
void |
resolveOnType(ClassScope classScope)
|
void |
setInitialization(Expression initialization)
|
| Methods inherited from class org.aspectj.ajdt.internal.compiler.ast.InterTypeDeclaration |
|---|
addAtAspectJAnnotations, checkSpec, determineTypeVariableAliases, ensureScopeSetup, fixSuperCallsInBody, generateInfoAttributes, getDeclaredSelector, getOnType, getSignature, isTargetAnnotation, isTargetEnum, makeEffectiveSignatureAttribute, 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 |
| Field Detail |
|---|
public Expression initialization
| Constructor Detail |
|---|
public InterTypeFieldDeclaration(CompilationResult result,
TypeReference onType)
| Method Detail |
|---|
public TypeBinding getRealFieldType()
public void parseStatements(Parser parser,
CompilationUnitDeclaration unit)
AbstractMethodDeclaration
parseStatements in class MethodDeclarationprotected char[] getPrefix()
getPrefix in class InterTypeDeclarationpublic void resolveOnType(ClassScope classScope)
resolveOnType in class InterTypeDeclarationpublic void resolve(ClassScope upperScope)
resolve in class InterTypeDeclarationpublic void setInitialization(Expression initialization)
public 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 | ||||||||