Class ParameterizedInterfaceModelImpl
- java.lang.Object
-
- org.glassfish.hk2.classmodel.reflect.impl.ParameterizedInterfaceModelImpl
-
- All Implemented Interfaces:
ParameterizedInterfaceModel
class ParameterizedInterfaceModelImpl extends java.lang.Object implements ParameterizedInterfaceModel
Implementation of theParameterizedInterfaceModel
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<ParameterizedInterfaceModel>parameterizedTypes(package private) TypeProxy<InterfaceModel>rawInterface
-
Constructor Summary
Constructors Constructor Description ParameterizedInterfaceModelImpl(TypeProxy<InterfaceModel> rawInterface)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddParameterizedType(ParameterizedInterfaceModel type)java.lang.StringgetName()Returns the name where parameter types are enclosed in < > comma separated, like declaration in source java files.java.util.Collection<ParameterizedInterfaceModel>getParametizedTypes()Returns the type parameters in order.InterfaceModelgetRawInterface()Returns the raw interface for this parameterized typeTypeProxy<InterfaceModel>getRawInterfaceProxy()
-
-
-
Field Detail
-
rawInterface
final TypeProxy<InterfaceModel> rawInterface
-
parameterizedTypes
final java.util.List<ParameterizedInterfaceModel> parameterizedTypes
-
-
Constructor Detail
-
ParameterizedInterfaceModelImpl
ParameterizedInterfaceModelImpl(TypeProxy<InterfaceModel> rawInterface)
-
-
Method Detail
-
addParameterizedType
void addParameterizedType(ParameterizedInterfaceModel type)
-
getName
public java.lang.String getName()
Description copied from interface:ParameterizedInterfaceModelReturns the name where parameter types are enclosed in < > comma separated, like declaration in source java files.- Specified by:
getNamein interfaceParameterizedInterfaceModel- Returns:
- a declaration for this type
-
getRawInterfaceProxy
public TypeProxy<InterfaceModel> getRawInterfaceProxy()
-
getRawInterface
public InterfaceModel getRawInterface()
Description copied from interface:ParameterizedInterfaceModelReturns the raw interface for this parameterized type- Specified by:
getRawInterfacein interfaceParameterizedInterfaceModel- Returns:
- the interface model instance
-
getParametizedTypes
public java.util.Collection<ParameterizedInterfaceModel> getParametizedTypes()
Description copied from interface:ParameterizedInterfaceModelReturns the type parameters in order.- Specified by:
getParametizedTypesin interfaceParameterizedInterfaceModel- Returns:
- the type parameters in order.
-
-