Searched refs:assertNonEmpty (Results 1 – 12 of 12) sorted by relevance
26 import static com.github.javaparser.utils.Utils.assertNonEmpty;38 assertNonEmpty(identifier); in setId()
28 import static com.github.javaparser.utils.Utils.assertNonEmpty;44 assertNonEmpty(name); in setName()
28 import static com.github.javaparser.utils.Utils.assertNonEmpty;42 assertNonEmpty(name); in setName()
8 import static com.github.javaparser.utils.Utils.assertNonEmpty;21 assertNonEmpty(label); in setLabel()
29 import static com.github.javaparser.utils.Utils.assertNonEmpty;71 assertNonEmpty(typeString); in setType()
58 assertEquals("foo", assertNonEmpty("foo")); in testAssertNonEmpty()59 assertThrows(AssertionError.class, () -> assertNonEmpty("")); in testAssertNonEmpty()60 assertThrows(AssertionError.class, () -> assertNonEmpty(null)); in testAssertNonEmpty()
29 import static com.github.javaparser.utils.Utils.assertNonEmpty;86 assertNonEmpty(identifier); in setIdentifier()
35 import static com.github.javaparser.utils.Utils.assertNonEmpty;102 assertNonEmpty(identifier); in setIdentifier()
32 import static com.github.javaparser.utils.Utils.assertNonEmpty;148 assertNonEmpty(identifier); in setIdentifier()
41 import static com.github.javaparser.utils.Utils.assertNonEmpty;147 assertNonEmpty(name); in addEnumConstant()
45 import static com.github.javaparser.utils.Utils.assertNonEmpty;202 return setInitializer(new NameExpr(assertNonEmpty(init))); in setInitializer()
52 public static String assertNonEmpty(String string) { in assertNonEmpty() method in Utils