test_class.file: subprojects/griffon-core/src/test/java/griffon/util/TypeUtilsTest.java
test_class.identifier: TypeUtilsTest
test_case.body: @Test
      @SuppressWarnings("UnnecessaryBoxing")
      public void objectEquality() {
          Object o1 = new Object();
          Object o2 = new Object();
  
          assertTrue(TypeUtils.equals((Object) null, (Object) null));
          assertFalse(TypeUtils.equals(o1, (Object) null));
          assertFalse(TypeUtils.equals((Object) null, o2));
          assertTrue(TypeUtils.equals(o1, o1));
          assertFalse(TypeUtils.equals(o1, o2));
          assertTrue(TypeUtils.equals(1, Integer.valueOf(1)));
          assertTrue(TypeUtils.equals("a", "a"));
          assertFalse(TypeUtils.equals("a", "b"));
      }
test_case.class_method_signature: TypeUtilsTest.objectEquality()
test_case.full_signature: @Test @SuppressWarnings("UnnecessaryBoxing") public void objectEquality()
test_case.identifier: objectEquality
test_case.invocations: assertTrue equals assertFalse equals assertFalse equals assertTrue equals assertFalse equals assertTrue equals valueOf assertTrue equals assertFalse equals
test_case.modifiers: @Test @SuppressWarnings("UnnecessaryBoxing") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void objectEquality()
focal_class.declarator: ERROR_VALUE_NULL = "Argument 'value' cannot be null"
focal_class.modifier: private static final
focal_class.original_string: private static final String ERROR_VALUE_NULL = "Argument 'value' cannot be null";
focal_class.type: String
focal_class.var_name: ERROR_VALUE_NULL
focal_class.file: subprojects/griffon-core/src/main/java/griffon/util/TypeUtils.java
focal_class.identifier: TypeUtils
focal_class.class_method_signature: TypeUtils.TypeUtils()
focal_class.full_signature: private  TypeUtils()
focal_class.identifier: TypeUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  TypeUtils()
focal_class.class_method_signature: TypeUtils.castToBoolean(@Nonnull Object value)
focal_class.full_signature: public static boolean castToBoolean(@Nonnull Object value)
focal_class.identifier: castToBoolean
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: boolean
focal_class.signature: boolean castToBoolean(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToChar(@Nonnull Object value)
focal_class.full_signature: public static char castToChar(@Nonnull Object value)
focal_class.identifier: castToChar
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: char
focal_class.signature: char castToChar(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToByte(@Nonnull Object value)
focal_class.full_signature: public static byte castToByte(@Nonnull Object value)
focal_class.identifier: castToByte
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: byte
focal_class.signature: byte castToByte(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToShort(@Nonnull Object value)
focal_class.full_signature: public static short castToShort(@Nonnull Object value)
focal_class.identifier: castToShort
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: short
focal_class.signature: short castToShort(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToInt(@Nonnull Object value)
focal_class.full_signature: public static int castToInt(@Nonnull Object value)
focal_class.identifier: castToInt
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: int
focal_class.signature: int castToInt(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToLong(@Nonnull Object value)
focal_class.full_signature: public static long castToLong(@Nonnull Object value)
focal_class.identifier: castToLong
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: long
focal_class.signature: long castToLong(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToFloat(@Nonnull Object value)
focal_class.full_signature: public static float castToFloat(@Nonnull Object value)
focal_class.identifier: castToFloat
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: float
focal_class.signature: float castToFloat(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToDouble(@Nonnull Object value)
focal_class.full_signature: public static double castToDouble(@Nonnull Object value)
focal_class.identifier: castToDouble
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: double
focal_class.signature: double castToDouble(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToBigInteger(@Nonnull Object value)
focal_class.full_signature: public static BigInteger castToBigInteger(@Nonnull Object value)
focal_class.identifier: castToBigInteger
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: BigInteger
focal_class.signature: BigInteger castToBigInteger(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToBigDecimal(@Nonnull Object value)
focal_class.full_signature: public static BigDecimal castToBigDecimal(@Nonnull Object value)
focal_class.identifier: castToBigDecimal
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal castToBigDecimal(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToNumber(@Nonnull Object value)
focal_class.full_signature: @Nullable public static Number castToNumber(@Nonnull Object value)
focal_class.identifier: castToNumber
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nonnull Object value)
focal_class.return: Number
focal_class.signature: Number castToNumber(@Nonnull Object value)
focal_class.class_method_signature: TypeUtils.castToBoolean(@Nullable Object value, boolean defaultValue)
focal_class.full_signature: public static boolean castToBoolean(@Nullable Object value, boolean defaultValue)
focal_class.identifier: castToBoolean
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, boolean defaultValue)
focal_class.return: boolean
focal_class.signature: boolean castToBoolean(@Nullable Object value, boolean defaultValue)
focal_class.class_method_signature: TypeUtils.castToChar(@Nullable Object value, char defaultValue)
focal_class.full_signature: public static char castToChar(@Nullable Object value, char defaultValue)
focal_class.identifier: castToChar
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, char defaultValue)
focal_class.return: char
focal_class.signature: char castToChar(@Nullable Object value, char defaultValue)
focal_class.class_method_signature: TypeUtils.castToByte(@Nullable Object value, byte defaultValue)
focal_class.full_signature: public static byte castToByte(@Nullable Object value, byte defaultValue)
focal_class.identifier: castToByte
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, byte defaultValue)
focal_class.return: byte
focal_class.signature: byte castToByte(@Nullable Object value, byte defaultValue)
focal_class.class_method_signature: TypeUtils.castToShort(@Nullable Object value, short defaultValue)
focal_class.full_signature: public static short castToShort(@Nullable Object value, short defaultValue)
focal_class.identifier: castToShort
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, short defaultValue)
focal_class.return: short
focal_class.signature: short castToShort(@Nullable Object value, short defaultValue)
focal_class.class_method_signature: TypeUtils.castToInt(@Nullable Object value, int defaultValue)
focal_class.full_signature: public static int castToInt(@Nullable Object value, int defaultValue)
focal_class.identifier: castToInt
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, int defaultValue)
focal_class.return: int
focal_class.signature: int castToInt(@Nullable Object value, int defaultValue)
focal_class.class_method_signature: TypeUtils.castToLong(@Nullable Object value, long defaultValue)
focal_class.full_signature: public static long castToLong(@Nullable Object value, long defaultValue)
focal_class.identifier: castToLong
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, long defaultValue)
focal_class.return: long
focal_class.signature: long castToLong(@Nullable Object value, long defaultValue)
focal_class.class_method_signature: TypeUtils.castToFloat(@Nullable Object value, float defaultValue)
focal_class.full_signature: public static float castToFloat(@Nullable Object value, float defaultValue)
focal_class.identifier: castToFloat
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, float defaultValue)
focal_class.return: float
focal_class.signature: float castToFloat(@Nullable Object value, float defaultValue)
focal_class.class_method_signature: TypeUtils.castToDouble(@Nullable Object value, double defaultValue)
focal_class.full_signature: public static double castToDouble(@Nullable Object value, double defaultValue)
focal_class.identifier: castToDouble
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object value, double defaultValue)
focal_class.return: double
focal_class.signature: double castToDouble(@Nullable Object value, double defaultValue)
focal_class.class_method_signature: TypeUtils.castToNumber(@Nullable Object value, @Nullable Number defaultValue)
focal_class.full_signature: @Nullable public static Number castToNumber(@Nullable Object value, @Nullable Number defaultValue)
focal_class.identifier: castToNumber
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nullable Object value, @Nullable Number defaultValue)
focal_class.return: Number
focal_class.signature: Number castToNumber(@Nullable Object value, @Nullable Number defaultValue)
focal_class.class_method_signature: TypeUtils.castToBigInteger(@Nullable Object value, @Nullable BigInteger defaultValue)
focal_class.full_signature: @Nullable public static BigInteger castToBigInteger(@Nullable Object value, @Nullable BigInteger defaultValue)
focal_class.identifier: castToBigInteger
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nullable Object value, @Nullable BigInteger defaultValue)
focal_class.return: BigInteger
focal_class.signature: BigInteger castToBigInteger(@Nullable Object value, @Nullable BigInteger defaultValue)
focal_class.class_method_signature: TypeUtils.castToBigDecimal(@Nullable Object value, @Nullable BigDecimal defaultValue)
focal_class.full_signature: @Nullable public static BigDecimal castToBigDecimal(@Nullable Object value, @Nullable BigDecimal defaultValue)
focal_class.identifier: castToBigDecimal
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nullable Object value, @Nullable BigDecimal defaultValue)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal castToBigDecimal(@Nullable Object value, @Nullable BigDecimal defaultValue)
focal_class.class_method_signature: TypeUtils.convertValue(@Nonnull Class<T> targetType, @Nonnull Object value)
focal_class.full_signature: @Nonnull public static T convertValue(@Nonnull Class<T> targetType, @Nonnull Object value)
focal_class.identifier: convertValue
focal_class.modifiers: @Nonnull public static
focal_class.parameters: (@Nonnull Class<T> targetType, @Nonnull Object value)
focal_class.return: T
focal_class.signature: T convertValue(@Nonnull Class<T> targetType, @Nonnull Object value)
focal_class.class_method_signature: TypeUtils.convertValue(@Nonnull Class<T> targetType, @Nonnull Object value, @Nullable String format)
focal_class.full_signature: @Nonnull @SuppressWarnings("unchecked") public static T convertValue(@Nonnull Class<T> targetType, @Nonnull Object value, @Nullable String format)
focal_class.identifier: convertValue
focal_class.modifiers: @Nonnull @SuppressWarnings("unchecked") public static
focal_class.parameters: (@Nonnull Class<T> targetType, @Nonnull Object value, @Nullable String format)
focal_class.return: T
focal_class.signature: T convertValue(@Nonnull Class<T> targetType, @Nonnull Object value, @Nullable String format)
focal_class.class_method_signature: TypeUtils.resolveTargetPropertyEditor(@Nonnull Class<T> targetType, @Nullable String format)
focal_class.full_signature: @Nullable private static PropertyEditor resolveTargetPropertyEditor(@Nonnull Class<T> targetType, @Nullable String format)
focal_class.identifier: resolveTargetPropertyEditor
focal_class.modifiers: @Nullable private static
focal_class.parameters: (@Nonnull Class<T> targetType, @Nullable String format)
focal_class.return: PropertyEditor
focal_class.signature: PropertyEditor resolveTargetPropertyEditor(@Nonnull Class<T> targetType, @Nullable String format)
focal_class.class_method_signature: TypeUtils.doResolveTargetPropertyEditor(@Nonnull Class<T> targetType)
focal_class.full_signature: @Nullable private static PropertyEditor doResolveTargetPropertyEditor(@Nonnull Class<T> targetType)
focal_class.identifier: doResolveTargetPropertyEditor
focal_class.modifiers: @Nullable private static
focal_class.parameters: (@Nonnull Class<T> targetType)
focal_class.return: PropertyEditor
focal_class.signature: PropertyEditor doResolveTargetPropertyEditor(@Nonnull Class<T> targetType)
focal_class.class_method_signature: TypeUtils.isBoolean(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isBoolean(@Nonnull Class<?> type)
focal_class.identifier: isBoolean
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isBoolean(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isCharacter(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isCharacter(@Nonnull Class<?> type)
focal_class.identifier: isCharacter
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isCharacter(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isByte(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isByte(@Nonnull Class<?> type)
focal_class.identifier: isByte
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isByte(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isShort(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isShort(@Nonnull Class<?> type)
focal_class.identifier: isShort
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isShort(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isInteger(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isInteger(@Nonnull Class<?> type)
focal_class.identifier: isInteger
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isInteger(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isLong(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isLong(@Nonnull Class<?> type)
focal_class.identifier: isLong
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isLong(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isFloat(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isFloat(@Nonnull Class<?> type)
focal_class.identifier: isFloat
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isFloat(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isDouble(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isDouble(@Nonnull Class<?> type)
focal_class.identifier: isDouble
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isDouble(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isBigInteger(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isBigInteger(@Nonnull Class<?> type)
focal_class.identifier: isBigInteger
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isBigInteger(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isBigDecimal(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isBigDecimal(@Nonnull Class<?> type)
focal_class.identifier: isBigDecimal
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isBigDecimal(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.isNumber(@Nonnull Class<?> type)
focal_class.full_signature: public static boolean isNumber(@Nonnull Class<?> type)
focal_class.identifier: isNumber
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull Class<?> type)
focal_class.return: boolean
focal_class.signature: boolean isNumber(@Nonnull Class<?> type)
focal_class.class_method_signature: TypeUtils.equals(@Nullable Object left, @Nullable Object right)
focal_class.full_signature: public static boolean equals(@Nullable Object left, @Nullable Object right)
focal_class.identifier: equals
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object left, @Nullable Object right)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable Object left, @Nullable Object right)
focal_class.class_method_signature: TypeUtils.arrayEqual(@Nullable Object left, @Nullable Object right)
focal_class.full_signature: public static boolean arrayEqual(@Nullable Object left, @Nullable Object right)
focal_class.identifier: arrayEqual
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Object left, @Nullable Object right)
focal_class.return: boolean
focal_class.signature: boolean arrayEqual(@Nullable Object left, @Nullable Object right)
focal_class.class_method_signature: TypeUtils.equals(int[] left, int[] right)
focal_class.full_signature: public static boolean equals(int[] left, int[] right)
focal_class.identifier: equals
focal_class.modifiers: public static
focal_class.parameters: (int[] left, int[] right)
focal_class.return: boolean
focal_class.signature: boolean equals(int[] left, int[] right)
focal_class.class_method_signature: TypeUtils.equals(Object[] left, List right)
focal_class.full_signature: public static boolean equals(Object[] left, List right)
focal_class.identifier: equals
focal_class.modifiers: public static
focal_class.parameters: (Object[] left, List right)
focal_class.return: boolean
focal_class.signature: boolean equals(Object[] left, List right)
focal_class.class_method_signature: TypeUtils.equals(List left, Object[] right)
focal_class.full_signature: public static boolean equals(List left, Object[] right)
focal_class.identifier: equals
focal_class.modifiers: public static
focal_class.parameters: (List left, Object[] right)
focal_class.return: boolean
focal_class.signature: boolean equals(List left, Object[] right)
focal_class.class_method_signature: TypeUtils.doEquals(Object[] left, List<?> right)
focal_class.full_signature: private static boolean doEquals(Object[] left, List<?> right)
focal_class.identifier: doEquals
focal_class.modifiers: private static
focal_class.parameters: (Object[] left, List<?> right)
focal_class.return: boolean
focal_class.signature: boolean doEquals(Object[] left, List<?> right)
focal_class.class_method_signature: TypeUtils.equals(List<T> left, List<T> right)
focal_class.full_signature: public static boolean equals(List<T> left, List<T> right)
focal_class.identifier: equals
focal_class.modifiers: public static
focal_class.parameters: (List<T> left, List<T> right)
focal_class.return: boolean
focal_class.signature: boolean equals(List<T> left, List<T> right)
focal_class.class_method_signature: TypeUtils.equals(Set<T> left, Set<T> right)
focal_class.full_signature: public static boolean equals(Set<T> left, Set<T> right)
focal_class.identifier: equals
focal_class.modifiers: public static
focal_class.parameters: (Set<T> left, Set<T> right)
focal_class.return: boolean
focal_class.signature: boolean equals(Set<T> left, Set<T> right)
focal_class.class_method_signature: TypeUtils.equals(Map<K, V> left, Map<K, V> right)
focal_class.full_signature: public static boolean equals(Map<K, V> left, Map<K, V> right)
focal_class.identifier: equals
focal_class.modifiers: public static
focal_class.parameters: (Map<K, V> left, Map<K, V> right)
focal_class.return: boolean
focal_class.signature: boolean equals(Map<K, V> left, Map<K, V> right)
focal_class.class_method_signature: TypeUtils.primitiveArrayToList(Object array)
focal_class.full_signature: public static List primitiveArrayToList(Object array)
focal_class.identifier: primitiveArrayToList
focal_class.modifiers: public static
focal_class.parameters: (Object array)
focal_class.return: List
focal_class.signature: List primitiveArrayToList(Object array)
focal_class.class_method_signature: TypeUtils.isValidCharacterString(Object value)
focal_class.full_signature: private static boolean isValidCharacterString(Object value)
focal_class.identifier: isValidCharacterString
focal_class.modifiers: private static
focal_class.parameters: (Object value)
focal_class.return: boolean
focal_class.signature: boolean isValidCharacterString(Object value)
focal_class.class_method_signature: TypeUtils.compareTo(Object left, Object right)
focal_class.full_signature: @SuppressWarnings("unchecked") public static int compareTo(Object left, Object right)
focal_class.identifier: compareTo
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Object left, Object right)
focal_class.return: int
focal_class.signature: int compareTo(Object left, Object right)
focal_class.class_method_signature: TypeUtils.compareTo(Character left, Number right)
focal_class.full_signature: public static int compareTo(Character left, Number right)
focal_class.identifier: compareTo
focal_class.modifiers: public static
focal_class.parameters: (Character left, Number right)
focal_class.return: int
focal_class.signature: int compareTo(Character left, Number right)
focal_class.class_method_signature: TypeUtils.compareTo(Number left, Character right)
focal_class.full_signature: public static int compareTo(Number left, Character right)
focal_class.identifier: compareTo
focal_class.modifiers: public static
focal_class.parameters: (Number left, Character right)
focal_class.return: int
focal_class.signature: int compareTo(Number left, Character right)
focal_class.class_method_signature: TypeUtils.compareTo(Character left, Character right)
focal_class.full_signature: public static int compareTo(Character left, Character right)
focal_class.identifier: compareTo
focal_class.modifiers: public static
focal_class.parameters: (Character left, Character right)
focal_class.return: int
focal_class.signature: int compareTo(Character left, Character right)
focal_class.class_method_signature: TypeUtils.compareTo(Number left, Number right)
focal_class.full_signature: public static int compareTo(Number left, Number right)
focal_class.identifier: compareTo
focal_class.modifiers: public static
focal_class.parameters: (Number left, Number right)
focal_class.return: int
focal_class.signature: int compareTo(Number left, Number right)
focal_class.class_method_signature: TypeUtils.isFloatingPoint(Number number)
focal_class.full_signature: public static boolean isFloatingPoint(Number number)
focal_class.identifier: isFloatingPoint
focal_class.modifiers: public static
focal_class.parameters: (Number number)
focal_class.return: boolean
focal_class.signature: boolean isFloatingPoint(Number number)
focal_class.class_method_signature: TypeUtils.isInteger(Number number)
focal_class.full_signature: public static boolean isInteger(Number number)
focal_class.identifier: isInteger
focal_class.modifiers: public static
focal_class.parameters: (Number number)
focal_class.return: boolean
focal_class.signature: boolean isInteger(Number number)
focal_class.class_method_signature: TypeUtils.isLong(Number number)
focal_class.full_signature: public static boolean isLong(Number number)
focal_class.identifier: isLong
focal_class.modifiers: public static
focal_class.parameters: (Number number)
focal_class.return: boolean
focal_class.signature: boolean isLong(Number number)
focal_class.class_method_signature: TypeUtils.isBigDecimal(Number number)
focal_class.full_signature: public static boolean isBigDecimal(Number number)
focal_class.identifier: isBigDecimal
focal_class.modifiers: public static
focal_class.parameters: (Number number)
focal_class.return: boolean
focal_class.signature: boolean isBigDecimal(Number number)
focal_class.class_method_signature: TypeUtils.isBigInteger(Number number)
focal_class.full_signature: public static boolean isBigInteger(Number number)
focal_class.identifier: isBigInteger
focal_class.modifiers: public static
focal_class.parameters: (Number number)
focal_class.return: boolean
focal_class.signature: boolean isBigInteger(Number number)
focal_method.body: public static boolean equals(@Nullable Object left, @Nullable Object right) {
          if (left == right) return true;
          if (left == null || right == null) return false;
  
          // handle arrays on both sides as special case for efficiency
          Class<?> leftClass = left.getClass();
          Class<?> rightClass = right.getClass();
          if (leftClass.isArray() && rightClass.isArray()) {
              return arrayEqual(left, right);
          }
          if (leftClass.isArray() && leftClass.getComponentType().isPrimitive()) {
              left = primitiveArrayToList(left);
          }
          if (rightClass.isArray() && rightClass.getComponentType().isPrimitive()) {
              right = primitiveArrayToList(right);
          }
          if (left instanceof Object[] && right instanceof List) {
              return equals((Object[]) left, (List) right);
          }
          if (left instanceof List && right instanceof Object[]) {
              return equals((List) left, (Object[]) right);
          }
          if (left instanceof List && right instanceof List) {
              return equals((List) left, (List) right);
          }
          if (left instanceof Map.Entry && right instanceof Map.Entry) {
              Object k1 = ((Map.Entry) left).getKey();
              Object k2 = ((Map.Entry) right).getKey();
              if (k1 == k2 || (k1 != null && k1.equals(k2))) {
                  Object v1 = ((Map.Entry) left).getValue();
                  Object v2 = ((Map.Entry) right).getValue();
                  if (v1 == v2 || (v1 != null && equals(v1, v2)))
                      return true;
              }
              return false;
          }
  
          return left.equals(right);
      }
focal_method.class_method_signature: TypeUtils.equals(@Nullable Object left, @Nullable Object right)
focal_method.full_signature: public static boolean equals(@Nullable Object left, @Nullable Object right)
focal_method.identifier: equals
focal_method.invocations: getClass getClass isArray isArray arrayEqual isArray isPrimitive getComponentType primitiveArrayToList isArray isPrimitive getComponentType primitiveArrayToList equals equals equals getKey getKey equals getValue getValue equals equals
focal_method.modifiers: public static
focal_method.parameters: (@Nullable Object left, @Nullable Object right)
focal_method.return: boolean
focal_method.signature: boolean equals(@Nullable Object left, @Nullable Object right)