public class RemoveSuperClassPrimitive extends AbstractPrimitive
changesClassHierarchy, classContent, clazz, modifiedClasses
Constructor and Description |
---|
RemoveSuperClassPrimitive(ClassContent classContent) |
Modifier and Type | Method and Description |
---|---|
protected void |
executePrimitive()
Adds the method and the invoker to the source code of the class
|
protected void |
undoPrimitive()
Reverts the changes
|
changeVersion, execute, getSuperClass, getTargetClass, isSafe, undo, undoUpdateVersion, updateVersion, updateVersion
public RemoveSuperClassPrimitive(ClassContent classContent)
protected void executePrimitive() throws StructuralIntercessionException
executePrimitive
in class AbstractPrimitive
StructuralIntercessionException
- If there are any errorprotected void undoPrimitive() throws StructuralIntercessionException
undoPrimitive
in class AbstractPrimitive
StructuralIntercessionException
- If there are any error