MultiHostRegistrar
instead. to be removed in IDEA 2018.1@Deprecated public abstract class MultiHostRegistrarImpl extends java.lang.Object implements MultiHostRegistrar
Constructor and Description |
---|
MultiHostRegistrarImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<Place,PsiFile>> |
getResult()
Deprecated.
to be removed in IDEA 2018.1
|
MultiHostRegistrar |
startInjecting(Language language)
Deprecated.
Use
MultiHostRegistrar.startInjecting(Language) instead. to be removed in IDEA 2018.1 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPlace, doneInjecting, startInjecting
@Deprecated public java.util.List<Pair<Place,PsiFile>> getResult()
@Deprecated public MultiHostRegistrar startInjecting(Language language)
MultiHostRegistrar.startInjecting(Language)
instead. to be removed in IDEA 2018.1MultiHostRegistrar
language
in this place.
After you call MultiHostRegistrar.startInjecting(Language)
you will have to call
MultiHostRegistrar.addPlace(String, String, PsiLanguageInjectionHost, TextRange)
one or several times
and then call MultiHostRegistrar.doneInjecting()
.MultiHostRegistrar.addPlace(String, String, PsiLanguageInjectionHost, TextRange)
calls)
will be treated by IDE as a code in the language
.String x = "<start>"+"</start>";
startInjecting(XMLLanguage.getInstance());
addPlace(null, null, literal1, insideRange1);
addPlace(null, null, literal2, insideRange2);
doneInjecting();
startInjecting
in interface MultiHostRegistrar