Top Description Fields Constructors Methods
org.freedesktop.dbus.types

public Class DBusStructType

extends Object
implements ParameterizedType
Class Inheritance
All Implemented Interfaces
java.lang.reflect.ParameterizedType, java.lang.reflect.Type
Imports
org.freedesktop.dbus.Struct, java.lang.reflect.ParameterizedType, .Type

The type of a struct. Should be used whenever you need a Type variable for a struct.

Field Summary

Modifier and TypeField and Description
private final Type[]

Constructor Summary

AccessConstructor and Description
public
DBusStructType(Type...
The types contained in this struct.
_contents
)

Create a struct type.

Method Summary

Modifier and TypeMethod and Description
public Type[]
getActualTypeArguments()

Implements java.lang.reflect.ParameterizedType.getActualTypeArguments.

Returns an array of Type objects representing the actual type arguments to this type.

public Type
getOwnerType()

Implements java.lang.reflect.ParameterizedType.getOwnerType.

Returns a Type object representing the type that this type is a member of.

public Type
getRawType()

Implements java.lang.reflect.ParameterizedType.getRawType.

Returns the Type object representing the class or interface that declared this type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contentsback to summary
private final Type[] contents

Constructor Detail

DBusStructTypeback to summary
public DBusStructType(Type... _contents)

Create a struct type.

Parameters
_contents:Type[]

The types contained in this struct.

Method Detail

getActualTypeArgumentsback to summary
public Type[] getActualTypeArguments()

Implements java.lang.reflect.ParameterizedType.getActualTypeArguments.

Doc from java.lang.reflect.ParameterizedType.getActualTypeArguments.

Returns an array of Type objects representing the actual type arguments to this type.

Note that in some cases, the returned array be empty. This can occur if this type represents a non-parameterized type nested within a parameterized type.

Returns:Type[]

an array of Type objects representing the actual type arguments to this type

Annotations
@Override
getOwnerTypeback to summary
public Type getOwnerType()

Implements java.lang.reflect.ParameterizedType.getOwnerType.

Doc from java.lang.reflect.ParameterizedType.getOwnerType.

Returns a Type object representing the type that this type is a member of. For example, if this type is O<T>.I<S>, return a representation of O<T>.

If this type is a top-level type, null is returned.

Returns:Type

a Type object representing the type that this type is a member of. If this type is a top-level type, null is returned

Annotations
@Override
getRawTypeback to summary
public Type getRawType()

Implements java.lang.reflect.ParameterizedType.getRawType.

Doc from java.lang.reflect.ParameterizedType.getRawType.

Returns the Type object representing the class or interface that declared this type.

Returns:Type

the Type object representing the class or interface that declared this type

Annotations
@Override