Interface IMethodBuilder

All Known Implementing Classes:
AnAnnotatedMethodBuilder, AProxyMethodBuilder

public interface IMethodBuilder
  • Method Details

    • buildMethod

      void buildMethod(javassist.CtClass accessHelper, Class<?> targetClass, Method m) throws javassist.NotFoundException, ReflectiveOperationException, javassist.CannotCompileException
      Throws:
      javassist.NotFoundException
      ReflectiveOperationException
      javassist.CannotCompileException
    • isAccepted

      boolean isAccepted(Method m)
    • requirementDescription

      String requirementDescription()
      Short requirement description for method to be precessed with the builder. For example "annotated with @NotNull" or "Declared in interface Runnable". The method is used for generating exception text if method can't be processed.
      Returns:
      requirement to process the method with the builder.