Interface RuleProvider

    • Method Detail

      • getConfiguration

        org.ocpsoft.rewrite.config.Configuration getConfiguration​(RuleLoaderContext context)
        KEEP - The purpose of this override is to make sure that reflection (interface.getClass().getMethods()) keeps a method with the specific type. Otherwise, type erasure will get rid of it and callers will get ClassCastExceptions in some obscure cases.
        Specified by:
        getConfiguration in interface org.ocpsoft.rewrite.config.ConfigurationProvider<RuleLoaderContext>