declare namespace java {
    namespace text {
        // @ts-ignore
         class Annotation extends java.lang.Object {
            /**
             * Constructs an annotation record with the given value, which
             * may be null.
             */
            // @ts-ignore
            constructor(value: java.lang.Object)
            /**
             * Returns the value of the attribute, which may be null.
             */
            // @ts-ignore
            public getValue(): java.lang.Object;
            /**
             * Returns the String representation of this Annotation.
             */
            // @ts-ignore
            public toString(): string;
        }
    }
}
