public static class InlineTransformer.ConvertToSingleReturnTransformer extends java.lang.Object implements InlineTransformer
InlineTransformer.ConvertToSingleReturnTransformer, InlineTransformer.NormalTransformer
Constructor and Description |
---|
ConvertToSingleReturnTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isFallBackTransformer() |
PsiLocalVariable |
transformBody(PsiMethod methodCopy,
PsiReference callSite,
PsiType returnType)
Transforms method body in the way so it can be inserted into the call site.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSuitableTransformer
public boolean isFallBackTransformer()
isFallBackTransformer
in interface InlineTransformer
public PsiLocalVariable transformBody(PsiMethod methodCopy, PsiReference callSite, PsiType returnType)
InlineTransformer
transformBody
in interface InlineTransformer
methodCopy
- non-physical copy of the method to be inlined (may be changed by this call)callSite
- method callreturnType
- substituted method return type