public class MoveInstanceMembersUtil
extends java.lang.Object
Constructor and Description |
---|
MoveInstanceMembersUtil() |
Modifier and Type | Method and Description |
---|---|
static PsiClass |
getClassReferencedByThis(PsiExpression expression) |
static java.util.Map<PsiClass,java.util.Set<PsiMember>> |
getThisClassesToMembers(PsiMember member) |
static void |
moveInitializerToConstructor(PsiElementFactory factory,
PsiMethod constructor,
PsiField field) |
public static java.util.Map<PsiClass,java.util.Set<PsiMember>> getThisClassesToMembers(PsiMember member)
member
- nonstatic class member to search for class references inpublic static PsiClass getClassReferencedByThis(PsiExpression expression)
public static void moveInitializerToConstructor(PsiElementFactory factory, PsiMethod constructor, PsiField field)