@Module public class AspectGeneratorUtil extends java.lang.Object
Constructor and Description |
---|
AspectGeneratorUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
generateHeader(JavaWriter out,
boolean isOverride,
java.lang.String accessModifier,
java.lang.String methodName,
AnnotatedMethod<?> method,
java.util.Set<VarType<?>> typeVariables,
java.lang.Class<?>[] exnList)
Generates the method's signature before the call:
|
protected static void |
generateThrows(JavaWriter out,
java.lang.Class<?>[] exnCls)
Generates the method's "throws" declaration in the
method signature.
|
public static void generateHeader(JavaWriter out, boolean isOverride, java.lang.String accessModifier, java.lang.String methodName, AnnotatedMethod<?> method, java.util.Set<VarType<?>> typeVariables, java.lang.Class<?>[] exnList) throws java.io.IOException
MyValue myCall(int a0, String, a1, ...)
throws MyException, ...
prefix
- TODOjava.io.IOException
protected static void generateThrows(JavaWriter out, java.lang.Class<?>[] exnCls) throws java.io.IOException
out
- generated Java outputexnCls
- the exception classesjava.io.IOException