test_class.file: mvn-golang-wrapper/src/test/java/com/igormaznitsa/mvngolang/utils/SysUtilsTest.java
test_class.identifier: SysUtilsTest
test_case.body: @Test
    public void testDecodeGoSdkArchType() {
      assertNull(SysUtils.decodeGoSdkArchType("some xxx"));
      assertEquals("armv6l",SysUtils.decodeGoSdkArchType("some armv6l xxx"));
      assertEquals("ppc64le",SysUtils.decodeGoSdkArchType("ppc ppc64le"));
      assertEquals("ppc64le",SysUtils.decodeGoSdkArchType("ppc64le"));
      assertEquals("386",SysUtils.decodeGoSdkArchType("i386"));
      assertEquals("386",SysUtils.decodeGoSdkArchType("i686"));
      assertEquals("amd64",SysUtils.decodeGoSdkArchType("amd64"));
      assertEquals("s390x",SysUtils.decodeGoSdkArchType("s390"));
    }
test_case.class_method_signature: SysUtilsTest.testDecodeGoSdkArchType()
test_case.full_signature: @Test public void testDecodeGoSdkArchType()
test_case.identifier: testDecodeGoSdkArchType
test_case.invocations: assertNull decodeGoSdkArchType assertEquals decodeGoSdkArchType assertEquals decodeGoSdkArchType assertEquals decodeGoSdkArchType assertEquals decodeGoSdkArchType assertEquals decodeGoSdkArchType assertEquals decodeGoSdkArchType assertEquals decodeGoSdkArchType
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDecodeGoSdkArchType()
focal_class.file: mvn-golang-wrapper/src/main/java/com/igormaznitsa/mvngolang/utils/SysUtils.java
focal_class.identifier: SysUtils
focal_class.class_method_signature: SysUtils.SysUtils()
focal_class.full_signature: private  SysUtils()
focal_class.identifier: SysUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  SysUtils()
focal_class.class_method_signature: SysUtils.findGoSdkOsType()
focal_class.full_signature: @Nullable public static String findGoSdkOsType()
focal_class.identifier: findGoSdkOsType
focal_class.modifiers: @Nullable public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String findGoSdkOsType()
focal_class.class_method_signature: SysUtils.decodeGoSdkArchType(@Nonnull final String osArchProperty)
focal_class.full_signature: @Nullable public static String decodeGoSdkArchType(@Nonnull final String osArchProperty)
focal_class.identifier: decodeGoSdkArchType
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nonnull final String osArchProperty)
focal_class.return: String
focal_class.signature: String decodeGoSdkArchType(@Nonnull final String osArchProperty)
focal_method.body: @Nullable
    public static String decodeGoSdkArchType(@Nonnull final String osArchProperty) {
      final String arch = osArchProperty.toLowerCase(Locale.ENGLISH);
      if (arch.contains("ppc64le")) {
        return "ppc64le";
      } else if (arch.contains("armv6l")) {
        return "armv6l";
      } else if (arch.contains("arm64")) {
        return "arm64";
      } else if (arch.contains("s390")) {
        return "s390x";
      }
      if (arch.matches("^(x8632|x86|i[3-6]86|ia32|x32)$")) {
        return "386";
      } else if (arch.contains("em64t") 
              || arch.contains("x8664") 
              || arch.contains("ia32e") 
              || arch.contains("x64") 
              || arch.contains("amd64") 
              || arch.contains("x86_64")) {
        return "amd64";
      }
      return null;
    }
focal_method.class_method_signature: SysUtils.decodeGoSdkArchType(@Nonnull final String osArchProperty)
focal_method.full_signature: @Nullable public static String decodeGoSdkArchType(@Nonnull final String osArchProperty)
focal_method.identifier: decodeGoSdkArchType
focal_method.invocations: toLowerCase contains contains contains contains matches contains contains contains contains contains contains
focal_method.modifiers: @Nullable public static
focal_method.parameters: (@Nonnull final String osArchProperty)
focal_method.return: String
focal_method.signature: String decodeGoSdkArchType(@Nonnull final String osArchProperty)