diff options
author | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2020-08-13 13:17:30 -0400 |
---|---|---|
committer | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2020-08-13 13:17:30 -0400 |
commit | 9c2c295fd68ed4cd9cb715f9b4fd3e7bfb2afead (patch) | |
tree | c956c68390b0714c3bdb007357b0b3446343fbbd | |
parent | ba8b418776159a64576f3a434c0e70ac7029fa5a (diff) | |
download | sdl_android-feature/issue_1444_fix_generated_imports.tar.gz |
Update imports in generator README.mdfeature/issue_1444_fix_generated_imports
-rw-r--r-- | generator/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generator/README.md b/generator/README.md index ae3934d18..d87ec0a17 100644 --- a/generator/README.md +++ b/generator/README.md @@ -430,7 +430,7 @@ Where `[name]` is the value from the `"name"` attribute of `<struct>`. ### Constructor with all required parameters, based on `"mandatory"` attribute of the `<param>` This constructor requires the import of `NonNull` annotation ```java -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; ``` The constructor should include all set of `<param>` with the `"mandatory"` attribute is "true". JavaDoc should include all constructor parameters and the constructor should call all corresponding setters inside itself. @@ -590,7 +590,7 @@ Output (javadoc comments skipped): ```java package com.smartdevicelink.proxy.rpc; -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; import com.smartdevicelink.proxy.RPCStruct; import com.smartdevicelink.proxy.rpc.enums.TemperatureUnit; @@ -768,7 +768,7 @@ Where `[name]` is the value from the `"name"` attribute of `<function>`. ### Constructor with all required parameters, based on `"mandatory"` attribute of the `<param>` This constructor requires the import of `NonNull` annotation ```java -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; ``` The constructor should include all set of `<param>` with the `"mandatory"` attribute is "true". JavaDoc should include all constructor parameters and the constructor should call all corresponding setters inside itself. @@ -997,7 +997,7 @@ Output (javadoc comments skipped): ```java package com.smartdevicelink.proxy.rpc; -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; import com.smartdevicelink.protocol.enums.FunctionID; import com.smartdevicelink.proxy.RPCResponse; @@ -1039,7 +1039,7 @@ Output (javadoc comments skipped): ```java package com.smartdevicelink.proxy.rpc; -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; import com.smartdevicelink.protocol.enums.FunctionID; import com.smartdevicelink.proxy.RPCNotification; |