Package pl.metaprogramming.codegen.java
Class CodeIndex
-
- All Implemented Interfaces:
public final class CodeIndex
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCodeIndex.ClassAlreadyRegistered
-
Constructor Summary
Constructors Constructor Description CodeIndex()
-
Method Summary
Modifier and Type Method Description final UnitmakeCodeModels()final List<ClassBuilder<?>>classesToGenerate(Generator<?> generator)final Unitput(ClassBuilder<?> builder)final Unitput(ClassBuilder<?> builder, Object asTypeOfCode)final Unitput(ClassCd classCd, Object model, TypeOfCode<?> asTypeOfCode)final ClassCdgetClass(Object typeOfCode, Object model, Boolean forceDeclaration)final ClassCdmarkAsUsed(Object typeOfCode, Object model)final UnitputMappers(MethodCm methods)final UnitputMapper(IMethodCmBuilder mapperBuilder)final UnitputMapper(String canonicalMethodPath, ClassCd resultType, ClassCd paramsTypes)final MethodCmgetMapper(ClassCd resultType, List<ClassCd> params, Boolean failIfNotFound)final UnitprintIndex()-
-
Method Detail
-
makeCodeModels
final Unit makeCodeModels()
-
classesToGenerate
final List<ClassBuilder<?>> classesToGenerate(Generator<?> generator)
-
put
final Unit put(ClassBuilder<?> builder)
-
put
final Unit put(ClassBuilder<?> builder, Object asTypeOfCode)
-
put
final Unit put(ClassCd classCd, Object model, TypeOfCode<?> asTypeOfCode)
-
markAsUsed
final ClassCd markAsUsed(Object typeOfCode, Object model)
-
putMappers
final Unit putMappers(MethodCm methods)
-
putMapper
final Unit putMapper(IMethodCmBuilder mapperBuilder)
-
getMapper
final MethodCm getMapper(ClassCd resultType, List<ClassCd> params, Boolean failIfNotFound)
-
printIndex
final Unit printIndex()
-
-
-
-