Searched refs:LimitedClass (Results 1 – 1 of 1) sorted by relevance
158 .setClassInstanceLimit(LimitedClass.class, 1) in testClassInstanceLimit()160 List<LimitedClass> references = new ArrayList<>(); in testClassInstanceLimit()161 assertNoViolation(() -> references.add(new LimitedClass())); in testClassInstanceLimit()162 references.add(new LimitedClass()); in testClassInstanceLimit()168 private static final class LimitedClass {} class in StrictModeTest