class_body
{ "{"
block_comment "/** Unmodifiable list of available locales. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "List"
variable_declarator
identifier "cAvailableLocaleList"
; ";"
block_comment "/** Unmodifiable set of available locales. */"
field_declaration
modifiers
private "private"
static "static"
type_identifier "Set"
variable_declarator
identifier "cAvailableLocaleSet"
; ";"
block_comment "/** Unmodifiable map of language locales by country. */"
field_declaration (+23 nodes collapsed)
block_comment "/** Unmodifiable map of country locales by language. */"
field_declaration (+23 nodes collapsed)
static_initializer (+38 nodes collapsed)
block_comment "/**\n * <p><code>LocaleUtils</code> instances should NOT "...
constructor_declaration
modifiers
public "public"
identifier "LocaleUtils"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
) ")"
; ";"
} "}"
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Converts a String to a Locale.</p>\n *\n "...
method_declaration (+422 nodes collapsed)
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Obtains the list of locales to search through "...
method_declaration (+26 nodes collapsed)
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Obtains the list of locales to search through "...
method_declaration (+198 nodes collapsed)
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Obtains an unmodifiable list of installed loca"...
method_declaration
modifiers
public "public"
static "static"
type_identifier "List"
identifier "availableLocaleList"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "cAvailableLocaleList"
; ";"
} "}"
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Obtains an unmodifiable set of installed local"...
method_declaration (+70 nodes collapsed)
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Checks if the locale specified is in the list "...
method_declaration
modifiers
public "public"
static "static"
boolean_type "boolean"
identifier "isAvailableLocale"
formal_parameters
( "("
formal_parameter
type_identifier "Locale"
identifier "locale"
) ")"
block
{ "{"
return_statement
return "return"
method_invocation
identifier "cAvailableLocaleSet"
. "."
identifier "contains"
argument_list
( "("
identifier "locale"
) ")"
; ";"
} "}"
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Obtains the list of languages supported for a "...
method_declaration (+220 nodes collapsed)
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * <p>Obtains the list of countries supported for a "...
method_declaration (+238 nodes collapsed)
} "}"