public class AnnotationUtil extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
OPTIONAL |
Constructor and Description |
---|
AnnotationUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
get(Class<T> annotationClass,
Class<?> clazz,
Object key) |
static int |
getDecimal(PropertyInterface property) |
static int |
getSize(PropertyInterface property) |
static int |
getSize(PropertyInterface property,
boolean optional) |
static boolean |
isSigned(PropertyInterface property) |
public static final boolean OPTIONAL
public static int getSize(PropertyInterface property)
public static int getSize(PropertyInterface property, boolean optional)
public static int getDecimal(PropertyInterface property)
public static <T extends Annotation> T get(Class<T> annotationClass, Class<?> clazz, Object key)
public static boolean isSigned(PropertyInterface property)
Copyright © 2019. All rights reserved.