Package | Description |
---|---|
org.eclipse.emf.ecp.common.spi.asserts |
Modifier and Type | Method and Description |
---|---|
static <T> Assert<T> |
Assert.create(T object) |
Assert<T> |
Assert.notNull()
Checks if the object is null, in which case an
IllegalArgumentException is thrown. |
Assert<?> |
Assert.ofClass(Class<?> clazz)
Checks if the object has a different type than the Class provided as parameter, in which case an
IllegalArgumentException is thrown. |
Copyright © 2018. All rights reserved.