Uses of Class
com.squareup.javapoet.TypeVariableName
-
-
Uses of TypeVariableName in com.squareup.javapoet
Fields in com.squareup.javapoet with type parameters of type TypeVariableName Modifier and Type Field Description java.util.List<TypeVariableName>MethodSpec.Builder. typeVariablesjava.util.List<TypeVariableName>MethodSpec. typeVariablesjava.util.List<TypeVariableName>TypeSpec.Builder. typeVariablesjava.util.List<TypeVariableName>TypeSpec. typeVariablesMethods in com.squareup.javapoet that return TypeVariableName Modifier and Type Method Description TypeVariableNameTypeVariableName. annotated(java.util.List<AnnotationSpec> annotations)static TypeVariableNameTypeVariableName. get(java.lang.reflect.TypeVariable<?> type)Returns type variable equivalent totype.(package private) static TypeVariableNameTypeVariableName. get(java.lang.reflect.TypeVariable<?> type, java.util.Map<java.lang.reflect.Type,TypeVariableName> map)static TypeVariableNameTypeVariableName. get(java.lang.String name)Returns type variable namednamewithout bounds.static TypeVariableNameTypeVariableName. get(java.lang.String name, TypeName... bounds)Returns type variable namednamewithbounds.static TypeVariableNameTypeVariableName. get(java.lang.String name, java.lang.reflect.Type... bounds)Returns type variable namednamewithbounds.static TypeVariableNameTypeVariableName. get(javax.lang.model.element.TypeParameterElement element)Returns type variable equivalent toelement.static TypeVariableNameTypeVariableName. get(javax.lang.model.type.TypeVariable mirror)Returns type variable equivalent tomirror.(package private) static TypeVariableNameTypeVariableName. get(javax.lang.model.type.TypeVariable mirror, java.util.Map<javax.lang.model.element.TypeParameterElement,TypeVariableName> typeVariables)Make a TypeVariableName for the given TypeMirror.private static TypeVariableNameTypeVariableName. of(java.lang.String name, java.util.List<TypeName> bounds)TypeVariableNameTypeVariableName. withBounds(TypeName... bounds)TypeVariableNameTypeVariableName. withBounds(java.lang.reflect.Type... bounds)TypeVariableNameTypeVariableName. withBounds(java.util.List<? extends TypeName> bounds)Methods in com.squareup.javapoet with parameters of type TypeVariableName Modifier and Type Method Description MethodSpec.BuilderMethodSpec.Builder. addTypeVariable(TypeVariableName typeVariable)TypeSpec.BuilderTypeSpec.Builder. addTypeVariable(TypeVariableName typeVariable)Method parameters in com.squareup.javapoet with type arguments of type TypeVariableName Modifier and Type Method Description MethodSpec.BuilderMethodSpec.Builder. addTypeVariables(java.lang.Iterable<TypeVariableName> typeVariables)TypeSpec.BuilderTypeSpec.Builder. addTypeVariables(java.lang.Iterable<TypeVariableName> typeVariables)voidCodeWriter. emitTypeVariables(java.util.List<TypeVariableName> typeVariables)Emit type variables with their bounds.(package private) static ArrayTypeNameArrayTypeName. get(java.lang.reflect.GenericArrayType type, java.util.Map<java.lang.reflect.Type,TypeVariableName> map)(package private) static ArrayTypeNameArrayTypeName. get(javax.lang.model.type.ArrayType mirror, java.util.Map<javax.lang.model.element.TypeParameterElement,TypeVariableName> typeVariables)(package private) static ParameterizedTypeNameParameterizedTypeName. get(java.lang.reflect.ParameterizedType type, java.util.Map<java.lang.reflect.Type,TypeVariableName> map)Returns a parameterized type equivalent totype.(package private) static TypeNameTypeName. get(java.lang.reflect.Type type, java.util.Map<java.lang.reflect.Type,TypeVariableName> map)(package private) static TypeNameTypeName. get(javax.lang.model.type.TypeMirror mirror, java.util.Map<javax.lang.model.element.TypeParameterElement,TypeVariableName> typeVariables)(package private) static TypeVariableNameTypeVariableName. get(java.lang.reflect.TypeVariable<?> type, java.util.Map<java.lang.reflect.Type,TypeVariableName> map)(package private) static TypeVariableNameTypeVariableName. get(javax.lang.model.type.TypeVariable mirror, java.util.Map<javax.lang.model.element.TypeParameterElement,TypeVariableName> typeVariables)Make a TypeVariableName for the given TypeMirror.(package private) static TypeNameWildcardTypeName. get(java.lang.reflect.WildcardType wildcardName, java.util.Map<java.lang.reflect.Type,TypeVariableName> map)(package private) static TypeNameWildcardTypeName. get(javax.lang.model.type.WildcardType mirror, java.util.Map<javax.lang.model.element.TypeParameterElement,TypeVariableName> typeVariables)(package private) static java.util.List<TypeName>TypeName. list(java.lang.reflect.Type[] types, java.util.Map<java.lang.reflect.Type,TypeVariableName> map)voidCodeWriter. popTypeVariables(java.util.List<TypeVariableName> typeVariables)
-