Home
last modified time | relevance | path

Searched refs:assertNonEmpty (Results 1 – 12 of 12) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithIdentifier.java26 import static com.github.javaparser.utils.Utils.assertNonEmpty;
38 assertNonEmpty(identifier); in setId()
DNodeWithName.java28 import static com.github.javaparser.utils.Utils.assertNonEmpty;
44 assertNonEmpty(name); in setName()
DNodeWithSimpleName.java28 import static com.github.javaparser.utils.Utils.assertNonEmpty;
42 assertNonEmpty(name); in setName()
DNodeWithOptionalLabel.java8 import static com.github.javaparser.utils.Utils.assertNonEmpty;
21 assertNonEmpty(label); in setLabel()
DNodeWithType.java29 import static com.github.javaparser.utils.Utils.assertNonEmpty;
71 assertNonEmpty(typeString); in setType()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DUtilsTest.java58 assertEquals("foo", assertNonEmpty("foo")); in testAssertNonEmpty()
59 assertThrows(AssertionError.class, () -> assertNonEmpty("")); in testAssertNonEmpty()
60 assertThrows(AssertionError.class, () -> assertNonEmpty(null)); in testAssertNonEmpty()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DSimpleName.java29 import static com.github.javaparser.utils.Utils.assertNonEmpty;
86 assertNonEmpty(identifier); in setIdentifier()
DName.java35 import static com.github.javaparser.utils.Utils.assertNonEmpty;
102 assertNonEmpty(identifier); in setIdentifier()
DMethodReferenceExpr.java32 import static com.github.javaparser.utils.Utils.assertNonEmpty;
148 assertNonEmpty(identifier); in setIdentifier()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DEnumDeclaration.java41 import static com.github.javaparser.utils.Utils.assertNonEmpty;
147 assertNonEmpty(name); in addEnumConstant()
DVariableDeclarator.java45 import static com.github.javaparser.utils.Utils.assertNonEmpty;
202 return setInitializer(new NameExpr(assertNonEmpty(init))); in setInitializer()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DUtils.java52 public static String assertNonEmpty(String string) { in assertNonEmpty() method in Utils