declare namespace java {
    namespace lang {
        namespace reflect {
            // @ts-ignore
            interface AnnotatedType {
                /**
                 * Returns the underlying type that this annotated type represents.
                 */
                // @ts-ignore
                 getType(): java.lang.reflect.Type;
            }
        }
    }
}
