1 | final Class mappedClass = testQueryable.getMappedClass( EntityMode.POJO );↵ | | 1 | final ↵
|
2 | if ( mappedClass↵ | | 2 | Map.Entry entry = ( Map.Entry ) itr.next();↵
|
| | | 3 | final Object value = entry.getValue();↵
|
3 | !=null && clazz.isAssignableFrom( mappedClass ) ) {↵ | | 4 | if ( value != null && String.class.isInstance( value ) ) {↵
|
4 | final boolean assignableSuperclass;↵ | | 5 | final ↵
|
5 | if ( testQueryable.isInherit↵ | | 6 | String resolved = resolvePlaceHolder( ( String ) value );↵
|
6 | ed() ) {↵ | | 7 | if ( !value.equals( resolved ) ) {↵
|
7 | Class mappedSuperclass = getEntityPersister( testQueryable.getMappedSuperclass() ).getMappedClass( EntityMode.POJO);↵ | | 8 | if ( res↵
|
8 | assignableSuperclass = clazz.isAssignableFrom(mappedSuperclass↵ | | 9 | olved == null ) {↵
|
9 | );↵ | | 10 | itr.remove();↵
|
10 | }↵ | | 11 | }↵
|
11 | else {↵ | | 12 | else {↵
|
12 | assignableSuperclass = false;↵ | | 13 | ↵
|
13 | }↵ | | |
|
14 | if ( !assignableSuperclass ) {↵ | | |
|
15 | results.add( testClassName );↵ | | 14 | entry.setValue( resolved );↵
|
16 | }↵ | | 15 | }↵
|
17 | ↵ | | 16 | }↵
|
18 | } | | 17 | }
|