GraalVM: added reflection config (#507)

* GraalVM: added reflection config for delete messages

* GraalVM: added reflection config for PreKey exchange

* GraalVM: added reflection config for DuplicateMessageException

* GraalVM: added reflection config for JsonRemoteDelete

* GraalVM: added reflection config for JsonAttachment

* GraalVM: added reflection config for JsonSticker and Contacts
This commit is contained in:
Michael Kebe 2021-02-09 17:39:36 +01:00 committed by GitHub
parent 0797217588
commit 630803c3d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 91 additions and 2 deletions

View file

@ -21,12 +21,18 @@
{"name":"getIdentityKeyPair","parameterTypes":[] },
{"name":"getLocalRegistrationId","parameterTypes":[] },
{"name":"isTrustedIdentity","parameterTypes":["org.whispersystems.libsignal.SignalProtocolAddress","org.whispersystems.libsignal.IdentityKey","org.whispersystems.libsignal.state.IdentityKeyStore$Direction"] },
{"name":"loadPreKey","parameterTypes":["int"] },
{"name":"loadSession","parameterTypes":["org.whispersystems.libsignal.SignalProtocolAddress"] },
{"name":"loadSignedPreKey","parameterTypes":["int"] },
{"name":"removePreKey","parameterTypes":["int"] },
{"name":"saveIdentity","parameterTypes":["org.whispersystems.libsignal.SignalProtocolAddress","org.whispersystems.libsignal.IdentityKey"] },
{"name":"storeSession","parameterTypes":["org.whispersystems.libsignal.SignalProtocolAddress","org.whispersystems.libsignal.state.SessionRecord"] }
]
},
{
"name":"org.whispersystems.libsignal.DuplicateMessageException",
"methods":[{"name":"<init>","parameterTypes":["java.lang.String"] }]
},
{
"name":"org.whispersystems.libsignal.IdentityKey",
"methods":[
@ -64,6 +70,10 @@
{"name":"SENDING"}
]
},
{
"name":"org.whispersystems.libsignal.state.PreKeyRecord",
"methods":[{"name":"nativeHandle","parameterTypes":[] }]
},
{
"name":"org.whispersystems.libsignal.state.PreKeyStore"
},

View file

@ -312,6 +312,12 @@
"allDeclaredConstructors":true,
"allPublicConstructors":true
},
{
"name":"org.asamk.signal.json.JsonAttachment",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
},
{
"name":"org.asamk.signal.json.JsonDataMessage",
"allDeclaredFields":true,
@ -342,6 +348,18 @@
"allDeclaredMethods":true,
"allDeclaredConstructors":true
},
{
"name":"org.asamk.signal.json.JsonRemoteDelete",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
},
{
"name":"org.asamk.signal.json.JsonSticker",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
},
{
"name":"org.asamk.signal.json.JsonTypingMessage",
"allDeclaredFields":true,
@ -1527,6 +1545,66 @@
{"name":"organization_", "allowUnsafeAccess":true}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Contact$Avatar",
"fields":[
{"name":"avatar_", "allowUnsafeAccess":true},
{"name":"bitField0_", "allowUnsafeAccess":true},
{"name":"isProfile_", "allowUnsafeAccess":true}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Contact$Email",
"fields":[
{"name":"bitField0_", "allowUnsafeAccess":true},
{"name":"label_", "allowUnsafeAccess":true},
{"name":"type_", "allowUnsafeAccess":true},
{"name":"value_", "allowUnsafeAccess":true}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Contact$Name",
"fields":[
{"name":"bitField0_", "allowUnsafeAccess":true},
{"name":"displayName_", "allowUnsafeAccess":true},
{"name":"familyName_", "allowUnsafeAccess":true},
{"name":"givenName_", "allowUnsafeAccess":true},
{"name":"middleName_", "allowUnsafeAccess":true},
{"name":"prefix_", "allowUnsafeAccess":true},
{"name":"suffix_", "allowUnsafeAccess":true}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Contact$Phone",
"fields":[
{"name":"bitField0_", "allowUnsafeAccess":true},
{"name":"label_", "allowUnsafeAccess":true},
{"name":"type_", "allowUnsafeAccess":true},
{"name":"value_", "allowUnsafeAccess":true}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Contact$PostalAddress",
"fields":[
{"name":"bitField0_", "allowUnsafeAccess":true},
{"name":"city_", "allowUnsafeAccess":true},
{"name":"country_", "allowUnsafeAccess":true},
{"name":"label_", "allowUnsafeAccess":true},
{"name":"neighborhood_", "allowUnsafeAccess":true},
{"name":"pobox_", "allowUnsafeAccess":true},
{"name":"postcode_", "allowUnsafeAccess":true},
{"name":"region_", "allowUnsafeAccess":true},
{"name":"street_", "allowUnsafeAccess":true},
{"name":"type_", "allowUnsafeAccess":true}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Delete",
"fields":[
{"name":"bitField0_", "allowUnsafeAccess":true},
{"name":"targetSentTimestamp_", "allowUnsafeAccess":true}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$DataMessage$Preview",
"fields":[

View file

@ -1,12 +1,13 @@
{
"resources":{
"includes":[
{"pattern":"com/google/i18n/phonenumbers/data/.*"},
{"pattern":"\\Qcom/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DE\\E"},
{"pattern":"\\Qlibsignal_jni.so\\E"},
{"pattern":"\\Qlibzkgroup.so\\E"},
{"pattern":"\\Qorg/asamk/signal/manager/config/ias.store\\E"},
{"pattern":"\\Qorg/asamk/signal/manager/config/whisper.store\\E"},
{"pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E"}
{"pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E"},
{"pattern":"com/google/i18n/phonenumbers/data/.*"}
]},
"bundles":[{"name":"net.sourceforge.argparse4j.internal.ArgumentParserImpl"}]
}