Java 类com.intellij.util.xml.converters.values.ClassValueConverter 实例源码

项目:intellij-ce-playground    文件:JavaDomApplicationComponent.java   
public JavaDomApplicationComponent(ConverterManager converterManager) {
  converterManager.addConverter(PsiClass.class, new PsiClassConverter());
  converterManager.addConverter(PsiType.class, new CanonicalPsiTypeConverterImpl());
  converterManager.registerConverterImplementation(JvmPsiTypeConverter.class, new JvmPsiTypeConverterImpl());
  converterManager.registerConverterImplementation(CanonicalPsiTypeConverter.class, new CanonicalPsiTypeConverterImpl());

  final ClassValueConverter classValueConverter = ClassValueConverter.getClassValueConverter();
  converterManager.registerConverterImplementation(ClassValueConverter.class, classValueConverter);
  final ClassArrayConverter classArrayConverter = ClassArrayConverter.getClassArrayConverter();
  converterManager.registerConverterImplementation(ClassArrayConverter.class, classArrayConverter);

}
项目:tools-idea    文件:JavaDomApplicationComponent.java   
public JavaDomApplicationComponent(ConverterManager converterManager) {
  converterManager.addConverter(PsiClass.class, new PsiClassConverter());
  converterManager.addConverter(PsiType.class, new CanonicalPsiTypeConverterImpl());
  converterManager.registerConverterImplementation(JvmPsiTypeConverter.class, new JvmPsiTypeConverterImpl());
  converterManager.registerConverterImplementation(CanonicalPsiTypeConverter.class, new CanonicalPsiTypeConverterImpl());

  final ClassValueConverter classValueConverter = ClassValueConverter.getClassValueConverter();
  converterManager.registerConverterImplementation(ClassValueConverter.class, classValueConverter);
  final ClassArrayConverter classArrayConverter = ClassArrayConverter.getClassArrayConverter();
  converterManager.registerConverterImplementation(ClassArrayConverter.class, classArrayConverter);

}
项目:consulo-java    文件:JavaDomApplicationComponent.java   
public JavaDomApplicationComponent(ConverterManager converterManager) {
  converterManager.addConverter(PsiClass.class, new PsiClassConverter());
  converterManager.addConverter(PsiType.class, new CanonicalPsiTypeConverterImpl());
  converterManager.registerConverterImplementation(JvmPsiTypeConverter.class, new JvmPsiTypeConverterImpl());
  converterManager.registerConverterImplementation(CanonicalPsiTypeConverter.class, new CanonicalPsiTypeConverterImpl());

  final ClassValueConverter classValueConverter = ClassValueConverter.getClassValueConverter();
  converterManager.registerConverterImplementation(ClassValueConverter.class, classValueConverter);
  final ClassArrayConverter classArrayConverter = ClassArrayConverter.getClassArrayConverter();
  converterManager.registerConverterImplementation(ClassArrayConverter.class, classArrayConverter);

}