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

Method create

java/dagger/internal/codegen/Expression.java:46–48  ·  view source on GitHub ↗

Creates a new Expression with a TypeMirror and CodeBlock.

(TypeMirror type, CodeBlock expression)

Source from the content-addressed store, hash-verified

44
45 /** Creates a new {@link Expression} with a {@link TypeMirror} and {@link CodeBlock}. */
46 static Expression create(TypeMirror type, CodeBlock expression) {
47 return new Expression(type, expression);
48 }
49
50 /**
51 * Creates a new {@link Expression} with a {@link TypeMirror}, {@linkplain CodeBlock#of(String,

Callers 15

castToMethod · 0.95
invokeMethodMethod · 0.95
injectMembersMethod · 0.95
toMethod · 0.95

Calls 1

ofMethod · 0.45

Tested by 1

castToMethod · 0.76