MCPcopy Index your code
hub / github.com/antlr/codebuff / register

Method register

output/java_guava/1.4.17/Closer.java:130–136  ·  view source on GitHub ↗
(@Nullable C closeable)

Source from the content-addressed store, hash-verified

128 // close. this word no longer has any meaning to me.
129
130 @CanIgnoreReturnValue
131 public <C extends Closeable> C register(@Nullable C closeable) {
132 if (closeable != null) {
133 stack.addFirst(closeable);
134 }
135 return closeable;
136 }
137
138 /**
139 * Stores the given throwable and rethrows it. It will be rethrown as is if it is an

Callers 15

writeMethod · 0.95
writeFromMethod · 0.95
isEmptyMethod · 0.95
sizeMethod · 0.95
copyToMethod · 0.95
readMethod · 0.95
contentEqualsMethod · 0.95
sliceStreamMethod · 0.95
readMethod · 0.95
mapMethod · 0.95
writeMethod · 0.95
writeLinesMethod · 0.95

Calls 1

addFirstMethod · 0.45

Tested by

no test coverage detected