The parameter may not be primitive. @see #_ref(Class) for the version that handles more cases.
20482049205020512052205320542055205620572058
} } if ( !entity.getAttributeOverride().isEmpty() ) { final JAnnotationUse aolst = c.implClass.annotate( cm.ref( javax.persistence.AttributeOverrides.class ) ); final JAnnotationArrayMember value = aolst.paramArray( "value" ); for ( AttributeOverride o : entity.getAttributeOverride() ) { final JAnnotationUse ao = value.annotate( cm.ref( javax.persistence.AttributeOverride.class ) ); if ( o.getColumn() != null )
20522053205420552056205720582059206020612062
{ final JAnnotationUse aolst = c.implClass.annotate( cm.ref( javax.persistence.AttributeOverrides.class ) ); final JAnnotationArrayMember value = aolst.paramArray( "value" ); for ( AttributeOverride o : entity.getAttributeOverride() ) { final JAnnotationUse ao = value.annotate( cm.ref( javax.persistence.AttributeOverride.class ) ); if ( o.getColumn() != null ) { final JAnnotationUse ac = ao.param( "column", cm.ref( javax.persistence.Column.class ) ); this.annotate( ac, o.getColumn() ); }
20552056205720582059206020612062206320642065
for ( AttributeOverride o : entity.getAttributeOverride() ) { final JAnnotationUse ao = value.annotate( cm.ref( javax.persistence.AttributeOverride.class ) ); if ( o.getColumn() != null ) { final JAnnotationUse ac = ao.param( "column", cm.ref( javax.persistence.Column.class ) ); this.annotate( ac, o.getColumn() ); } if ( o.getName() != null ) { ao.param( "name", o.getName() );
20722073207420752076207720782079208020812082
this.annotate( cm, c, entity.getAttributes() ); } if ( entity.getDiscriminatorColumn() != null ) { final JAnnotationUse dc = c.implClass.annotate( cm.ref( javax.persistence.DiscriminatorColumn.class ) ); if ( entity.getDiscriminatorColumn().getColumnDefinition() != null ) { dc.param( "columnDefinition", entity.getDiscriminatorColumn().getColumnDefinition() ); } if ( entity.getDiscriminatorColumn().getDiscriminatorType() != null )
20952096209720982099210021012102210321042105
} } if ( entity.getDiscriminatorValue() != null ) { final JAnnotationUse dv = c.implClass.annotate( cm.ref( javax.persistence.DiscriminatorValue.class ) ); dv.param( "value", entity.getDiscriminatorValue() ); } if ( entity.getEntityListeners() != null ) {
21062107210821092110211121122113211421152116
this.annotate( c, entity.getEntityListeners() ); } if ( entity.getExcludeDefaultListeners() != null ) { c.implClass.annotate( cm.ref( javax.persistence.ExcludeDefaultListeners.class ) ); } if ( entity.getExcludeSuperclassListeners() != null ) { c.implClass.annotate( cm.ref( javax.persistence.ExcludeSuperclassListeners.class ) ); }
21102111211221132114211521162117211821192120
{ c.implClass.annotate( cm.ref( javax.persistence.ExcludeDefaultListeners.class ) ); } if ( entity.getExcludeSuperclassListeners() != null ) { c.implClass.annotate( cm.ref( javax.persistence.ExcludeSuperclassListeners.class ) ); } if ( entity.getIdClass() != null ) { this.annotate( c, entity.getIdClass() ); }
21182119212021212122212321242125212621272128
{ this.annotate( c, entity.getIdClass() ); } if ( entity.getInheritance() != null ) { final JAnnotationUse ih = c.implClass.annotate( cm.ref( javax.persistence.Inheritance.class ) ); ih.param( "strategy", javax.persistence.InheritanceType.valueOf( entity.getInheritance().getStrategy().value() ) ); } if ( !entity.getNamedNativeQuery().isEmpty() )
21252126212721282129213021312132213321342135
javax.persistence.InheritanceType.valueOf( entity.getInheritance().getStrategy().value() ) ); } if ( !entity.getNamedNativeQuery().isEmpty() ) { final JAnnotationUse nnqlst = c.implClass.annotate( cm.ref( javax.persistence.NamedNativeQueries.class ) ); final JAnnotationArrayMember value = nnqlst.paramArray( "value" ); for ( NamedNativeQuery q : entity.getNamedNativeQuery() ) { final JAnnotationUse qa = value.annotate( cm.ref( javax.persistence.NamedNativeQuery.class ) ); qa.param( "name", q.getName() );
21292130213121322133213421352136213721382139
{ final JAnnotationUse nnqlst = c.implClass.annotate( cm.ref( javax.persistence.NamedNativeQueries.class ) ); final JAnnotationArrayMember value = nnqlst.paramArray( "value" ); for ( NamedNativeQuery q : entity.getNamedNativeQuery() ) { final JAnnotationUse qa = value.annotate( cm.ref( javax.persistence.NamedNativeQuery.class ) ); qa.param( "name", q.getName() ); qa.param( "query", q.getQuery() ); if ( q.getResultClass() != null ) {