Class RelationClassWriter
java.lang.Object
com.blazebit.persistence.view.processor.ClassWriter
com.blazebit.persistence.view.processor.RelationClassWriter
- All Implemented Interfaces:
Runnable
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRelationClassWriter(FileObject fileObject, MetaEntityView entity, Context context, Collection<Runnable> mainThreadQueue, LongAdder elapsedTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateBody(StringBuilder sb, MetaEntityView entity, Context context) static voidwriteFile(MetaEntityView entity, Context context, ExecutorService executorService, Collection<Runnable> mainThreadQueue, LongAdder relationTime) Methods inherited from class com.blazebit.persistence.view.processor.ClassWriter
createFile, getPackageName, run, writeGeneratedAnnotation, writeGeneratedAnnotation, writeSuppressWarnings
-
Field Details
-
RELATION_CLASS_NAME_SUFFIX
- See Also:
-
-
Constructor Details
-
RelationClassWriter
public RelationClassWriter(FileObject fileObject, MetaEntityView entity, Context context, Collection<Runnable> mainThreadQueue, LongAdder elapsedTime)
-
-
Method Details
-
writeFile
public static void writeFile(MetaEntityView entity, Context context, ExecutorService executorService, Collection<Runnable> mainThreadQueue, LongAdder relationTime) -
generateBody
- Specified by:
generateBodyin classClassWriter
-