|
Eclipse JDT Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.core.refactoring.descriptors.ExtractClassDescriptor.Field
public static class ExtractClassDescriptor.Field
Instances of ExtractClassDescriptor.Field describe which fields will be moved to
the extracted class and their new name there.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getFieldName()
The name of the field in the selected type |
java.lang.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(java.lang.String newFieldName)
Sets the name of the field in the extracted class. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getFieldName()
public java.lang.String getNewFieldName()
public void setNewFieldName(java.lang.String newFieldName)
newFieldName - the new field name. Must not be nullpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isCreateField()
true
true if the field will be movedpublic void setCreateField(boolean createField)
true
createField - if true the field will be moved
|
Eclipse JDT Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||