public class AnnotationUtil extends Object
| Constructor and Description |
|---|
AnnotationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationConfig |
createAnnotationTree(AnnotationConfig rootAnnotationConfig,
org.brandao.brutos.ConfigurableApplicationContext applicationContext,
List<Class<?>> list) |
static AnnotationConfig |
createAnnotationTree(org.brandao.brutos.ConfigurableApplicationContext applicationContext,
List<Class<?>> list) |
static ConfigurationEntry |
createConfigurationEntry(ComponentScan componentScan) |
static ConfigurationEntry |
createDefaultConfiguration() |
static Scanner |
createScanner(ConfigurationEntry configuration,
TypeFilter[] defaultFilters) |
static boolean |
existAnnotation(Any annotation) |
protected static AnnotationConfigEntry |
getAnnotationConfig(org.brandao.brutos.ConfigurableApplicationContext applicationContext,
Stereotype stereotype,
Class<?> clazz) |
protected static Map<Class<?>,AnnotationConfigEntry> |
getAnnotationConfigEntry(org.brandao.brutos.ConfigurableApplicationContext applicationContext,
List<Class<?>> list) |
static Annotation[] |
getAnnotations(ElementCollection annotation) |
static Annotation[] |
getAnnotations(KeyCollection annotation) |
static String |
getBeanName(BeanPropertyAnnotation property) |
static String |
getBeanName(Class<?> type) |
static Object |
getCollectionType(Object type) |
static org.brandao.brutos.EnumerationType |
getEnumerationType(Any value) |
static org.brandao.brutos.EnumerationType |
getEnumerationType(Enumerated value) |
static org.brandao.brutos.EnumerationType |
getEnumerationType(EnumerationType value) |
static Object |
getKeyType(Object type) |
static org.brandao.brutos.ScopeType |
getScope(Basic value) |
static String |
getTemporalProperty(Any value) |
static String |
getTemporalProperty(Temporal value) |
static List<TypeFilter> |
getTypeFilter(List<String> expression,
String type) |
static org.brandao.brutos.type.Type |
getTypeInstance(Any value) |
static org.brandao.brutos.type.Type |
getTypeInstance(Class<?> value) |
static org.brandao.brutos.type.Type |
getTypeInstance(Type value) |
static boolean |
isAction(ActionEntry action) |
static boolean |
isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
Basic identify,
Class<?> type) |
static boolean |
isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
Boolean build,
Class<?> type) |
static boolean |
isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
ElementCollection identify,
Class<?> type) |
static boolean |
isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
KeyCollection identify,
Class<?> type) |
static boolean |
isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
MappingTypes mappingType,
Class<?> type) |
static boolean |
isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
Result resultAction,
Class<?> type) |
static boolean |
isCollection(Class<?> clazz) |
static boolean |
isComplexBean(Class<?> type) |
static boolean |
isController(Class<?> clazz) |
static boolean |
isExceptionAction(ActionEntry action) |
static boolean |
isInterceptor(Class<?> clazz) |
static boolean |
isInterceptorStack(Class<?> clazz) |
static boolean |
isMap(Class<?> clazz) |
static boolean |
isObject(ElementEntry element,
org.brandao.brutos.ComponentRegistry componentRegistry) |
static boolean |
isObject(KeyEntry element,
org.brandao.brutos.ComponentRegistry componentRegistry) |
static boolean |
isScope(Class<?> clazz) |
static boolean |
isTransient(Class<?> clazz) |
static boolean |
isUseDefaultMapping(Class<?> type) |
static List<ThrowableEntry> |
toEntry(ThrowSafe value) |
static ThrowableEntry |
toEntry(ThrowSafe value,
Class<? extends Throwable> target) |
static org.brandao.brutos.xml.FilterEntity |
toFilterEntity(TypeFilter typeFilter) |
static List<ThrowableEntry> |
toList(List<ThrowSafe> list) |
static List<ThrowSafe> |
toList(ThrowSafeList value) |
public static List<ThrowSafe> toList(ThrowSafeList value)
public static ThrowableEntry toEntry(ThrowSafe value, Class<? extends Throwable> target)
public static List<ThrowableEntry> toEntry(ThrowSafe value)
public static List<ThrowableEntry> toList(List<ThrowSafe> list)
public static boolean isInterceptor(Class<?> clazz)
public static boolean isInterceptorStack(Class<?> clazz)
public static boolean isController(Class<?> clazz)
public static boolean isAction(ActionEntry action)
public static boolean isExceptionAction(ActionEntry action)
public static boolean isScope(Class<?> clazz)
public static boolean isTransient(Class<?> clazz)
public static org.brandao.brutos.type.Type getTypeInstance(Any value)
public static org.brandao.brutos.type.Type getTypeInstance(Type value)
public static org.brandao.brutos.type.Type getTypeInstance(Class<?> value)
public static org.brandao.brutos.EnumerationType getEnumerationType(Any value)
public static org.brandao.brutos.EnumerationType getEnumerationType(Enumerated value)
public static org.brandao.brutos.EnumerationType getEnumerationType(EnumerationType value)
public static org.brandao.brutos.ScopeType getScope(Basic value)
public static boolean isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
Boolean build,
Class<?> type)
public static boolean isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
MappingTypes mappingType,
Class<?> type)
public static boolean isComplexBean(Class<?> type)
public static boolean isUseDefaultMapping(Class<?> type)
public static boolean isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
KeyCollection identify,
Class<?> type)
public static boolean isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
ElementCollection identify,
Class<?> type)
public static boolean isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
Basic identify,
Class<?> type)
public static boolean isBuildEntity(org.brandao.brutos.TypeRegistry typeRegistry,
Result resultAction,
Class<?> type)
public static boolean isCollection(Class<?> clazz)
public static boolean isMap(Class<?> clazz)
public static AnnotationConfig createAnnotationTree(org.brandao.brutos.ConfigurableApplicationContext applicationContext, List<Class<?>> list)
public static AnnotationConfig createAnnotationTree(AnnotationConfig rootAnnotationConfig, org.brandao.brutos.ConfigurableApplicationContext applicationContext, List<Class<?>> list)
protected static Map<Class<?>,AnnotationConfigEntry> getAnnotationConfigEntry(org.brandao.brutos.ConfigurableApplicationContext applicationContext, List<Class<?>> list)
protected static AnnotationConfigEntry getAnnotationConfig(org.brandao.brutos.ConfigurableApplicationContext applicationContext, Stereotype stereotype, Class<?> clazz)
public static Scanner createScanner(ConfigurationEntry configuration, TypeFilter[] defaultFilters)
public static List<TypeFilter> getTypeFilter(List<String> expression, String type)
public static ConfigurationEntry createDefaultConfiguration()
public static org.brandao.brutos.xml.FilterEntity toFilterEntity(TypeFilter typeFilter)
public static ConfigurationEntry createConfigurationEntry(ComponentScan componentScan)
public static String getBeanName(BeanPropertyAnnotation property)
public static Annotation[] getAnnotations(KeyCollection annotation)
public static Annotation[] getAnnotations(ElementCollection annotation)
public static boolean existAnnotation(Any annotation)
public static boolean isObject(ElementEntry element, org.brandao.brutos.ComponentRegistry componentRegistry)
public static boolean isObject(KeyEntry element, org.brandao.brutos.ComponentRegistry componentRegistry)
Copyright © 2018 Brandao. All rights reserved.