|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ConstructorDecl_c abc.aspectj.ast.IntertypeConstructorDecl_c
public class IntertypeConstructorDecl_c
Field Summary | |
---|---|
protected TypeNode |
host
|
protected java.lang.String |
identifier
|
protected InterTypeConstructorInstance_c |
itConstructorInstance
|
protected Flags |
originalFlags
|
protected LocalInstance |
thisParamInstance
|
Constructor Summary | |
---|---|
IntertypeConstructorDecl_c(Position pos,
Flags flags,
TypeNode host,
java.lang.String name,
java.util.List formals,
java.util.List throwTypes,
Block body)
|
Method Summary | |
---|---|
IntertypeConstructorDecl |
accessChange(AJNodeFactory nf,
AJTypeSystem ts)
|
NodeVisitor |
addMembersEnter(AddMemberVisitor am)
|
void |
aspectMethodsEnter(AspectMethods visitor)
|
Node |
aspectMethodsLeave(AspectMethods visitor,
AJNodeFactory nf,
AJTypeSystem ts)
|
Context |
enterScope(Context c)
|
TypeNode |
host()
the target class of the intertype decl |
IntertypeConstructorDecl |
liftMethods(AJNodeFactory nf,
AJTypeSystem ts,
java.util.List methodDecls)
given an intertype constructor declaration of the form A.new(formal1, ... |
static void |
overrideITDconstructor(ClassType pht,
ConstructorInstance mi)
|
void |
prettyPrint(CodeWriter w,
PrettyPrinter tr)
|
protected IntertypeConstructorDecl_c |
reconstruct(java.util.List formals,
java.util.List throwTypes,
Block body,
TypeNode host)
|
Expr |
thisReference(AJNodeFactory nf,
AJTypeSystem ts)
create a reference to the "this" parameter |
Node |
typeCheck(TypeChecker tc)
Duplicate most of the things for ConstructorDecl here to avoid comparing the name against the contaning class. |
void |
update(GlobalAspectInfo gai,
Aspect current_aspect)
Called by the AspectInfoHarvester to tell the node to
put all relevant information into the GlobalAspectInfo . |
Node |
visitChildren(NodeVisitor v)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TypeNode host
protected LocalInstance thisParamInstance
protected java.lang.String identifier
protected Flags originalFlags
protected InterTypeConstructorInstance_c itConstructorInstance
Constructor Detail |
---|
public IntertypeConstructorDecl_c(Position pos, Flags flags, TypeNode host, java.lang.String name, java.util.List formals, java.util.List throwTypes, Block body)
Method Detail |
---|
public TypeNode host()
IntertypeDecl
host
in interface IntertypeDecl
protected IntertypeConstructorDecl_c reconstruct(java.util.List formals, java.util.List throwTypes, Block body, TypeNode host)
public Node visitChildren(NodeVisitor v)
public NodeVisitor addMembersEnter(AddMemberVisitor am)
public static void overrideITDconstructor(ClassType pht, ConstructorInstance mi)
public IntertypeConstructorDecl accessChange(AJNodeFactory nf, AJTypeSystem ts)
public Expr thisReference(AJNodeFactory nf, AJTypeSystem ts)
thisReference
in interface IntertypeDecl
public IntertypeConstructorDecl liftMethods(AJNodeFactory nf, AJTypeSystem ts, java.util.List methodDecls)
public Node typeCheck(TypeChecker tc) throws SemanticException
SemanticException
public void prettyPrint(CodeWriter w, PrettyPrinter tr)
public Context enterScope(Context c)
public void update(GlobalAspectInfo gai, Aspect current_aspect)
ContainsAspectInfo
AspectInfoHarvester
to tell the node to
put all relevant information into the GlobalAspectInfo
.
update
in interface ContainsAspectInfo
gai
- the target of the information.current_aspect
- the aspect currently being traversed.public void aspectMethodsEnter(AspectMethods visitor)
aspectMethodsEnter
in interface MakesAspectMethods
public Node aspectMethodsLeave(AspectMethods visitor, AJNodeFactory nf, AJTypeSystem ts)
aspectMethodsLeave
in interface MakesAspectMethods
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |