@Test public void testIsPrimitiveNumber() throws Exception { assertTrue(FluxBuilder.isPrimitiveNumber(int.class)); assertFalse(FluxBuilder.isPrimitiveNumber(boolean.class)); assertFalse(FluxBuilder.isPrimitiveNumber(String.class)); }
public static boolean isPrimitiveNumber(Class clazz){ return clazz.isPrimitive() && !clazz.equals(boolean.class); }
FluxBuilder { public static boolean isPrimitiveNumber(Class clazz){ return clazz.isPrimitive() && !clazz.equals(boolean.class); } }
FluxBuilder { public static boolean isPrimitiveNumber(Class clazz){ return clazz.isPrimitive() && !clazz.equals(boolean.class); }  }
FluxBuilder { public static boolean isPrimitiveNumber(Class clazz){ return clazz.isPrimitive() && !clazz.equals(boolean.class); }  static Config buildConfig(TopologyDef topologyDef); static void invokeConfigMethods(ObjectDef bean, Object instance, ExecutionContext context); static boolean isPrimitiveNumber(Class clazz); }
FluxBuilder { public static boolean isPrimitiveNumber(Class clazz){ return clazz.isPrimitive() && !clazz.equals(boolean.class); }  static Config buildConfig(TopologyDef topologyDef); static void invokeConfigMethods(ObjectDef bean, Object instance, ExecutionContext context); static boolean isPrimitiveNumber(Class clazz);  }