declare namespace java {
    namespace lang {
        namespace annotation {
            // @ts-ignore
             class RetentionPolicy extends java.lang.Enum {
                // @ts-ignore
                public static SOURCE: java.lang.annotation.RetentionPolicy;
                // @ts-ignore
                public static CLASS: java.lang.annotation.RetentionPolicy;
                // @ts-ignore
                public static RUNTIME: java.lang.annotation.RetentionPolicy;
                // @ts-ignore
                public static values(): java.lang.annotation.RetentionPolicy[];
                // @ts-ignore
                public static valueOf(name: string): java.lang.annotation.RetentionPolicy;
            }
        }
    }
}
