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 testIsDecimalDiscriminated() {
      Assert.assertTrue(NumericLiteralSupport.isDecimalDiscriminated("dddddddd"));
      Assert.assertTrue(NumericLiteralSupport.isDecimalDiscriminated("DDDDDDDD"));
      Assert.assertFalse(NumericLiteralSupport.isDecimalDiscriminated("Bar"));
      Assert.assertFalse(NumericLiteralSupport.isDecimalDiscriminated("3"));
    }
test_case.class_method_signature: NumericLiteralSupportTest.testIsDecimalDiscriminated()
test_case.full_signature: @Test public void testIsDecimalDiscriminated()
test_case.identifier: testIsDecimalDiscriminated
test_case.invocations: assertTrue isDecimalDiscriminated assertTrue isDecimalDiscriminated assertFalse isDecimalDiscriminated assertFalse isDecimalDiscriminated
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsDecimalDiscriminated()
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 boolean isDecimalDiscriminated(String literalValue) {
          int length = literalValue.length();
          // There should be at least 2 characters to form discriminated decimal literal.
          if (length < 2) {
              return false;
          }
          char lastChar = literalValue.charAt(length - 1);
          return (lastChar == 'd' || lastChar == 'D');
      }
focal_method.class_method_signature: NumericLiteralSupport.isDecimalDiscriminated(String literalValue)
focal_method.full_signature: public static boolean isDecimalDiscriminated(String literalValue)
focal_method.identifier: isDecimalDiscriminated
focal_method.invocations: length charAt
focal_method.modifiers: public static
focal_method.parameters: (String literalValue)
focal_method.return: boolean
focal_method.signature: boolean isDecimalDiscriminated(String literalValue)