Java 类com.intellij.lang.java.JavaFindUsagesProvider 实例源码

项目:intellij-ce-playground    文件:MoveClassesOrPackagesUtil.java   
public static String getPackageName(PackageWrapper aPackage) {
  if (aPackage == null) {
    return null;
  }
  String name = aPackage.getQualifiedName();
  if (name.length() > 0) {
    return name;
  }
  else {
    return JavaFindUsagesProvider.DEFAULT_PACKAGE_NAME;
  }
}
项目:tools-idea    文件:MoveClassesOrPackagesUtil.java   
public static String getPackageName(PackageWrapper aPackage) {
  if (aPackage == null) {
    return null;
  }
  String name = aPackage.getQualifiedName();
  if (name.length() > 0) {
    return name;
  }
  else {
    return JavaFindUsagesProvider.DEFAULT_PACKAGE_NAME;
  }
}
项目:consulo-java    文件:MoveClassesOrPackagesUtil.java   
public static String getPackageName(PackageWrapper aPackage) {
  if (aPackage == null) {
    return null;
  }
  String name = aPackage.getQualifiedName();
  if (name.length() > 0) {
    return name;
  }
  else {
    return JavaFindUsagesProvider.DEFAULT_PACKAGE_NAME;
  }
}
项目:intellij-ce-playground    文件:JavaFindUsagesHandlerFactory.java   
@Override
public boolean canFindUsages(@NotNull final PsiElement element) {
  return new JavaFindUsagesProvider().canFindUsagesFor(element);
}
项目:tools-idea    文件:JavaFindUsagesHandlerFactory.java   
@Override
public boolean canFindUsages(@NotNull final PsiElement element) {
  return new JavaFindUsagesProvider().canFindUsagesFor(element);
}
项目:consulo-java    文件:JavaFindUsagesHandlerFactory.java   
@Override
public boolean canFindUsages(@NotNull final PsiElement element) {
  return new JavaFindUsagesProvider().canFindUsagesFor(element);
}