org.eclipse.internal.xpand2.ast
Class Advice
java.lang.Object
org.eclipse.internal.xtend.expression.ast.SyntaxElement
org.eclipse.internal.xpand2.ast.AbstractDefinition
org.eclipse.internal.xpand2.ast.Advice
- All Implemented Interfaces:
- XpandAdvice, XpandDefinition, ISyntaxElement
public class Advice
- extends AbstractDefinition
- implements XpandAdvice
- Author:
- Sven Efftinge (http://www.efftinge.de) *
Methods inherited from class org.eclipse.internal.xpand2.ast.AbstractDefinition |
evaluate, getBody, getBodyAsList, getDefName, getName, getOwner, getParams, getParamsAsList, getParamString, getQualifiedName, getTargetType, getType, prepareDeclaredParameters, setOwner |
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)
- Overrides:
analyze
in class AbstractDefinition
isWildcardParams
public boolean isWildcardParams()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractDefinition
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class AbstractDefinition
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractDefinition