AnnotationEnumMapping < T > function ( Class < T > arg0 , Class < A > arg1 ) { Field [ ] loc0 = arg0 . getFields ( ) ; for ( Field loc1 : loc0 ) { if ( loc1 . isEnumConstant ( ) ) { if ( loc1 . getAnnotation ( arg1 ) != null ) return new AnnotationEnumMapping < T > ( arg0 , arg1 ) ; } } return null ; }
checks that the enum class contains a field with the given annotation . if that is the case then creates an instance of this class otherwise returns null . concode_field_sep String[] _values concode_elem_sep T _defaultEnum concode_elem_sep Map<String,T> _valueMapping concode_elem_sep Map<T,String> _enumMapping concode_field_sep String getValue concode_elem_sep String getValue concode_elem_sep String[] getValues concode_elem_sep T extractDefaultEnum concode_elem_sep T getDefaultEnum concode_elem_sep T getEnum