private Map < Field , Long > buildEnumerateMap ( final Class t ) { return this . enumerateScanner . scan ( t ) . entrySet ( ) . stream ( ) . collect ( Collectors . toMap ( Map . Entry :: getKey , e -> ( ( GenEnumerate ) e . getValue ( ) . get ( 0 ) ) . from ( ) ) ) ; }
Setup map for enumerate fields