Code example for MappedSuperclass

Methods: buildMappedSuperclassType

0
		return entityType;
	} 
	 
	private static MappedSuperclassTypeImpl<?> locateOrBuildMappedsuperclassType( 
			MappedSuperclass mappedSuperclass, MetadataContext context) {
		MappedSuperclassTypeImpl<?> mappedSuperclassType = context.locateMappedSuperclassType( mappedSuperclass );
		if ( mappedSuperclassType == null ) {
			mappedSuperclassType = buildMappedSuperclassType(mappedSuperclass, context);
		} 
		return mappedSuperclassType;
	} 
 
	//TODO remove / reduce @SW scope 
	@SuppressWarnings( "unchecked" ) 
	private static MappedSuperclassTypeImpl<?> buildMappedSuperclassType(MappedSuperclass mappedSuperclass,
																		 MetadataContext context) {
		final MappedSuperclass superMappedSuperclass = mappedSuperclass.getSuperMappedSuperclass();
		AbstractIdentifiableType<?> superType = superMappedSuperclass == null
				? null 
				: locateOrBuildMappedsuperclassType( superMappedSuperclass, context );
Experience pair programming with AI  Get Codota for Java