|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNode_c
abc.aspectj.ast.Pointcut_c
abc.aspectj.ast.PCName_c
public class PCName_c
A reference to a named pointcut.
Field Summary | |
---|---|
protected java.util.List |
args
|
protected MethodInstance |
mi
|
protected java.lang.String |
name
|
protected Receiver |
target
|
Fields inherited from class abc.aspectj.ast.Pointcut_c |
---|
initialised |
Constructor Summary | |
---|---|
PCName_c(Position pos,
Receiver target,
java.lang.String name,
java.util.List args)
|
Method Summary | |
---|---|
java.util.List |
arguments()
Get the actual arguments of the reference. |
PCName |
arguments(java.util.List arguments)
Set the actual arguments of the reference. |
Node |
buildTypes(TypeBuilder tb)
build the types |
Node |
checkDepends(DependsChecker dc)
|
boolean |
isDynamic()
|
Pointcut |
makeAIPointcut()
|
java.util.Collection |
mayBind()
|
java.util.Collection |
mustBind()
|
java.lang.String |
name()
Get the name of the pointcut reference. |
PCName |
name(java.lang.String name)
Set the name of the pointcut reference. |
java.util.Set |
pcRefs()
|
MethodInstance |
pointcutInstance()
Get the pointcut instance of the reference. |
PCName |
pointcutInstance(MethodInstance mi)
Set the pointcut instance of the reference. |
Precedence |
precedence()
Get the precedence of the expression. |
void |
prettyPrint(CodeWriter w,
PrettyPrinter tr)
|
ProcedureInstance |
procedureInstance()
|
protected PCName_c |
reconstruct(Receiver target,
java.util.List args)
Reconstruct the pointcut call. |
Receiver |
target()
Get the target type of the pointcut reference. |
PCName |
target(Receiver target)
Set the target object of the pointcut reference. |
Node |
typeCheck(TypeChecker tc)
type check the pointcut reference |
Node |
visitChildren(NodeVisitor v)
Visit the children of the pointcut call. |
Methods inherited from class abc.aspectj.ast.Pointcut_c |
---|
checkFormals, printSubExpr |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface abc.aspectj.ast.Pointcut |
---|
checkFormals, printSubExpr |
Field Detail |
---|
protected Receiver target
protected java.lang.String name
protected java.util.List args
protected MethodInstance mi
Constructor Detail |
---|
public PCName_c(Position pos, Receiver target, java.lang.String name, java.util.List args)
Method Detail |
---|
public Precedence precedence()
Pointcut
precedence
in interface Pointcut
precedence
in class Pointcut_c
public java.util.Set pcRefs()
pcRefs
in interface Pointcut
public boolean isDynamic()
isDynamic
in interface Pointcut
public Receiver target()
public PCName target(Receiver target)
public java.lang.String name()
public PCName name(java.lang.String name)
public ProcedureInstance procedureInstance()
public MethodInstance pointcutInstance()
public PCName pointcutInstance(MethodInstance mi)
public java.util.List arguments()
public PCName arguments(java.util.List arguments)
protected PCName_c reconstruct(Receiver target, java.util.List args)
public Node visitChildren(NodeVisitor v)
public Node buildTypes(TypeBuilder tb) throws SemanticException
SemanticException
public Node typeCheck(TypeChecker tc) throws SemanticException
SemanticException
public Node checkDepends(DependsChecker dc) throws SemanticException
checkDepends
in interface DependsCheck
SemanticException
public void prettyPrint(CodeWriter w, PrettyPrinter tr)
public java.util.Collection mayBind() throws SemanticException
mayBind
in interface Pointcut
mayBind
in class Pointcut_c
SemanticException
public java.util.Collection mustBind()
mustBind
in interface Pointcut
mustBind
in class Pointcut_c
public Pointcut makeAIPointcut()
makeAIPointcut
in interface Pointcut
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |