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 null
public boolean isCreateField()
true
true
if the field will be movedpublic void setCreateField(boolean createField)
true
createField
- if true
the field will be moved
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.