Skip to main content

Color Picker for Options



  • Geneious Team

    Hi Adrian,

    This appears to be a problem with our build/obfuscation process.  We use a tool called proguard that shrinks and obfuscates non-API methods to names like a(), b(), c(), etc.

    It's produced a duplicate name in that class.  However since they're private methods you should still be able to compile.

    I tried it out in IntelliJ and found that although an error was produced in the editor, when I compiled the class, the compiler didn't complain at all.  Can you see if your IDE lets you compile.  If it doesn't can you tell us what IDE you're using.


    P.S. As a side note, we're considering moving ColorOption to the Public API in a future version of Geneious.

  • Adrian

    I'll try to move the code to Idea and see. You can  probably annotate with @KeepMethodNames. The docs talk about subclassing Options and anybody doing that will run into the issue.

    I found an inelegant stop gap solution by using a wrapped LabelOption that is exposed albeit not fully now.

    Certainly the ColorOption will not expose any corporate secrets :)




Please sign in to leave a comment.