MCPcopy Create free account
hub / github.com/beanshell/beanshell / isPrimitive

Method isPrimitive

src/bsh/ClassGeneratorUtil.java:1036–1038  ·  view source on GitHub ↗

Does the type descriptor string describe a primitive type?

(String typeDescriptor)

Source from the content-addressed store, hash-verified

1034 * Does the type descriptor string describe a primitive type?
1035 */
1036 private static boolean isPrimitive(String typeDescriptor) {
1037 return typeDescriptor.length() == 1; // right?
1038 }
1039
1040
1041 private static String[] getTypeDescriptors(Class[] cparams) {

Callers 4

generateReturnCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected