public class GenerateConstructorHandler extends GenerateMembersHandlerBase
myToCopyJavaDoc
Constructor and Description |
---|
GenerateConstructorHandler() |
Modifier and Type | Method and Description |
---|---|
protected ClassMember [] |
chooseOriginalMembers(PsiClass aClass,
Project project) |
protected MemberChooser<ClassMember> |
createMembersChooser(ClassMember[] members,
boolean allowEmptySelection,
boolean copyJavadocCheckbox,
Project project) |
static PsiMethod |
generateConstructorPrototype(PsiClass aClass,
PsiMethod baseConstructor,
boolean copyJavaDoc,
PsiField[] fields) |
protected GenerationInfo[] |
generateMemberPrototypes(PsiClass aClass,
ClassMember originalMember) |
protected java.util.List<? extends GenerationInfo> |
generateMemberPrototypes(PsiClass aClass,
ClassMember[] members) |
protected ClassMember[] |
getAllOriginalMembers(PsiClass aClass) |
protected java.lang.String |
getNothingFoundMessage() |
protected static java.util.List<ClassMember> |
preselect(ClassMember[] members) |
chooseMembers, chooseOriginalMembers, cleanup, getHeaderPanel, getHelpId, getOptionControls, hasMembers, invoke, isAvailableForQuickList, notifyOnSuccess, startInWriteAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
protected ClassMember[] getAllOriginalMembers(PsiClass aClass)
getAllOriginalMembers
in class GenerateMembersHandlerBase
protected ClassMember [] chooseOriginalMembers(PsiClass aClass, Project project)
chooseOriginalMembers
in class GenerateMembersHandlerBase
protected MemberChooser<ClassMember> createMembersChooser(ClassMember[] members, boolean allowEmptySelection, boolean copyJavadocCheckbox, Project project)
createMembersChooser
in class GenerateMembersHandlerBase
protected static java.util.List<ClassMember> preselect(ClassMember[] members)
protected java.util.List<? extends GenerationInfo> generateMemberPrototypes(PsiClass aClass, ClassMember[] members) throws IncorrectOperationException
generateMemberPrototypes
in class GenerateMembersHandlerBase
IncorrectOperationException
protected java.lang.String getNothingFoundMessage()
getNothingFoundMessage
in class GenerateMembersHandlerBase
public static PsiMethod generateConstructorPrototype(PsiClass aClass, PsiMethod baseConstructor, boolean copyJavaDoc, PsiField[] fields) throws IncorrectOperationException
IncorrectOperationException
protected GenerationInfo[] generateMemberPrototypes(PsiClass aClass, ClassMember originalMember)
generateMemberPrototypes
in class GenerateMembersHandlerBase