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) void
addParameterizedType(ParameterizedInterfaceModel type)
java.lang.String
getName()
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.InterfaceModel
getRawInterface()
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:ParameterizedInterfaceModel
Returns the name where parameter types are enclosed in < > comma separated, like declaration in source java files.- Specified by:
getName
in interfaceParameterizedInterfaceModel
- Returns:
- a declaration for this type
-
getRawInterfaceProxy
public TypeProxy<InterfaceModel> getRawInterfaceProxy()
-
getRawInterface
public InterfaceModel getRawInterface()
Description copied from interface:ParameterizedInterfaceModel
Returns the raw interface for this parameterized type- Specified by:
getRawInterface
in interfaceParameterizedInterfaceModel
- Returns:
- the interface model instance
-
getParametizedTypes
public java.util.Collection<ParameterizedInterfaceModel> getParametizedTypes()
Description copied from interface:ParameterizedInterfaceModel
Returns the type parameters in order.- Specified by:
getParametizedTypes
in interfaceParameterizedInterfaceModel
- Returns:
- the type parameters in order.
-
-