MCPcopy Index your code
hub / github.com/google/dagger / of

Method of

java/dagger/internal/codegen/OptionalType.java:63–65  ·  view source on GitHub ↗

Returns valueType wrapped in the correct class.

(TypeName valueType)

Source from the content-addressed store, hash-verified

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() {

Calls 1

getMethod · 0.65