question: public static ApplicationType fromString ( String type ) { if ( type != null ) { for ( ApplicationType applicationType : ApplicationType . values ( ) ) { if ( type . equalsIgnoreCase ( applicationType . type ) ) { return applicationType ; } } } return null ; }
target:  Translates a string into an application type.