infer_clone/infer/documentation/issues/CHECKERS_ALLOCATES_MEMORY.md

13 lines
188 B

A method annotated with `@NoAllocation` transitively calls `new`.
Example:
```java
class C implements I {
@NoAllocation
void directlyAllocatingMethod() {
new Object();
}
}
```