/QingTingFanBianYi/src/com/alibaba/fastjson/asm/FieldWriter.java

https://gitlab.com/qt-prometheus/qt-prometheus · Java · 46 lines · 36 code · 6 blank · 4 comment · 3 complexity · ab392658bab0893384b5e876b8a742e4 MD5 · raw file

  1. package com.alibaba.fastjson.asm;
  2. final class FieldWriter
  3. implements FieldVisitor
  4. {
  5. private final int access;
  6. private final int desc;
  7. private final int name;
  8. FieldWriter next;
  9. FieldWriter(ClassWriter paramClassWriter, int paramInt, String paramString1, String paramString2)
  10. {
  11. if (paramClassWriter.firstField == null)
  12. paramClassWriter.firstField = this;
  13. while (true)
  14. {
  15. paramClassWriter.lastField = this;
  16. this.access = paramInt;
  17. this.name = paramClassWriter.newUTF8(paramString1);
  18. this.desc = paramClassWriter.newUTF8(paramString2);
  19. return;
  20. paramClassWriter.lastField.next = this;
  21. }
  22. }
  23. int getSize()
  24. {
  25. return 8;
  26. }
  27. void put(ByteVector paramByteVector)
  28. {
  29. int i = (this.access & 0x40000) / 64;
  30. paramByteVector.putShort(this.access & ((0x60000 | i) ^ 0xFFFFFFFF)).putShort(this.name).putShort(this.desc);
  31. paramByteVector.putShort(0);
  32. }
  33. public void visitEnd()
  34. {
  35. }
  36. }
  37. /* Location: C:\Users\User\dex2jar-2.0\dex\qting\classes-dex2jar.jar
  38. * Qualified Name: com.alibaba.fastjson.asm.FieldWriter
  39. * JD-Core Version: 0.6.2
  40. */