Package editor.util
Class SourceFileCreator
java.lang.Object
editor.util.SourceFileCreator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreate(ITypeFactory factory) voidvoidcreate(Path file, ITypeFactory factory, String typeName) voidvoidvoidprivate intdisplayTypeWarning(Path file) getOrMakeUntitledProgram(Experiment experiment) private Pathstatic SourceFileCreatorinstance()private booleanwriteClassStub(Path file, ClassType classType) private booleanwriteEnhancementStub(Path file) private booleanwriteJavaStub(Path file, ClassType classType) private booleanprivate booleanwriteTempateStub(Path file)
-
Field Details
-
INSTANCE
-
_created
-
-
Constructor Details
-
SourceFileCreator
private SourceFileCreator()
-
-
Method Details
-
instance
-
getCreated
-
clearCreated
public void clearCreated() -
getOrMakeUntitledProgram
-
create
-
create
-
createNamespace
public void createNamespace() -
createTextFile
public void createTextFile() -
getParentContext
-
create
-
create
-
writeStub
-
writeClassStub
-
writeJavaStub
-
writeTempateStub
-
displayTypeWarning
-
writeEnhancementStub
-