dk.lec.idea.plugin.generate
Class ReplacePolicy
java.lang.Object
|
+--dk.lec.idea.plugin.generate.ReplacePolicy
- All Implemented Interfaces:
- ConflictResolutionPolicy
- public class ReplacePolicy
- extends java.lang.Object
- implements ConflictResolutionPolicy
|
Method Summary |
void |
apply(com.intellij.psi.PsiClass clazz,
com.intellij.psi.PsiMethod existingMethod,
com.intellij.psi.PsiMethod newMethod)
|
static ReplacePolicy |
getInstance()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getInstance
public static ReplacePolicy getInstance()
apply
public void apply(com.intellij.psi.PsiClass clazz,
com.intellij.psi.PsiMethod existingMethod,
com.intellij.psi.PsiMethod newMethod)
throws com.intellij.util.IncorrectOperationException
- Specified by:
apply in interface ConflictResolutionPolicy
com.intellij.util.IncorrectOperationException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object