本文整理汇总了Java中com.intellij.execution.junit.RefactoringListeners类的典型用法代码示例。如果您正苦于以下问题:Java RefactoringListeners类的具体用法?Java RefactoringListeners怎么用?Java RefactoringListeners使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
RefactoringListeners类属于com.intellij.execution.junit包,在下文中一共展示了RefactoringListeners类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getRefactoringElementListener
import com.intellij.execution.junit.RefactoringListeners; //导入依赖的package包/类
@Override
@Nullable
public RefactoringElementListener getRefactoringElementListener(PsiElement element) {
return RefactoringListeners.getClassOrPackageListener(element, new RefactoringListeners.Accessor<PsiClass>() {
@Override
public void setName(String qualifiedName) {
ACTIVITY_CLASS = qualifiedName;
}
@Nullable
@Override
public PsiClass getPsiElement() {
return getConfigurationModule().findClass(ACTIVITY_CLASS);
}
@Override
public void setPsiElement(PsiClass psiClass) {
ACTIVITY_CLASS = JavaExecutionUtil.getRuntimeQualifiedName(psiClass);
}
});
}
示例2: getRefactoringElementListener
import com.intellij.execution.junit.RefactoringListeners; //导入依赖的package包/类
@Override
public RefactoringElementListener getRefactoringElementListener(final PsiElement element)
{
final RefactoringElementListener listener = RefactoringListeners.
getClassOrPackageListener(element, new RefactoringListeners.SingleClassConfigurationAccessor(this));
return RunConfigurationExtension.wrapRefactoringElementListener(element, this, listener);
}
示例3: getRefactoringElementListener
import com.intellij.execution.junit.RefactoringListeners; //导入依赖的package包/类
@Override
public RefactoringElementListener getRefactoringElementListener(final PsiElement element)
{
if(HTML_USED)
{
return null;
}
return RefactoringListeners.getClassOrPackageListener(element, new RefactoringListeners.SingleClassConfigurationAccessor(this));
}
示例4: getRefactoringElementListener
import com.intellij.execution.junit.RefactoringListeners; //导入依赖的package包/类
@Override
public RefactoringElementListener getRefactoringElementListener(final PsiElement element) {
final RefactoringElementListener listener = RefactoringListeners.
getClassOrPackageListener(element, new RefactoringListeners.SingleClassConfigurationAccessor(this));
return RunConfigurationExtension.wrapRefactoringElementListener(element, this, listener);
}
示例5: getRefactoringElementListener
import com.intellij.execution.junit.RefactoringListeners; //导入依赖的package包/类
@Override
public RefactoringElementListener getRefactoringElementListener(final PsiElement element) {
if (HTML_USED) return null;
return RefactoringListeners.getClassOrPackageListener(element, new RefactoringListeners.SingleClassConfigurationAccessor(this));
}
示例6: getRefactoringElementListener
import com.intellij.execution.junit.RefactoringListeners; //导入依赖的package包/类
public RefactoringElementListener getRefactoringElementListener(final PsiElement element) {
final RefactoringElementListener listener = RefactoringListeners.
getClassOrPackageListener(element, new RefactoringListeners.SingleClassConfigurationAccessor(this));
return RunConfigurationExtension.wrapRefactoringElementListener(element, this, listener);
}
示例7: getRefactoringElementListener
import com.intellij.execution.junit.RefactoringListeners; //导入依赖的package包/类
public RefactoringElementListener getRefactoringElementListener(final PsiElement element) {
if (HTML_USED) return null;
return RefactoringListeners.getClassOrPackageListener(element, new RefactoringListeners.SingleClassConfigurationAccessor(this));
}