| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | Returns: primitive or original inputclass name of boxed type _clazzName)Converts certain boxed types to primitives. |
| public static String | Returns: converted type or original inputfully qualified classname of the type to convert _fqcn, boolean if true, boxed types will be converted to primitives _usePrimitives)Transform certain java types to other java types (see |
| public static String | Returns: Java classname, maybe null if no suitable input was givenDBus data type string _dbusType, Set<String> List where additional imports will be added to (should not be null!) _javaIncludes)Converts a DBus data type string to java classname(s). |
| public static String | Returns: String with proper type, if no converation could be done, original input is returnedArgument to convert _argType, Set<String> Set where additional includes will be added (should never be null!) _includes)Converts a java class type to another type. |
| private static Map | Returns: Map where key is parent classname (e.g. List) and value is a list of types used inside the genericsType object _type)Resolve java type recursively. |
| private static String | Returns: class name of the parent type, maybe null if no suitable input providedDBus type string _dbusType, Set<String> list where additional java imports are added to (if any) _javaIncludes)Special handling for |
| CLASS_MAP | back to summary |
|---|---|
| private static final Map<String, String> CLASS_MAP | |
| TypeConverter | back to summary |
|---|---|
| private TypeConverter() | |
| convertJavaBoxedTypeToPrimitive | back to summary |
|---|---|
| private static String convertJavaBoxedTypeToPrimitive(String _clazzName) Converts certain boxed types to primitives. | |
| convertJavaType | back to summary |
|---|---|
| public static String convertJavaType(String _fqcn, boolean _usePrimitives) Transform certain java types to other java types (see | |
| getJavaTypeFromDBusType | back to summary |
|---|---|
| public static String getJavaTypeFromDBusType(String _dbusType, Set<String> _javaIncludes) throws DBusException Converts a DBus data type string to java classname(s).
| |
| getProperJavaClass | back to summary |
|---|---|
| public static String getProperJavaClass(String _argType, Set<String> _includes) Converts a java class type to another type. This is used for converting e.g. CharSequence to String etc. It will also remove unnecessary package names like java.lang. | |
| getTypeAdv | back to summary |
|---|---|
| private static Map Resolve java type recursively. | |
| getTypeAdv | back to summary |
|---|---|
| private static String getTypeAdv(String _dbusType, Set<String> _javaIncludes) throws DBusException Special handling for | |