(Object x)
| 5879 | } |
| 5880 | |
| 5881 | static public char classChar(Object x){ |
| 5882 | Class c = null; |
| 5883 | if(x instanceof Class) |
| 5884 | c = (Class) x; |
| 5885 | else if(x instanceof Symbol) |
| 5886 | c = primClass((Symbol) x); |
| 5887 | if(c == null || !c.isPrimitive()) |
| 5888 | return 'O'; |
| 5889 | if(c == long.class) |
| 5890 | return 'L'; |
| 5891 | if(c == double.class) |
| 5892 | return 'D'; |
| 5893 | throw new IllegalArgumentException("Only long and double primitives are supported"); |
| 5894 | } |
| 5895 | |
| 5896 | static public String primInterface(IPersistentVector arglist) { |
| 5897 | StringBuilder sb = new StringBuilder(); |
no test coverage detected