uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

GenericType(Type genericType) constructor

Description

This constructor sets up a new GenericType object. The types of generics in which the target type parameter is resolved and the class declaring the generics are acquired from the genericType parameter.

Syntax

public GenericType(Type genericType)

Parameter

genericType
This is the java.lang.Type object that expresses the generics in which the type parameter is resolved.

Return value

None.

Exception

IllegalArgumentException
This exception is thrown if the genericType parameter is null, or if the genericType parameter is neither the java.lang.Class object nor the java.lang.reflect.ParameterizedType object where the type declaring the parameter type is a class.

Notes

None.