Package eu.bandm.tools.metajava
Class GeneratedSourceFile
java.lang.Object
eu.bandm.tools.metajava.GeneratedSourceFile
- All Implemented Interfaces:
GeneratedSourceContext
-
Field Summary
Modifier and TypeFieldDescription(package private) final Map<String,
GeneratedClass> (package private) final Set<MetaImportable>
(package private) final String
(package private) final GeneratedPackage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addImport
(MetaImportable importable) void
void
addImport
(ClassLoader loader, String packageName) final GeneratedPackage
final GeneratedSourceContext
final String
final String
final GeneratedSourceFile
-
Field Details
-
pack
-
imports
-
classes
-
name
-
-
Constructor Details
-
GeneratedSourceFile
GeneratedSourceFile(GeneratedPackage pack, String name)
-
-
Method Details
-
getParentSourceContext
- Specified by:
getParentSourceContext
in interfaceGeneratedSourceContext
-
getSourceFile
- Specified by:
getSourceFile
in interfaceGeneratedSourceContext
-
getPackage
- Specified by:
getPackage
in interfaceGeneratedSourceContext
-
getSimpleName
- Specified by:
getSimpleName
in interfaceGeneratedSourceContext
-
getQualifiedName
- Specified by:
getQualifiedName
in interfaceGeneratedSourceContext
-
addImport
-
addImport
-
addImport
-
getImports
- Specified by:
getImports
in interfaceGeneratedSourceContext
-
addClass
-
addEnum
-
getClass
-
getClasses
-