org.openarchitectureware.xpand2.ast
Class Advice
java.lang.Object
org.openarchitectureware.expression.ast.SyntaxElement
org.openarchitectureware.xpand2.ast.AbstractDefinition
org.openarchitectureware.xpand2.ast.Advice
- All Implemented Interfaces:
- ISyntaxElement, XpandAnalyzable, XpandEvaluatable, XpandAdvice, XpandDefinition
public class Advice
- extends AbstractDefinition
- implements XpandAdvice
- Author:
- Sven Efftinge (http://www.efftinge.de) *
Methods inherited from class org.openarchitectureware.xpand2.ast.AbstractDefinition |
equals, evaluate, getBody, getBodyAsList, getDefName, getName, getOwner, getParams, getParamsAsList, getParamString, getQualifiedName, getTargetType, getType, hashCode, setOwner, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DEF_VAR_NAME
public static final java.lang.String DEF_VAR_NAME
- See Also:
- Constant Field Values
Advice
public Advice(Identifier pointCut,
Identifier type,
DeclaredParameter[] params,
boolean wildParams,
Statement[] body)
getPointCut
public Identifier getPointCut()
analyze
public void analyze(XpandExecutionContext ctx,
java.util.Set<AnalysationIssue> issues)
- Specified by:
analyze
in interface XpandAnalyzable
- Overrides:
analyze
in class AbstractDefinition
matches
public boolean matches(XpandDefinition def,
XpandExecutionContext ctx)
- Specified by:
matches
in interface XpandAdvice
getNameString
public java.lang.String getNameString(ExecutionContext context)
- Specified by:
getNameString
in interface ISyntaxElement
- Overrides:
getNameString
in class SyntaxElement