Package org.xblackcat.sjpu.builder
Interface IMethodBuilder
- All Known Implementing Classes:
AnAnnotatedMethodBuilder,AProxyMethodBuilder
public interface IMethodBuilder
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildMethod(javassist.CtClass accessHelper, Class<?> targetClass, Method m) booleanisAccepted(Method m) Short requirement description for method to be precessed with the builder.
-
Method Details
-
buildMethod
void buildMethod(javassist.CtClass accessHelper, Class<?> targetClass, Method m) throws javassist.NotFoundException, ReflectiveOperationException, javassist.CannotCompileException - Throws:
javassist.NotFoundExceptionReflectiveOperationExceptionjavassist.CannotCompileException
-
isAccepted
-
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.
-