| Methods in ma.glasnost.orika.impl.generator with parameters of type SourceCodeContext |
Class<?> |
JavassistCompilerStrategy.compileClass(SourceCodeContext sourceCode)
|
Class<?> |
EclipseJdtCompilerStrategy.compileClass(SourceCodeContext sourceCode)
Compile and return the (generated) class; this will also cause the
generated class to be detached from the class-pool, and any (optional)
source and/or class files to be written. |
abstract Class<?> |
CompilerStrategy.compileClass(SourceCodeContext sourceCode)
Compile and return the (generated) class; this will also cause the
generated class to be detached from the class-pool, and any (optional)
source and/or class files to be written. |
String |
Specification.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
Generates code for a boolean equality test between the two variable types,
where are potentially unrelated. |
String |
Specification.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
Generates code to map the provided field map |
String |
AggregateSpecification.generateMappingCode(List<FieldMap> fieldMappings,
SourceCodeContext code)
|
protected void |
JavassistCompilerStrategy.writeClassFile(SourceCodeContext sourceCode,
javassist.CtClass byteCodeClass)
Produces the requested class files for debugging purposes. |
protected void |
JavassistCompilerStrategy.writeSourceFile(SourceCodeContext sourceCode)
Produces the requested source file for debugging purposes. |
| Methods in ma.glasnost.orika.impl.generator.specification with parameters of type SourceCodeContext |
String |
MultiOccurrenceToMultiOccurrence.fromMultiOccurrenceToMultiOccurrence(List<FieldMap> fieldMappings,
SourceCodeContext code)
Generates the code to support a (potentially parallel) mapping from one
or more multi-occurrence fields in the source type to one or more
multi-occurrence fields in the destination type. |
String |
StringToStringConvertible.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
StringToEnum.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
PrimitiveAndObject.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ObjectToMultiOccurrenceElement.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MultiOccurrenceElementToObject.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MapToMap.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MapToCollection.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MapToArray.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
EnumToEnum.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
CopyByReference.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
Convert.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ArrayOrCollectionToMap.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ArrayOrCollectionToCollection.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ArrayOrCollectionToArray.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
AnyTypeToString.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
AbstractSpecification.generateEqualityTestCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ObjectToObject.generateEqualityTestCode(VariableRef source,
VariableRef destination,
Property inverseProperty,
SourceCodeContext code)
|
String |
UnmappableEnum.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
StringToStringConvertible.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
StringToEnum.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
PrimitiveAndObject.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ObjectToObject.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ObjectToMultiOccurrenceElement.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MultiOccurrenceElementToObject.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MapToMap.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MapToCollection.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MapToArray.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
EnumToEnum.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
CopyByReference.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
Convert.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ArrayOrCollectionToMap.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ArrayOrCollectionToCollection.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
ArrayOrCollectionToArray.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
AnyTypeToString.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
abstract String |
AbstractSpecification.generateMappingCode(FieldMap fieldMap,
VariableRef source,
VariableRef destination,
SourceCodeContext code)
|
String |
MultiOccurrenceToMultiOccurrence.generateMappingCode(List<FieldMap> fieldMappings,
SourceCodeContext code)
|
String |
MultiOccurrenceToMultiOccurrence.generateMultiOccurrenceMapping(Node.NodeList sourceNodes,
Node.NodeList destNodes,
Set<FieldMap> subFields,
SourceCodeContext code)
Generates the code to support a (potentially parallel) mapping from one
or more multi-occurrence fields in the source type to one or more
multi-occurrence fields in the destination type. |
static boolean |
AbstractSpecification.shouldMapNulls(FieldMap fieldMap,
SourceCodeContext context)
Tests whether this fieldMap should map nulls; |