PatchworkMC / patchwork-patcher

Patches Forge mod jars, allowing them to be loaded by Fabric
GNU Lesser General Public License v3.0
315 stars 33 forks source link

Patch-time Annotation Scanning #37

Closed qouteall closed 4 years ago

qouteall commented 4 years ago

Store unknown annotations into annotations.json file. It will generate things like that

{
  "entries": [
    {
      "annotationType": "Lvazkii/quark/base/module/LoadModule;",
      "targetType": "TYPE",
      "targetInClass": "vazkii/quark/building/module/LitLampModule",
      "target": "vazkii/quark/building/module/LitLampModule"
    },
    {
      "annotationType": "Lvazkii/quark/base/module/LoadModule;",
      "targetType": "TYPE",
      "targetInClass": "vazkii/quark/experimental/module/AdjustableChatModule",
      "target": "vazkii/quark/experimental/module/AdjustableChatModule"
    },