use of org.eclipse.ltk.core.refactoring.participants.RenameProcessor in project che by eclipse.
the class RenameMethodInInterfaceTest method helper1_not_available.
private void helper1_not_available(String methodName, String[] signatures) throws Exception {
ICompilationUnit cu = createCUfromTestFile(getPackageP(), "A");
IType interfaceI = getType(cu, "I");
RenameProcessor processor = new RenameVirtualMethodProcessor(interfaceI.getMethod(methodName, signatures));
RenameRefactoring ref = new RenameRefactoring(processor);
assertTrue(!ref.isApplicable());
}
Aggregations