org.apache.aries.blueprint.container
Class GenericType
java.lang.Object
org.osgi.service.blueprint.container.ReifiedType
org.apache.aries.blueprint.container.GenericType
public class GenericType
- extends org.osgi.service.blueprint.container.ReifiedType
XXXX: Currently, in case of arrays getActualTypeArgument(0) returns something similar to what
Class.getComponentType() does for arrays. I don't think this is quite right since getActualTypeArgument()
should return the given parameterized type not the component type. Need to check this behavior with the spec.
Methods inherited from class org.osgi.service.blueprint.container.ReifiedType |
getRawClass |
GenericType
public GenericType(Type type)
GenericType
public GenericType(Class clazz,
GenericType... parameters)
parse
public static GenericType parse(String rawType,
Object loader)
throws ClassNotFoundException,
IllegalArgumentException
- Throws:
ClassNotFoundException
IllegalArgumentException
getActualTypeArgument
public org.osgi.service.blueprint.container.ReifiedType getActualTypeArgument(int i)
- Overrides:
getActualTypeArgument
in class org.osgi.service.blueprint.container.ReifiedType
size
public int size()
- Overrides:
size
in class org.osgi.service.blueprint.container.ReifiedType
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.