From e8559f192347fe6a8eed6b4a2ed5d06951541fdd Mon Sep 17 00:00:00 2001 From: sbaier Date: Wed, 18 Mar 2020 17:07:44 +0100 Subject: [PATCH] make native image build consistent, no manual intervention necessary anymore --- build.gradle | 4 +- .../cli/commands/shell/ShellCommand.java | 5 +- tools/createReflectionJson.sh | 11 +- tools/reflection.json | 1081 ++++++++++------- tools/reflection_additional.json | 9 + tools/reflection_pico.json | 546 +++++++++ 6 files changed, 1235 insertions(+), 421 deletions(-) create mode 100644 tools/reflection_additional.json create mode 100644 tools/reflection_pico.json diff --git a/build.gradle b/build.gradle index f913848ae..72ed808c9 100644 --- a/build.gradle +++ b/build.gradle @@ -127,7 +127,7 @@ ext { bouncycastleVersion='1.62' nettyVersion = '4.1.37.Final' gsonVersion = '2.8.6' - substrateVmVersion = '19.2.0' + substrateVmVersion = '19.2.1' junitJupiterVersion = '5.5.1' } @@ -282,7 +282,7 @@ test { ***************/ graal { - graalVersion '19.2.0.1' + graalVersion '19.2.1' outputName "${rootProject.name}" mainClass application.mainClassName option '-H:+PrintClassInitialization' diff --git a/src/main/java/com/hivemq/cli/commands/shell/ShellCommand.java b/src/main/java/com/hivemq/cli/commands/shell/ShellCommand.java index e1397b1ff..ddf5a0068 100644 --- a/src/main/java/com/hivemq/cli/commands/shell/ShellCommand.java +++ b/src/main/java/com/hivemq/cli/commands/shell/ShellCommand.java @@ -70,12 +70,15 @@ public class ShellCommand implements Runnable { private static boolean exitShell = false; - private final DefaultCLIProperties defaultCLIProperties; + private DefaultCLIProperties defaultCLIProperties; @SuppressWarnings("NullableProblems") @CommandLine.Spec private @NotNull CommandLine.Model.CommandSpec spec; + public ShellCommand() { + } + @Inject ShellCommand(final @NotNull DefaultCLIProperties defaultCLIProperties) { this.defaultCLIProperties = defaultCLIProperties; diff --git a/tools/createReflectionJson.sh b/tools/createReflectionJson.sh index 59e70a616..447ccb1a5 100755 --- a/tools/createReflectionJson.sh +++ b/tools/createReflectionJson.sh @@ -18,6 +18,13 @@ com.hivemq.cli.commands.shell.ShellExitCommand \ com.hivemq.cli.commands.cli.PublishCommand \ com.hivemq.cli.commands.cli.SubscribeCommand \ com.hivemq.cli.commands.MqttCLICommand \ -> reflection.json +> reflection_pico.json -## the methods from the abstract classes in the PublishCommand and SubscribeCommand must be removed! \ No newline at end of file + +# Add additional mappings (currently, only HelpCommand for shell mode) +# jq filter from https://stackoverflow.com/questions/42011086/merge-arrays-of-json requires jq >= 1.5 +# the methods from the abstract classes in the PublishCommand and SubscribeCommand must be removed, +# the second query in the pipeline does just that (remove methods array for classes that contain the activateDebugMethod method mapping, which is invalid) +jq -s '.[0]=([.[]]|flatten)|.[0]' reflection_pico.json reflection_additional.json \ + | jq 'del(.[].methods | select(. != null) | select(.[].name == "activateDebugMode"))' \ + > reflection.json \ No newline at end of file diff --git a/tools/reflection.json b/tools/reflection.json index ffa0e506d..54a0546af 100644 --- a/tools/reflection.json +++ b/tools/reflection.json @@ -1,530 +1,779 @@ [ { - "name" : "[Lcom.hivemq.client.mqtt.datatypes.MqttQos;", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true - }, - { - "name" : "[Lcom.hivemq.client.mqtt.mqtt5.datatypes.Mqtt5UserProperty;", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true - }, - { - "name" : "com.hivemq.cli.MqttCLIMain$CLIVersionProvider", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true - }, - { - "name" : "com.hivemq.cli.commands.AbstractCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "methods" : [ - ] - }, - { - "name" : "com.hivemq.cli.commands.AbstractCommonFlags", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "certificates" }, - { "name" : "certificatesFromDir" }, - { "name" : "cipherSuites" }, - { "name" : "cleanStart" }, - { "name" : "clientCertificate" }, - { "name" : "clientPrivateKey" }, - { "name" : "keepAlive" }, - { "name" : "password" }, - { "name" : "supportedTLSVersions" }, - { "name" : "useSsl" }, - { "name" : "useWebSocket" }, - { "name" : "user" }, - { "name" : "webSocketPath" } + "name": "[Lcom.hivemq.client.mqtt.datatypes.MqttQos;", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true + }, + { + "name": "[Lcom.hivemq.client.mqtt.mqtt5.datatypes.Mqtt5UserProperty;", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true + }, + { + "name": "com.hivemq.cli.MqttCLIMain$CLIVersionProvider", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true + }, + { + "name": "com.hivemq.cli.commands.AbstractCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true + }, + { + "name": "com.hivemq.cli.commands.AbstractCommonFlags", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "certificates" + }, + { + "name": "certificatesFromDir" + }, + { + "name": "cipherSuites" + }, + { + "name": "cleanStart" + }, + { + "name": "clientCertificate" + }, + { + "name": "clientPrivateKey" + }, + { + "name": "keepAlive" + }, + { + "name": "password" + }, + { + "name": "supportedTLSVersions" + }, + { + "name": "useSsl" + }, + { + "name": "useWebSocket" + }, + { + "name": "user" + }, + { + "name": "webSocketPath" + } ], - "methods" : [ + "methods": [ + { + "name": "setPasswordFromEnv", + "parameterTypes": [ + "java.nio.ByteBuffer" + ] + }, + { + "name": "setPasswordFromFile", + "parameterTypes": [ + "java.nio.ByteBuffer" + ] + } ] }, { - "name" : "com.hivemq.cli.commands.AbstractConnectRestrictionFlags", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "maximumPacketSize" }, - { "name" : "receiveMaximum" }, - { "name" : "requestProblemInformation" }, - { "name" : "requestResponseInformation" }, - { "name" : "sendMaximum" }, - { "name" : "sendMaximumPacketSize" }, - { "name" : "sendTopicAliasMaximum" }, - { "name" : "topicAliasMaximum" } + "name": "com.hivemq.cli.commands.AbstractConnectRestrictionFlags", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "maximumPacketSize" + }, + { + "name": "receiveMaximum" + }, + { + "name": "requestProblemInformation" + }, + { + "name": "requestResponseInformation" + }, + { + "name": "sendMaximum" + }, + { + "name": "sendMaximumPacketSize" + }, + { + "name": "sendTopicAliasMaximum" + }, + { + "name": "topicAliasMaximum" + } ] }, { - "name" : "com.hivemq.cli.commands.AbstractWillFlags", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "willContentType" }, - { "name" : "willCorrelationData" }, - { "name" : "willDelayInterval" }, - { "name" : "willMessage" }, - { "name" : "willMessageExpiryInterval" }, - { "name" : "willPayloadFormatIndicator" }, - { "name" : "willQos" }, - { "name" : "willResponseTopic" }, - { "name" : "willRetain" }, - { "name" : "willTopic" }, - { "name" : "willUserProperties" } + "name": "com.hivemq.cli.commands.AbstractWillFlags", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "willContentType" + }, + { + "name": "willCorrelationData" + }, + { + "name": "willDelayInterval" + }, + { + "name": "willMessage" + }, + { + "name": "willMessageExpiryInterval" + }, + { + "name": "willPayloadFormatIndicator" + }, + { + "name": "willQos" + }, + { + "name": "willResponseTopic" + }, + { + "name": "willRetain" + }, + { + "name": "willTopic" + }, + { + "name": "willUserProperties" + } ] }, { - "name" : "com.hivemq.cli.commands.MqttCLICommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true - }, - { - "name" : "com.hivemq.cli.commands.MqttCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "host" }, - { "name" : "identifier" }, - { "name" : "identifierPrefix" }, - { "name" : "port" }, - { "name" : "version" } + "name": "com.hivemq.cli.commands.MqttCLICommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true + }, + { + "name": "com.hivemq.cli.commands.MqttCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "host" + }, + { + "name": "identifier" + }, + { + "name": "identifierPrefix" + }, + { + "name": "port" + }, + { + "name": "version" + } ] }, { - "name" : "com.hivemq.cli.commands.cli.AbstractConnectFlags", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "connectUserProperties" }, - { "name" : "sessionExpiryInterval" } + "name": "com.hivemq.cli.commands.cli.AbstractConnectFlags", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "connectUserProperties" + }, + { + "name": "sessionExpiryInterval" + } ] }, { - "name" : "com.hivemq.cli.commands.cli.PublishCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "contentType" }, - { "name" : "correlationData" }, - { "name" : "message" }, - { "name" : "messageExpiryInterval" }, - { "name" : "payloadFormatIndicator" }, - { "name" : "qos" }, - { "name" : "responseTopic" }, - { "name" : "retain" }, - { "name" : "topics" }, - { "name" : "usageHelpRequested" }, - { "name" : "userProperties" }, - { "name" : "versionInfoRequested" } - ], - "methods" : [ + "name": "com.hivemq.cli.commands.cli.PublishCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "contentType" + }, + { + "name": "correlationData" + }, + { + "name": "message" + }, + { + "name": "messageExpiryInterval" + }, + { + "name": "payloadFormatIndicator" + }, + { + "name": "qos" + }, + { + "name": "responseTopic" + }, + { + "name": "retain" + }, + { + "name": "topics" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "userProperties" + }, + { + "name": "versionInfoRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.cli.SubscribeCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "base64" }, - { "name" : "jsonOutput" }, - { "name" : "printToSTDOUT" }, - { "name" : "publishFile" }, - { "name" : "qos" }, - { "name" : "showTopics" }, - { "name" : "topics" }, - { "name" : "usageHelpRequested" }, - { "name" : "userProperties" }, - { "name" : "versionInfoRequested" } - ], - "methods" : [ + "name": "com.hivemq.cli.commands.cli.SubscribeCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "base64" + }, + { + "name": "jsonOutput" + }, + { + "name": "printToSTDOUT" + }, + { + "name": "publishFile" + }, + { + "name": "qos" + }, + { + "name": "showTopics" + }, + { + "name": "topics" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "userProperties" + }, + { + "name": "versionInfoRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ClearScreenCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "usageHelpRequested" } + "name": "com.hivemq.cli.commands.shell.ClearScreenCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "usageHelpRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ContextDisconnectCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "disconnectAll" }, - { "name" : "reasonString" }, - { "name" : "sessionExpiryInterval" }, - { "name" : "usageHelpRequested" }, - { "name" : "userProperties" } + "name": "com.hivemq.cli.commands.shell.ContextDisconnectCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "disconnectAll" + }, + { + "name": "reasonString" + }, + { + "name": "sessionExpiryInterval" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "userProperties" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ContextExitCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "usageHelpRequested" } + "name": "com.hivemq.cli.commands.shell.ContextExitCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "usageHelpRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ContextPublishCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "contentType" }, - { "name" : "correlationData" }, - { "name" : "message" }, - { "name" : "messageExpiryInterval" }, - { "name" : "payloadFormatIndicator" }, - { "name" : "qos" }, - { "name" : "responseTopic" }, - { "name" : "retain" }, - { "name" : "topics" }, - { "name" : "usageHelpRequested" }, - { "name" : "userProperties" } + "name": "com.hivemq.cli.commands.shell.ContextPublishCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "contentType" + }, + { + "name": "correlationData" + }, + { + "name": "message" + }, + { + "name": "messageExpiryInterval" + }, + { + "name": "payloadFormatIndicator" + }, + { + "name": "qos" + }, + { + "name": "responseTopic" + }, + { + "name": "retain" + }, + { + "name": "topics" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "userProperties" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ContextSubscribeCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "base64" }, - { "name" : "jsonOutput" }, - { "name" : "printToSTDOUT" }, - { "name" : "publishFile" }, - { "name" : "qos" }, - { "name" : "showTopics" }, - { "name" : "stay" }, - { "name" : "topics" }, - { "name" : "usageHelpRequested" }, - { "name" : "userProperties" } + "name": "com.hivemq.cli.commands.shell.ContextSubscribeCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "base64" + }, + { + "name": "jsonOutput" + }, + { + "name": "printToSTDOUT" + }, + { + "name": "publishFile" + }, + { + "name": "qos" + }, + { + "name": "showTopics" + }, + { + "name": "stay" + }, + { + "name": "topics" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "userProperties" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ContextSwitchCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "contextName" }, - { "name" : "host" }, - { "name" : "identifier" }, - { "name" : "usageHelpRequested" } + "name": "com.hivemq.cli.commands.shell.ContextSwitchCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "contextName" + }, + { + "name": "host" + }, + { + "name": "identifier" + }, + { + "name": "usageHelpRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ContextUnsubscribeCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "topics" }, - { "name" : "usageHelpRequested" }, - { "name" : "userProperties" } + "name": "com.hivemq.cli.commands.shell.ContextUnsubscribeCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "topics" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "userProperties" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ListClientsCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "doNotSort" }, - { "name" : "listSubscriptions" }, - { "name" : "longOutput" }, - { "name" : "reverse" }, - { "name" : "sortByTime" }, - { "name" : "usageHelpRequested" } + "name": "com.hivemq.cli.commands.shell.ListClientsCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "doNotSort" + }, + { + "name": "listSubscriptions" + }, + { + "name": "longOutput" + }, + { + "name": "reverse" + }, + { + "name": "sortByTime" + }, + { + "name": "usageHelpRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ShellCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "spec" }, - { "name" : "usageHelpRequested" }, - { "name" : "versionInfoRequested" } + "name": "com.hivemq.cli.commands.shell.ShellCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "spec" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "versionInfoRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ShellConnectCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "connectUserProperties" }, - { "name" : "sessionExpiryInterval" }, - { "name" : "usageHelpRequested" } - ], - "methods" : [ + "name": "com.hivemq.cli.commands.shell.ShellConnectCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "connectUserProperties" + }, + { + "name": "sessionExpiryInterval" + }, + { + "name": "usageHelpRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ShellContextCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true - }, - { - "name" : "com.hivemq.cli.commands.shell.ShellDisconnectCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "disconnectAll" }, - { "name" : "host" }, - { "name" : "identifier" }, - { "name" : "reasonString" }, - { "name" : "sessionExpiryInterval" }, - { "name" : "usageHelpRequested" }, - { "name" : "userProperties" } + "name": "com.hivemq.cli.commands.shell.ShellContextCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true + }, + { + "name": "com.hivemq.cli.commands.shell.ShellDisconnectCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "disconnectAll" + }, + { + "name": "host" + }, + { + "name": "identifier" + }, + { + "name": "reasonString" + }, + { + "name": "sessionExpiryInterval" + }, + { + "name": "usageHelpRequested" + }, + { + "name": "userProperties" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.ShellExitCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "usageHelpRequested" } + "name": "com.hivemq.cli.commands.shell.ShellExitCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "usageHelpRequested" + } ] }, { - "name" : "com.hivemq.cli.commands.shell.VersionCommand", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "spec" } + "name": "com.hivemq.cli.commands.shell.VersionCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "spec" + } ] }, { - "name" : "com.hivemq.cli.converters.ByteBufferConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.ByteBufferConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.DirectoryToCertificateCollectionConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.DirectoryToCertificateCollectionConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.EnvVarToByteBufferConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.EnvVarToByteBufferConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.FileToByteBufferConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.FileToByteBufferConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.FileToCertificateConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.FileToCertificateConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.FileToPrivateKeyConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.FileToPrivateKeyConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.Mqtt5UserPropertyConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.Mqtt5UserPropertyConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.MqttQosConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.MqttQosConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.MqttVersionConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.MqttVersionConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.PayloadFormatIndicatorConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.PayloadFormatIndicatorConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.UnsignedIntConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.UnsignedIntConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.cli.converters.UnsignedShortConverter", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.cli.converters.UnsignedShortConverter", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.client.mqtt.MqttVersion", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.client.mqtt.MqttVersion", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.client.mqtt.datatypes.MqttQos", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.client.mqtt.datatypes.MqttQos", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.client.mqtt.mqtt5.datatypes.Mqtt5UserProperty", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.client.mqtt.mqtt5.datatypes.Mqtt5UserProperty", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "com.hivemq.client.mqtt.mqtt5.message.publish.Mqtt5PayloadFormatIndicator", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "com.hivemq.client.mqtt.mqtt5.message.publish.Mqtt5PayloadFormatIndicator", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.lang.Boolean", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.lang.Boolean", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.lang.Integer", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.lang.Integer", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.lang.Long", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.lang.Long", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.nio.ByteBuffer", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.nio.ByteBuffer", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.security.PrivateKey", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.security.PrivateKey", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.security.cert.X509Certificate", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.security.cert.X509Certificate", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.util.Collection", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.util.Collection", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "java.util.Collections$UnmodifiableRandomAccessList", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true + "name": "java.util.Collections$UnmodifiableRandomAccessList", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true }, { - "name" : "picocli.CommandLine$AutoHelpMixin", - "allDeclaredConstructors" : true, - "allPublicConstructors" : true, - "allDeclaredMethods" : true, - "allPublicMethods" : true, - "fields" : [ - { "name" : "helpRequested" }, - { "name" : "versionRequested" } + "name": "picocli.CommandLine$AutoHelpMixin", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "fields": [ + { + "name": "helpRequested" + }, + { + "name": "versionRequested" + } ] + }, + { + "name": "picocli.CommandLine$HelpCommand", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true } ] diff --git a/tools/reflection_additional.json b/tools/reflection_additional.json new file mode 100644 index 000000000..89ef7ca80 --- /dev/null +++ b/tools/reflection_additional.json @@ -0,0 +1,9 @@ +[ + { + "name" : "picocli.CommandLine$HelpCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + } +] \ No newline at end of file diff --git a/tools/reflection_pico.json b/tools/reflection_pico.json new file mode 100644 index 000000000..58ebcd835 --- /dev/null +++ b/tools/reflection_pico.json @@ -0,0 +1,546 @@ +[ + { + "name" : "[Lcom.hivemq.client.mqtt.datatypes.MqttQos;", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "[Lcom.hivemq.client.mqtt.mqtt5.datatypes.Mqtt5UserProperty;", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.MqttCLIMain$CLIVersionProvider", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.commands.AbstractCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "methods" : [ + { "name" : "activateDebugMode", "parameterTypes" : ["boolean"] }, + { "name" : "activateVerboseMode", "parameterTypes" : ["boolean"] } + ] + }, + { + "name" : "com.hivemq.cli.commands.AbstractCommonFlags", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "certificates" }, + { "name" : "certificatesFromDir" }, + { "name" : "cipherSuites" }, + { "name" : "cleanStart" }, + { "name" : "clientCertificate" }, + { "name" : "clientPrivateKey" }, + { "name" : "keepAlive" }, + { "name" : "password" }, + { "name" : "supportedTLSVersions" }, + { "name" : "useSsl" }, + { "name" : "useWebSocket" }, + { "name" : "user" }, + { "name" : "webSocketPath" } + ], + "methods" : [ + { "name" : "setPasswordFromEnv", "parameterTypes" : ["java.nio.ByteBuffer"] }, + { "name" : "setPasswordFromFile", "parameterTypes" : ["java.nio.ByteBuffer"] } + ] + }, + { + "name" : "com.hivemq.cli.commands.AbstractConnectRestrictionFlags", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "maximumPacketSize" }, + { "name" : "receiveMaximum" }, + { "name" : "requestProblemInformation" }, + { "name" : "requestResponseInformation" }, + { "name" : "sendMaximum" }, + { "name" : "sendMaximumPacketSize" }, + { "name" : "sendTopicAliasMaximum" }, + { "name" : "topicAliasMaximum" } + ] + }, + { + "name" : "com.hivemq.cli.commands.AbstractWillFlags", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "willContentType" }, + { "name" : "willCorrelationData" }, + { "name" : "willDelayInterval" }, + { "name" : "willMessage" }, + { "name" : "willMessageExpiryInterval" }, + { "name" : "willPayloadFormatIndicator" }, + { "name" : "willQos" }, + { "name" : "willResponseTopic" }, + { "name" : "willRetain" }, + { "name" : "willTopic" }, + { "name" : "willUserProperties" } + ] + }, + { + "name" : "com.hivemq.cli.commands.MqttCLICommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.commands.MqttCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "host" }, + { "name" : "identifier" }, + { "name" : "identifierPrefix" }, + { "name" : "port" }, + { "name" : "version" } + ] + }, + { + "name" : "com.hivemq.cli.commands.cli.AbstractConnectFlags", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "connectUserProperties" }, + { "name" : "sessionExpiryInterval" } + ] + }, + { + "name" : "com.hivemq.cli.commands.cli.PublishCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "contentType" }, + { "name" : "correlationData" }, + { "name" : "message" }, + { "name" : "messageExpiryInterval" }, + { "name" : "payloadFormatIndicator" }, + { "name" : "qos" }, + { "name" : "responseTopic" }, + { "name" : "retain" }, + { "name" : "topics" }, + { "name" : "usageHelpRequested" }, + { "name" : "userProperties" }, + { "name" : "versionInfoRequested" } + ], + "methods" : [ + { "name" : "activateDebugMode", "parameterTypes" : ["boolean"] }, + { "name" : "activateVerboseMode", "parameterTypes" : ["boolean"] }, + { "name" : "setPasswordFromEnv", "parameterTypes" : ["java.nio.ByteBuffer"] }, + { "name" : "setPasswordFromFile", "parameterTypes" : ["java.nio.ByteBuffer"] } + ] + }, + { + "name" : "com.hivemq.cli.commands.cli.SubscribeCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "base64" }, + { "name" : "jsonOutput" }, + { "name" : "printToSTDOUT" }, + { "name" : "publishFile" }, + { "name" : "qos" }, + { "name" : "showTopics" }, + { "name" : "topics" }, + { "name" : "usageHelpRequested" }, + { "name" : "userProperties" }, + { "name" : "versionInfoRequested" } + ], + "methods" : [ + { "name" : "activateDebugMode", "parameterTypes" : ["boolean"] }, + { "name" : "activateVerboseMode", "parameterTypes" : ["boolean"] }, + { "name" : "setPasswordFromEnv", "parameterTypes" : ["java.nio.ByteBuffer"] }, + { "name" : "setPasswordFromFile", "parameterTypes" : ["java.nio.ByteBuffer"] } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ClearScreenCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "usageHelpRequested" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ContextDisconnectCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "disconnectAll" }, + { "name" : "reasonString" }, + { "name" : "sessionExpiryInterval" }, + { "name" : "usageHelpRequested" }, + { "name" : "userProperties" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ContextExitCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "usageHelpRequested" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ContextPublishCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "contentType" }, + { "name" : "correlationData" }, + { "name" : "message" }, + { "name" : "messageExpiryInterval" }, + { "name" : "payloadFormatIndicator" }, + { "name" : "qos" }, + { "name" : "responseTopic" }, + { "name" : "retain" }, + { "name" : "topics" }, + { "name" : "usageHelpRequested" }, + { "name" : "userProperties" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ContextSubscribeCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "base64" }, + { "name" : "jsonOutput" }, + { "name" : "printToSTDOUT" }, + { "name" : "publishFile" }, + { "name" : "qos" }, + { "name" : "showTopics" }, + { "name" : "stay" }, + { "name" : "topics" }, + { "name" : "usageHelpRequested" }, + { "name" : "userProperties" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ContextSwitchCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "contextName" }, + { "name" : "host" }, + { "name" : "identifier" }, + { "name" : "usageHelpRequested" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ContextUnsubscribeCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "topics" }, + { "name" : "usageHelpRequested" }, + { "name" : "userProperties" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ListClientsCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "doNotSort" }, + { "name" : "listSubscriptions" }, + { "name" : "longOutput" }, + { "name" : "reverse" }, + { "name" : "sortByTime" }, + { "name" : "usageHelpRequested" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ShellCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "spec" }, + { "name" : "usageHelpRequested" }, + { "name" : "versionInfoRequested" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ShellConnectCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "connectUserProperties" }, + { "name" : "sessionExpiryInterval" }, + { "name" : "usageHelpRequested" } + ], + "methods" : [ + { "name" : "activateDebugMode", "parameterTypes" : ["boolean"] }, + { "name" : "activateVerboseMode", "parameterTypes" : ["boolean"] }, + { "name" : "setPasswordFromEnv", "parameterTypes" : ["java.nio.ByteBuffer"] }, + { "name" : "setPasswordFromFile", "parameterTypes" : ["java.nio.ByteBuffer"] } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ShellContextCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.commands.shell.ShellDisconnectCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "disconnectAll" }, + { "name" : "host" }, + { "name" : "identifier" }, + { "name" : "reasonString" }, + { "name" : "sessionExpiryInterval" }, + { "name" : "usageHelpRequested" }, + { "name" : "userProperties" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.ShellExitCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "usageHelpRequested" } + ] + }, + { + "name" : "com.hivemq.cli.commands.shell.VersionCommand", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "spec" } + ] + }, + { + "name" : "com.hivemq.cli.converters.ByteBufferConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.DirectoryToCertificateCollectionConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.EnvVarToByteBufferConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.FileToByteBufferConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.FileToCertificateConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.FileToPrivateKeyConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.Mqtt5UserPropertyConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.MqttQosConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.MqttVersionConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.PayloadFormatIndicatorConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.UnsignedIntConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.cli.converters.UnsignedShortConverter", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.client.mqtt.MqttVersion", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.client.mqtt.datatypes.MqttQos", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.client.mqtt.mqtt5.datatypes.Mqtt5UserProperty", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "com.hivemq.client.mqtt.mqtt5.message.publish.Mqtt5PayloadFormatIndicator", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.lang.Boolean", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.lang.Integer", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.lang.Long", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.nio.ByteBuffer", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.security.PrivateKey", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.security.cert.X509Certificate", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.util.Collection", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "java.util.Collections$UnmodifiableRandomAccessList", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true + }, + { + "name" : "picocli.CommandLine$AutoHelpMixin", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "fields" : [ + { "name" : "helpRequested" }, + { "name" : "versionRequested" } + ] + } +]