Qwylt

java.lang.module
Class ServiceType.ParameterizedClass<T>

java.lang.Object
  extended by java.lang.module.ServiceType.ParameterizedClass<T>
Enclosing class:
ServiceType<T>

public abstract static class ServiceType.ParameterizedClass<T>
extends java.lang.Object

A wrapper for parameterized class literals. To use, create an anonymous subclass:

     import static java.lang.module.ServiceType.ParameterizedClass;
 

ServiceType> = new ServiceType>(new ParameterizedClass>(){});


Constructor Summary
protected ServiceType.ParameterizedClass()
           
 
Method Summary
 java.lang.Class<T> getParameterClass()
          Returns the class of the parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceType.ParameterizedClass

protected ServiceType.ParameterizedClass()
Method Detail

getParameterClass

public java.lang.Class<T> getParameterClass()
Returns the class of the parameter.

Returns:
The class.

Qwylt

Send comments or questions to Bryan Atsatt