HHH-12786 Properly indent the Bytebuddy DSL
It helps to understand what exactly these calls do.
This commit is contained in:
parent
6e85dd82f3
commit
3759f776ab
|
@ -348,7 +348,8 @@ public class EnhancerImpl implements Enhancer {
|
|||
String fieldName,
|
||||
String getterName,
|
||||
String setterName) {
|
||||
return builder.defineField( fieldName, type, Visibility.PRIVATE, FieldPersistence.TRANSIENT )
|
||||
return builder
|
||||
.defineField( fieldName, type, Visibility.PRIVATE, FieldPersistence.TRANSIENT )
|
||||
.annotateField( AnnotationDescription.Builder.ofType( Transient.class ).build() )
|
||||
.defineMethod( getterName, type, Visibility.PUBLIC )
|
||||
.intercept( FieldAccessor.ofField( fieldName ) )
|
||||
|
|
Loading…
Reference in New Issue