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

Method append

java/dagger/internal/codegen/BuilderValidator.java:222–226  ·  view source on GitHub ↗
(Object[] initial, Object additional)

Source from the content-addressed store, hash-verified

220 }
221
222 private static Object[] append(Object[] initial, Object additional) {
223 Object[] newArray = Arrays.copyOf(initial, initial.length + 1);
224 newArray[initial.length] = additional;
225 return newArray;
226 }
227
228 /**
229 * Returns all methods defind in {@code componentType} which are not inherited from a supertype.

Callers 15

errorMethod · 0.95
visit_CallMethod · 0.80
hasErrorMethod · 0.80
processMethod · 0.80
basicInjectedTypeMethod · 0.80
memberInjectedTypeMethod · 0.80
toStringMethod · 0.80

Calls

no outgoing calls

Tested by 10

visit_CallMethod · 0.64
hasErrorMethod · 0.64
processMethod · 0.64
basicInjectedTypeMethod · 0.64
memberInjectedTypeMethod · 0.64