public class TypeTesterUtil extends Object
Constructor and Description |
---|
TypeTesterUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasPackage(String className)
Tests whether the given classname has a package the current logic is simple where we look
for a '.' inside the classname string
|
static boolean |
isPrimitive(String className)
Check whether a given classname is primitives
|
public static boolean isPrimitive(String className)
className
- public static boolean hasPackage(String className)
className
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.