boolean function ( Class < ? > arg0 ) { if ( arg0 == null ) { return false ; } if ( arg0 . isArray ( ) ) { arg0 = arg0 . getComponentType ( ) ; } return arg0 . isPrimitive ( ) || arg0 . isEnum ( ) || arg0 . isAnnotation ( ) || String . class . equals ( arg0 ) || Class . class . equals ( arg0 ) ; }
checks if the specified type is permitted as an annotation member . the java language specification only permits certain types to be used in annotations . these include string , class , primitive types , annotation , enum , and single-dimensional arrays of these types . concode_field_sep ToStringStyle TO_STRING_STYLE concode_elem_sep long serialVersionUID concode_field_sep int hashMember concode_elem_sep int arrayMemberHash concode_elem_sep void appendDetail concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean arrayMemberEquals concode_elem_sep String getShortClassName concode_elem_sep boolean memberEquals concode_elem_sep boolean annotationArrayMemberEquals concode_elem_sep String toString