declare namespace java {
    namespace lang {
        namespace ref {
            // @ts-ignore
             class SoftReference extends java.lang.ref.Reference {
                /**
                 * Constructs a new instance of this class.
                 */
                // @ts-ignore
                constructor(r: java.lang.Object, q: java.lang.ref.ReferenceQueue)
                /**
                 * Constructs a new instance of this class.
                 */
                // @ts-ignore
                constructor(r: java.lang.Object)
                /**
                 * Return the referent of the reference object.
                 */
                // @ts-ignore
                public get(): java.lang.Object;
            }
        }
    }
}
