public class AnnotationGen
extends java.lang.Object
| Constructor and Description |
|---|
AnnotationGen(ClassNode cls,
ClassGen classGen) |
| Modifier and Type | Method and Description |
|---|---|
void |
addForClass(ICodeWriter code) |
void |
addForField(ICodeWriter code,
FieldNode field) |
void |
addForMethod(ICodeWriter code,
MethodNode mth) |
void |
addForParameter(ICodeWriter code,
jadx.api.plugins.input.data.attributes.types.AnnotationMethodParamsAttr paramsAnnotations,
int n) |
void |
addThrows(MethodNode mth,
ICodeWriter code) |
void |
encodeValue(RootNode root,
ICodeWriter code,
jadx.api.plugins.input.data.annotations.EncodedValue encodedValue) |
jadx.api.plugins.input.data.annotations.EncodedValue |
getAnnotationDefaultValue(MethodNode mth) |
public void addForClass(ICodeWriter code)
public void addForMethod(ICodeWriter code, MethodNode mth)
public void addForField(ICodeWriter code, FieldNode field)
public void addForParameter(ICodeWriter code, jadx.api.plugins.input.data.attributes.types.AnnotationMethodParamsAttr paramsAnnotations, int n)
public void addThrows(MethodNode mth, ICodeWriter code)
public jadx.api.plugins.input.data.annotations.EncodedValue getAnnotationDefaultValue(MethodNode mth)
public void encodeValue(RootNode root, ICodeWriter code, jadx.api.plugins.input.data.annotations.EncodedValue encodedValue)