private static Annotation[] getAnnotations(Object targetClass) {
		if (targetClass instanceof Field)
			return ((Field) targetClass).getAnnotations();
		else if (targetClass instanceof Method)
			return ((Method) targetClass).getAnnotations();
		else if (targetClass instanceof Constructor)
			return ((Constructor<?>) targetClass).getAnnotations();
		else if (targetClass instanceof Class)
			return ((Class<?>) targetClass).getAnnotations();
		else
			return BeanBoxException.throwEX("targetClass should be Field, Method, Constructor or Class");
	}
private static Annotation [ ] getAnnotations ( Object targetClass ) { if ( targetClass instanceof Field ) return ( ( Field ) targetClass ) . getAnnotations ( ) ; else if ( targetClass instanceof Method ) return ( ( Method ) targetClass ) . getAnnotations ( ) ; else if ( targetClass instanceof Constructor ) return ( ( Constructor < ? > ) targetClass ) . getAnnotations ( ) ; else if ( targetClass instanceof Class ) return ( ( Class < ? > ) targetClass ) . getAnnotations ( ) ; else return BeanBoxException . throwEX ( "targetClass should be Field, Method, Constructor or Class" ) ; }
give a class or Field or Method, return annotations