Returns valueType wrapped in the correct class.
(TypeName valueType)
| 61 | |
| 62 | /** Returns {@code valueType} wrapped in the correct class. */ |
| 63 | ParameterizedTypeName of(TypeName valueType) { |
| 64 | return ParameterizedTypeName.get(ClassName.get(clazz), valueType); |
| 65 | } |
| 66 | |
| 67 | /** Returns an expression for the absent/empty value. */ |
| 68 | CodeBlock absentValueExpression() { |