| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | StructTreeBuilder.
Class to represent a tree structure. |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: Struct class name or Collection type namedbus Type string _dbusSig, String name the struct should have _structName, ClassBuilderInfo class builder with the class where the struct was first seen _clzBldr, List<ClassBuilderInfo> a list, this will contain additional struct classes created, if any. Should never be null! _generatedClasses)Builds the struct(s) found in _dbusSig. |
| private List | |
| private List | Returns: List of tree elements, maybe empty, never nullParameterizedType objectCreate tree from |
| private ClassBuilderInfo | Returns: last created struct or nullList of struct tree elements _list,root class of this struct (maybe other struct) _root, List<ClassBuilderInfo> a list, this will contain additional struct classes created, if any. Should never be null! _classes)Create nested Struct class. |
| pack-priv static void | printTree(List<StructTreeBuilder.
tree to print _buildTree,indention level (usually 0) _indent)Helper to print a StructTree to STDOUT (for debugging purposes). |
| argumentPrefix | back to summary |
|---|---|
| private final String argumentPrefix | |
| StructTreeBuilder | back to summary |
|---|---|
| pack-priv StructTreeBuilder(String _argumentPrefix) | |
| StructTreeBuilder | back to summary |
|---|---|
| pack-priv StructTreeBuilder() | |
| buildStructClasses | back to summary |
|---|---|
| public String buildStructClasses(String _dbusSig, String _structName, ClassBuilderInfo _clzBldr, List<ClassBuilderInfo> _generatedClasses) throws DBusException Builds the struct(s) found in _dbusSig.
If the struct is wrapped in a
| |
| buildTree | back to summary |
|---|---|
| private List Builds a tree of types based on the given DBus type definition string.
| |
| buildTree | back to summary |
|---|---|
| private List Create tree from
| |
| createNested | back to summary |
|---|---|
| private ClassBuilderInfo createNested(List<StructTreeBuilder. Create nested Struct class.
| |
| printTree | back to summary |
|---|---|
| pack-priv static void printTree(List<StructTreeBuilder. Helper to print a StructTree to STDOUT (for debugging purposes).
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public List | |
| public String |
| dataType | back to summary |
|---|---|
| private final Class<?> dataType | |
| subType | back to summary |
|---|---|
| private final List<StructTreeBuilder. | |
| StructTree | back to summary |
|---|---|
| pack-priv StructTree(String _dataType) | |
| getDataType | back to summary |
|---|---|
| public Class | |
| getSubType | back to summary |
|---|---|
| public List | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |