private static String getSubType ( Class type , String propertyName ) { @ SuppressWarnings ( "unchecked" ) Class normalizedType = SimonTypeFactory . normalizeType ( type ) ; if ( normalizedType == null ) { return null ; } else { return subTypeProperties . getProperty ( normalizedType . getName ( ) + "." + propertyName ) ; } }
Get subtype for given Class and property .