All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itangcent.intellij.extend.guice.MethodHandler.kt Maven / Gradle / Ivy

Go to download

Help for developing plugins for JetBrains products. KotlinAnAction:provide ActionContext(support inject guice) for actionPerformed

The newest version!
package com.itangcent.intellij.extend.guice

import java.lang.reflect.Method


/**
 * Allows a method with a given annotation `A` on an injectee of type `I` to be
 * processed in some way on each injectee using a custom strategy.
 *
 * @version $Revision: 1.1 $
 */
interface MethodHandler {

    /**
     * Process the given method which is annotated with the annotation
     * on the injectee after the injectee has been injected
     */
//    @Throws(InvocationTargetException::class, IllegalAccessException::class)
    fun afterInjection(injectee: I, annotation: A, method: Method)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy