public class GenerateFieldOrPropertyHandler extends GenerateMembersHandlerBase
myToCopyJavaDoc
Constructor and Description |
---|
GenerateFieldOrPropertyHandler(java.lang.String attributeName,
PsiType type,
PropertyMemberType memberType,
PsiAnnotation... annotations) |
Modifier and Type | Method and Description |
---|---|
protected ClassMember[] |
chooseOriginalMembers(PsiClass aClass,
Project project) |
PsiMember |
findExistingMember(PsiClass aClass,
PropertyMemberType memberType) |
protected GenerationInfo[] |
generateMemberPrototypes(PsiClass aClass,
ClassMember originalMember) |
java.util.List<? extends GenerationInfo> |
generateMemberPrototypes(PsiClass aClass,
ClassMember[] members) |
protected ClassMember[] |
getAllOriginalMembers(PsiClass aClass) |
chooseMembers, chooseOriginalMembers, cleanup, createMembersChooser, getHeaderPanel, getHelpId, getNothingFoundMessage, getOptionControls, hasMembers, invoke, isAvailableForQuickList, notifyOnSuccess, startInWriteAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
public GenerateFieldOrPropertyHandler(java.lang.String attributeName, PsiType type, PropertyMemberType memberType, PsiAnnotation... annotations)
protected ClassMember[] chooseOriginalMembers(PsiClass aClass, Project project)
chooseOriginalMembers
in class GenerateMembersHandlerBase
public java.util.List<? extends GenerationInfo> generateMemberPrototypes(PsiClass aClass, ClassMember[] members) throws IncorrectOperationException
generateMemberPrototypes
in class GenerateMembersHandlerBase
IncorrectOperationException
public PsiMember findExistingMember(PsiClass aClass, PropertyMemberType memberType)
protected ClassMember[] getAllOriginalMembers(PsiClass aClass)
getAllOriginalMembers
in class GenerateMembersHandlerBase
protected GenerationInfo[] generateMemberPrototypes(PsiClass aClass, ClassMember originalMember) throws IncorrectOperationException
generateMemberPrototypes
in class GenerateMembersHandlerBase
IncorrectOperationException