|
Eclipse JDT Release 3.8 |
|||||||||
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(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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getFieldName()
public String getNewFieldName()
public void setNewFieldName(String newFieldName)
newFieldName
- the new field name. Must not be null
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public 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.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.