org.eclipse.jdt.core.refactoring.descriptors
public static class ExtractClassDescriptor.Field extends Object
ExtractClassDescriptor.Field describe which fields will be moved to
the extracted class and their new name there.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFieldName()
The name of the field in the selected type
|
String |
getNewFieldName()
The name of the field in the extracted class.
|
int |
hashCode() |
boolean |
isCreateField()
Returns whether the field will be moved to extracted class.
|
void |
setCreateField(boolean createField)
Sets whether the field will be moved to extracted class.
|
void |
setNewFieldName(String newFieldName)
Sets the name of the field in the extracted class.
|
String |
toString() |
public String getFieldName()
public String getNewFieldName()
public void setNewFieldName(String newFieldName)
newFieldName - the new field name. Must not be nullpublic boolean isCreateField()
truetrue if the field will be movedpublic void setCreateField(boolean createField)
truecreateField - if true the field will be movedGuidelines for using Eclipse APIs. Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.