from Dictionary - Spring Utils
BeanUtils
빈으로 만들 클래스 또는 객체에 대해 처리를 위한 Util을 제공한다.
- findMethod
- findDeclaredMethod
- getParameterNames
- getResolvableConstructor
- instantiateClass
ReflectionUtils
리플렉션 API를 편리하게 사용할 수 있도록 해준다.
- accessibleConstructor
- declaresException
- findField
- findMethod
- getDeclaredMethods
- getAllDeclaredMethods
- getField
- setField
- invokeMethod
- makeAccessible
FileCopyUtils
파일 복사를 위한 유틸, 파일을 바이트 배열로 복사하거나 문자열로 복사한다.
- copy
- copyToByteArray
- copyToString
SystemPropertyUtils
시스템 property를 처리하기 위한 유틸
- resolvePlaceholders
Input/OutputStreamUtils
- copy
- copyRange
- copyToByteArray
- copyToString
AnnotationUtils
어노테이션, 메타 어노테이션을 핸들링하게 편하게 해주는 유틸
- findAnnotation(Class<?> clazz, Class annotationType) : 특정 clazz에서 annotationType으로 찾는다.
- findAnnotation(Method method, Class annotationType) : Method로 순회하면서 annotationType으로 찾는다.
참고 기본적으로 어노테이션을 찾는데 주력으로 한다.
AnnotatedElementUtils
어노테이션 내용을 오버라이딩할 때 사용한다.