test_class.file: compiler/ballerina-lang/src/test/java/org/wso2/ballerinalang/compiler/util/NumericLiteralSupportTest.java
test_class.identifier: NumericLiteralSupportTest
test_case.body: @Test
    public void testParseBigDecimal() {
      Assert.assertEquals(NumericLiteralSupport.parseBigDecimal(1d).toString(),
          "1.0");
      Assert.assertEquals(NumericLiteralSupport.parseBigDecimal(1D).toString(),
          "1.0");
      Assert.assertEquals(NumericLiteralSupport.parseBigDecimal(1).toString(),
          "1");
    }
test_case.class_method_signature: NumericLiteralSupportTest.testParseBigDecimal()
test_case.full_signature: @Test public void testParseBigDecimal()
test_case.identifier: testParseBigDecimal
test_case.invocations: assertEquals toString parseBigDecimal assertEquals toString parseBigDecimal assertEquals toString parseBigDecimal
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParseBigDecimal()
focal_class.declarator: FLOAT_DISCRIMINATOR = "f"
focal_class.modifier: public static final
focal_class.original_string: public static final String FLOAT_DISCRIMINATOR = "f";
focal_class.type: String
focal_class.var_name: FLOAT_DISCRIMINATOR
focal_class.declarator: DECIMAL_DISCRIMINATOR = "d"
focal_class.modifier: public static final
focal_class.original_string: public static final String DECIMAL_DISCRIMINATOR = "d";
focal_class.type: String
focal_class.var_name: DECIMAL_DISCRIMINATOR
focal_class.file: compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/util/NumericLiteralSupport.java
focal_class.identifier: NumericLiteralSupport
focal_class.class_method_signature: NumericLiteralSupport.NumericLiteralSupport()
focal_class.full_signature: private  NumericLiteralSupport()
focal_class.identifier: NumericLiteralSupport
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  NumericLiteralSupport()
focal_class.class_method_signature: NumericLiteralSupport.stripDiscriminator(String literalValue)
focal_class.full_signature: public static String stripDiscriminator(String literalValue)
focal_class.identifier: stripDiscriminator
focal_class.modifiers: public static
focal_class.parameters: (String literalValue)
focal_class.return: String
focal_class.signature: String stripDiscriminator(String literalValue)
focal_class.class_method_signature: NumericLiteralSupport.isHexLiteral(String numericLiteral)
focal_class.full_signature: public static boolean isHexLiteral(String numericLiteral)
focal_class.identifier: isHexLiteral
focal_class.modifiers: public static
focal_class.parameters: (String numericLiteral)
focal_class.return: boolean
focal_class.signature: boolean isHexLiteral(String numericLiteral)
focal_class.class_method_signature: NumericLiteralSupport.hasHexIndicator(String literalValue)
focal_class.full_signature: public static boolean hasHexIndicator(String literalValue)
focal_class.identifier: hasHexIndicator
focal_class.modifiers: public static
focal_class.parameters: (String literalValue)
focal_class.return: boolean
focal_class.signature: boolean hasHexIndicator(String literalValue)
focal_class.class_method_signature: NumericLiteralSupport.parseBigDecimal(Object baseValue)
focal_class.full_signature: public static BigDecimal parseBigDecimal(Object baseValue)
focal_class.identifier: parseBigDecimal
focal_class.modifiers: public static
focal_class.parameters: (Object baseValue)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal parseBigDecimal(Object baseValue)
focal_class.class_method_signature: NumericLiteralSupport.isDecimalDiscriminated(String literalValue)
focal_class.full_signature: public static boolean isDecimalDiscriminated(String literalValue)
focal_class.identifier: isDecimalDiscriminated
focal_class.modifiers: public static
focal_class.parameters: (String literalValue)
focal_class.return: boolean
focal_class.signature: boolean isDecimalDiscriminated(String literalValue)
focal_class.class_method_signature: NumericLiteralSupport.isFloatDiscriminated(String literalValue)
focal_class.full_signature: public static boolean isFloatDiscriminated(String literalValue)
focal_class.identifier: isFloatDiscriminated
focal_class.modifiers: public static
focal_class.parameters: (String literalValue)
focal_class.return: boolean
focal_class.signature: boolean isFloatDiscriminated(String literalValue)
focal_method.body: public static BigDecimal parseBigDecimal(Object baseValue) {
          String strValue = String.valueOf(baseValue);
          if (isDecimalDiscriminated(strValue)) {
              strValue = strValue.substring(0, strValue.length() - 1);
          }
          return new BigDecimal(strValue, MathContext.DECIMAL128);
      }
focal_method.class_method_signature: NumericLiteralSupport.parseBigDecimal(Object baseValue)
focal_method.full_signature: public static BigDecimal parseBigDecimal(Object baseValue)
focal_method.identifier: parseBigDecimal
focal_method.invocations: valueOf isDecimalDiscriminated substring length
focal_method.modifiers: public static
focal_method.parameters: (Object baseValue)
focal_method.return: BigDecimal
focal_method.signature: BigDecimal parseBigDecimal(Object baseValue)