java.lang.Object
fzi.injectj.weavepoint.Type
fzi.injectj.weavepoint.AbstractWeavepoint
fzi.injectj.weavepoint.AssignmentWeavepoint
- public abstract class AssignmentWeavepoint
- extends AbstractWeavepoint
| Fields inherited from class fzi.injectj.weavepoint.Type |
ACCESS, ASSIGNMENT, ATTRIBUTE, BOOL, CLASS, DECLARATION, EXCEPTION, EXCEPTIONTHROW, EXPLICIT, INTEGER, LIBRARY, LIST, LIST_MASK, listSeparator, METHOD, PARAMETER, ROOT, STRING, UNKNOWN, VOID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matchIdentifier
protected java.lang.String matchIdentifier
AssignmentWeavepoint
public AssignmentWeavepoint(java.lang.String matchIdentifier)
- Constructs a new assignment weavepoint.
getMatchIdentifier
public java.lang.String getMatchIdentifier()
- Returns the simple identifier of the left hand side variable set using the constructor.
getTypeID
public int getTypeID()
- Specified by:
getTypeID in class Type
getAssignmentText
public abstract java.lang.String getAssignmentText()
- Returns the source text of this assignment
before
public void before(fzi.injectj.node.JavaSource source,
fzi.injectj.util.Environment environment)
throws WeaveException
- Description copied from class:
AbstractWeavepoint
- Implementation of the 'before' command. This method will be called if a
'before' command was found. The default implementation does nothing but
throwing a WeaveException.
- Overrides:
before in class AbstractWeavepoint
after
public void after(fzi.injectj.node.JavaSource source,
fzi.injectj.util.Environment environment)
throws WeaveException
- Description copied from class:
AbstractWeavepoint
- Implementation of the 'after' command. This method will be called if a
'after' command was found. The default implementation does nothing but
throwing a WeaveException.
- Overrides:
after in class AbstractWeavepoint
replace
public void replace(fzi.injectj.node.JavaSource source,
fzi.injectj.util.Environment environment)
throws WeaveException
- Description copied from class:
AbstractWeavepoint
- Implementation of the 'replace' command. This method will be called if a
'replace' command was found. The default implementation does nothing but
throwing a WeaveException.
- Overrides:
replace in class AbstractWeavepoint
delete
public void delete(fzi.injectj.util.Environment environment)
throws WeaveException
- Description copied from class:
AbstractWeavepoint
- Implementation of the 'delete' command. This method will be called if a
'delete' command was found. The default implementation does nothing but
throwing a WeaveException.
- Overrides:
delete in class AbstractWeavepoint
assignType
public void assignType(Type newValue)
throws UninitializedTypeException
- Description copied from class:
Type
- Assigns the content of newValue to the current type content. Currently this
is only allowed for simple types.
- Specified by:
assignType in class Type
getProperty
public Type getProperty(fzi.injectj.node.AliasProperty property,
fzi.injectj.util.Environment environment)
throws MalformedAliasusageException
- Description copied from class:
Type
- Get the value of the property specified by the parameter 'property'.
- Specified by:
getProperty in class Type
setProperty
public void setProperty(fzi.injectj.node.AliasProperty property,
fzi.injectj.node.AssignExpression rightValue,
fzi.injectj.util.Environment environment)
throws MalformedAliasusageException
- Description copied from class:
Type
- Set the property specified by 'property' to the new value 'rightValue'.
This feature is not used (and implemented) in the current version of Inject/J.
- Specified by:
setProperty in class Type