declare namespace java {
    namespace rmi {
        namespace server {
            // @ts-ignore
             class Operation extends java.lang.Object {
                /**
                 * Creates a new Operation object.
                 */
                // @ts-ignore
                constructor(op: string)
                /**
                 * Returns the name of the method.
                 */
                // @ts-ignore
                public getOperation(): string;
                /**
                 * Returns the string representation of the operation.
                 */
                // @ts-ignore
                public toString(): string;
            }
        }
    }
}
