public class AnnotationUtils extends Object
Constructor and Description |
---|
AnnotationUtils() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
allEmpty(String... strings)
Returns
|
protected static boolean |
allEmpty(String[]... strings)
Returns
|
protected static boolean |
allFalse(boolean... booleans)
Returns
|
protected static boolean |
allMinusOne(long... longs)
Returns
|
static boolean |
empty(Body a)
Returns
|
static boolean |
empty(Contact a)
Returns
|
static boolean |
empty(ExternalDocs a)
Returns
|
static boolean |
empty(FormData a)
Returns
|
static boolean |
empty(Header a)
Returns
|
static boolean |
empty(Items a)
Returns
|
static boolean |
empty(License a)
Returns
|
static boolean |
empty(Path a)
Returns
|
static boolean |
empty(Query a)
Returns
|
static boolean |
empty(Response a)
Returns
|
static boolean |
empty(ResponseHeader a)
Returns
|
static boolean |
empty(Schema a)
Returns
|
static boolean |
empty(SubItems a)
Returns
|
public AnnotationUtils()
public static boolean empty(Query a)
a
- The annotation to check.public static boolean empty(Header a)
a
- The annotation to check.public static boolean empty(FormData a)
a
- The annotation to check.public static boolean empty(Response a)
a
- The annotation to check.public static boolean empty(ResponseHeader a)
a
- The annotation to check.public static boolean empty(Schema a)
a
- The annotation to check.public static boolean empty(ExternalDocs a)
a
- The annotation to check.public static boolean empty(Body a)
a
- The annotation to check.public static boolean empty(Contact a)
a
- The annotation to check.public static boolean empty(License a)
a
- The annotation to check.public static boolean empty(Items a)
a
- The annotation to check.public static boolean empty(SubItems a)
a
- The annotation to check.public static boolean empty(Path a)
a
- The annotation to check.protected static boolean allEmpty(String... strings)
strings
- The strings to test.protected static boolean allEmpty(String[]... strings)
strings
- The strings to test.protected static boolean allFalse(boolean... booleans)
booleans
- The booleans to test.protected static boolean allMinusOne(long... longs)
longs
- The booleans to test.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.