mirror of
https://github.com/pxb1988/dex2jar.git
synced 2024-11-23 13:19:46 +00:00
ignore method annotation value and null annotation value
--HG-- branch : 0.0.9.x
This commit is contained in:
parent
5e539960fa
commit
c3795eb9f8
@ -77,11 +77,16 @@ public class AnnotationNode implements DexAnnotationVisitor {
|
||||
// av1.visit("name", method.getName());
|
||||
// av1.visit("desc", method.getType().getDesc());
|
||||
// av1.visitEnd();
|
||||
av.visit(name, v);
|
||||
// av.visit(name, v);
|
||||
System.err.println("WARN: ignored method annotation value");
|
||||
} else if (v instanceof DexType) {
|
||||
av.visit(name, ((DexType) v).desc);
|
||||
} else {
|
||||
av.visit(name, v);
|
||||
if (v == null) {
|
||||
System.err.println("WARN: ignored null annotation value");
|
||||
} else {
|
||||
av.visit(name, v);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user