Github user kl0u commented on a diff in the pull request: https://github.com/apache/flink/pull/3484#discussion_r105397096 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/typeinfo/TypeHint.java --- @@ -46,7 +46,15 @@ public TypeHint() { this.typeInfo = TypeExtractor.createTypeInfo(this, TypeHint.class, getClass(), 0); } - + + /** + * Creates a hint for the generic type in the class signature. + */ + public TypeHint(Class<?> baseClass, Object instance, int genericParameterPos) { + this.typeInfo = TypeExtractor.createTypeInfo(instance, baseClass, instance.getClass(), genericParameterPos); + } + + --- End diff -- Remove one of the 2 empty lines.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---