|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.refactor.type.CreateClass
public class CreateClass
This object creates a class from nothing. It is responsible for building up the parse tree from scratch to create a new class.
| Constructor Summary | |
|---|---|
CreateClass(TypeSummary existing,
java.lang.String className,
boolean parent)
Constructor for the CreateClass object |
|
CreateClass(TypeSummary existing,
java.lang.String className,
boolean parent,
java.lang.String packageName)
Constructor for the CreateClass object |
|
| Method Summary | |
|---|---|
java.io.File |
run()
Creates the the designated class |
void |
setAbstract(boolean way)
Sets the Abstract attribute of the CreateClass object |
void |
setFinal(boolean way)
Sets the Final attribute of the CreateClass object |
void |
setPackageName(java.lang.String value)
Sets the PackageName attribute of the CreateClass object |
void |
setScope(java.lang.String value)
Sets the Scope attribute of the CreateClass object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateClass(TypeSummary existing,
java.lang.String className,
boolean parent,
java.lang.String packageName)
existing - The existing class we are building uponclassName - The name of the new classparent - Are we building a parent or child from the existing
typepackageName - the name of the package that the class is in
public CreateClass(TypeSummary existing,
java.lang.String className,
boolean parent)
existing - The existing class we are building uponclassName - The name of the new classparent - Are we building a parent or child from the existing type| Method Detail |
|---|
public void setPackageName(java.lang.String value)
value - The new PackageName valuepublic void setScope(java.lang.String value)
value - The new Scope valuepublic void setAbstract(boolean way)
way - The new Abstract valuepublic void setFinal(boolean way)
way - The new Final value
public java.io.File run()
throws RefactoringException
RefactoringException - Description of Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||