/** @return the types */ public List<GeocoderAddressComponentType> getTypes() { JSObject jsType = (JSObject) getJSObject().getMember("types"); return GeocoderUtils.convertJSObjectToListOfEnum(jsType, GeocoderAddressComponentType.class); }