Searched refs:LimitedClass (Results 1 – 1 of 1) sorted by relevance
170 .setClassInstanceLimit(LimitedClass.class, 1) in testClassInstanceLimit()172 List<LimitedClass> references = new ArrayList<>(); in testClassInstanceLimit()173 assertNoViolation(() -> references.add(new LimitedClass())); in testClassInstanceLimit()174 references.add(new LimitedClass()); in testClassInstanceLimit()181 private static final class LimitedClass {} class in StrictModeTest