Uses of Interface
java.lang.reflect.Type
| Package | Description |
|---|---|
| java.lang | |
| java.lang.reflect | |
| libcore.reflect | |
| libcore.util |
-
Uses of Type in java.lang
Classes in java.lang that implement Type Modifier and Type Class Description classClass<T>The in-memory representation of a Java class.Methods in java.lang that return Type Modifier and Type Method Description Type[]Class. getGenericInterfaces()Returns theTypes of the interfaces that thisClassdirectly implements.TypeClass. getGenericSuperclass()Returns theTypethat represents the superclass of thisclass. -
Uses of Type in java.lang.reflect
Subinterfaces of Type in java.lang.reflect Modifier and Type Interface Description interfaceGenericArrayTypeThis interface represents an array type with a component type that is either a parameterized type or a type variable.interfaceParameterizedTypeThis interface represents a parameterized type such as'Set<String>'.interfaceTypeVariable<D extends GenericDeclaration>This interface represents a type variables such as'T'in'public interface Comparable<T>', the bounded'T'in'public interface A<T extends Number>'or the multiple bounded'T'in'public interface B<T extends Number & Cloneable>'.interfaceWildcardTypeA pattern type, such as the upper bounded wildcard? extends Closeableor the lower bounded wildcard? super String.Methods in java.lang.reflect that return Type Modifier and Type Method Description Type[]ParameterizedType. getActualTypeArguments()Returns an array of the actual type arguments for this type.Type[]TypeVariable. getBounds()Returns the upper bounds of this type variable.TypeGenericArrayType. getGenericComponentType()Returns the component type of this array.Type[]Constructor. getGenericExceptionTypes()Returns the exception types as an array ofTypeinstances.Type[]Method. getGenericExceptionTypes()Returns the exception types as an array ofTypeinstances.Type[]Constructor. getGenericParameterTypes()Returns the generic parameter types as an array ofTypeinstances, in declaration order.Type[]Method. getGenericParameterTypes()Returns the parameter types as an array ofTypeinstances, in declaration order.TypeMethod. getGenericReturnType()Returns the return type of this method as aTypeinstance.TypeField. getGenericType()Returns the generic type of this field.Type[]WildcardType. getLowerBounds()Returns the array of types that represent the lower bounds of this type.TypeParameterizedType. getOwnerType()Returns the parent / owner type, if this type is an inner type, otherwisenullis returned if this is a top-level type.TypeParameterizedType. getRawType()Returns the declaring type of this parameterized type.Type[]WildcardType. getUpperBounds()Returns the array of types that represent the upper bounds of this type. -
Uses of Type in libcore.reflect
Classes in libcore.reflect that implement Type Modifier and Type Class Description classGenericArrayTypeImplclassParameterizedTypeImplclassTypeVariableImpl<D extends GenericDeclaration>classWildcardTypeImplFields in libcore.reflect declared as Type Modifier and Type Field Description TypeGenericSignatureParser. fieldTypeTypeGenericSignatureParser. returnTypeTypeGenericSignatureParser. superclassTypeMethods in libcore.reflect that return Type Modifier and Type Method Description Type[]ParameterizedTypeImpl. getActualTypeArguments()Type[]TypeVariableImpl. getBounds()TypeGenericArrayTypeImpl. getGenericComponentType()Type[]WildcardTypeImpl. getLowerBounds()TypeParameterizedTypeImpl. getOwnerType()Type[]ListOfTypes. getResolvedTypes()static TypeTypes. getType(Type type)static Type[]Types. getTypeArray(ListOfTypes types, boolean clone)Type[]WildcardTypeImpl. getUpperBounds()Methods in libcore.reflect with parameters of type Type Modifier and Type Method Description static voidTypes. appendArrayGenericType(StringBuilder out, Type[] types)Appends names of thetypestooutseparated by commas.static voidTypes. appendGenericType(StringBuilder out, Type type)static TypeTypes. getType(Type type)Constructors in libcore.reflect with parameters of type Type Constructor Description GenericArrayTypeImpl(Type componentType) -
Uses of Type in libcore.util
Fields in libcore.util declared as Type Modifier and Type Field Description static Type[]EmptyArray. TYPE