class com.sun.tools.javadoc.main.DocLocale
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javadoc.main.DocLocale
super_class: java.lang.Object
{
final java.lang.String localeName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0010) ACC_FINAL
final java.text.Collator collator;
descriptor: Ljava/text/Collator;
flags: (0x0010) ACC_FINAL
private final com.sun.tools.javadoc.main.DocEnv docenv;
descriptor: Lcom/sun/tools/javadoc/main/DocEnv;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.text.BreakIterator sentenceBreaker;
descriptor: Ljava/text/BreakIterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean useBreakIterator;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final java.lang.String[] sentenceTerminators;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 17
anewarray java.lang.String
dup
iconst_0
1: ldc "<p>"
aastore
dup
iconst_1
ldc "</p>"
aastore
dup
iconst_2
ldc "<h1>"
aastore
dup
iconst_3
ldc "<h2>"
aastore
dup
iconst_4
2: ldc "<h3>"
aastore
dup
iconst_5
ldc "<h4>"
aastore
dup
bipush 6
ldc "<h5>"
aastore
dup
bipush 7
ldc "<h6>"
aastore
dup
bipush 8
3: ldc "</h1>"
aastore
dup
bipush 9
ldc "</h2>"
aastore
dup
bipush 10
ldc "</h3>"
aastore
dup
bipush 11
ldc "</h4>"
aastore
dup
bipush 12
ldc "</h5>"
aastore
dup
bipush 13
4: ldc "</h6>"
aastore
dup
bipush 14
ldc "<hr>"
aastore
dup
bipush 15
ldc "<pre>"
aastore
dup
bipush 16
ldc "</pre>"
aastore
5: putstatic com.sun.tools.javadoc.main.DocLocale.sentenceTerminators:[Ljava/lang/String;
6: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.sun.tools.javadoc.main.DocEnv, java.lang.String, boolean);
descriptor: (Lcom/sun/tools/javadoc/main/DocEnv;Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.javadoc.main.DocLocale.useBreakIterator:Z
2: aload 0
aload 1
putfield com.sun.tools.javadoc.main.DocLocale.docenv:Lcom/sun/tools/javadoc/main/DocEnv;
3: aload 0
aload 2
putfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
4: aload 0
iload 3
putfield com.sun.tools.javadoc.main.DocLocale.useBreakIterator:Z
5: aload 0
aload 0
invokevirtual com.sun.tools.javadoc.main.DocLocale.getLocale:()Ljava/util/Locale;
putfield com.sun.tools.javadoc.main.DocLocale.locale:Ljava/util/Locale;
6: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.locale:Ljava/util/Locale;
ifnonnull 9
7: aload 1
invokevirtual com.sun.tools.javadoc.main.DocEnv.exit:()V
8: goto 10
9: StackMap locals: com.sun.tools.javadoc.main.DocLocale com.sun.tools.javadoc.main.DocEnv java.lang.String int
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.locale:Ljava/util/Locale;
invokestatic java.util.Locale.setDefault:(Ljava/util/Locale;)V
10: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.locale:Ljava/util/Locale;
invokestatic java.text.Collator.getInstance:(Ljava/util/Locale;)Ljava/text/Collator;
putfield com.sun.tools.javadoc.main.DocLocale.collator:Ljava/text/Collator;
11: aload 0
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.locale:Ljava/util/Locale;
invokestatic java.text.BreakIterator.getSentenceInstance:(Ljava/util/Locale;)Ljava/text/BreakIterator;
putfield com.sun.tools.javadoc.main.DocLocale.sentenceBreaker:Ljava/text/BreakIterator;
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/javadoc/main/DocLocale;
0 13 1 docenv Lcom/sun/tools/javadoc/main/DocEnv;
0 13 2 localeName Ljava/lang/String;
0 13 3 useBreakIterator Z
MethodParameters:
Name Flags
docenv
localeName
useBreakIterator
private java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 35
2: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
bipush 95
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 3: iconst_m1
istore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: aconst_null
astore 6
start local 6 7: iload 2
iconst_2
if_icmpne 25
8: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
9: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
bipush 95
iload 2
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 3
10: iload 3
ifle 20
11: iload 3
iload 2
iconst_3
iadd
if_icmpne 13
12: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iload 3
iconst_1
iadd
if_icmpgt 15
13: StackMap locals: com.sun.tools.javadoc.main.DocLocale java.util.Locale int int java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.docenv:Lcom/sun/tools/javadoc/main/DocEnv;
aconst_null
ldc "main.malformed_locale_name"
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.DocEnv.error:(Lcom/sun/tools/javadoc/main/DocImpl;Ljava/lang/String;Ljava/lang/String;)V
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
iload 2
iconst_1
iadd
16: iload 3
17: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
18: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
19: goto 30
StackMap locals:
StackMap stack:
20: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iload 2
iconst_3
iadd
if_icmpne 23
21: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
22: goto 30
23: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.docenv:Lcom/sun/tools/javadoc/main/DocEnv;
aconst_null
ldc "main.malformed_locale_name"
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.DocEnv.error:(Lcom/sun/tools/javadoc/main/DocImpl;Ljava/lang/String;Ljava/lang/String;)V
24: aconst_null
areturn
25: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 28
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpne 28
26: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
astore 4
27: goto 30
28: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.docenv:Lcom/sun/tools/javadoc/main/DocEnv;
aconst_null
ldc "main.malformed_locale_name"
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.DocEnv.error:(Lcom/sun/tools/javadoc/main/DocImpl;Ljava/lang/String;Ljava/lang/String;)V
29: aconst_null
areturn
30: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 5
aload 6
invokevirtual com.sun.tools.javadoc.main.DocLocale.searchLocale:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
astore 1
31: aload 1
ifnonnull 34
32: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.docenv:Lcom/sun/tools/javadoc/main/DocEnv;
aconst_null
ldc "main.illegal_locale_name"
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.localeName:Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.DocEnv.error:(Lcom/sun/tools/javadoc/main/DocImpl;Ljava/lang/String;Ljava/lang/String;)V
33: aconst_null
areturn
34: StackMap locals:
StackMap stack:
aload 1
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 35: StackMap locals: com.sun.tools.javadoc.main.DocLocale java.util.Locale
StackMap stack:
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/tools/javadoc/main/DocLocale;
1 36 1 userlocale Ljava/util/Locale;
3 35 2 firstuscore I
4 35 3 seconduscore I
5 35 4 language Ljava/lang/String;
6 35 5 country Ljava/lang/String;
7 35 6 variant Ljava/lang/String;
private java.util.Locale searchLocale(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.util.Locale.getAvailableLocales:()[Ljava/util/Locale;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: com.sun.tools.javadoc.main.DocLocale java.lang.String java.lang.String java.lang.String top int int java.util.Locale[]
StackMap stack:
1: aload 7
iload 5
aaload
astore 4
start local 4 2: aload 4
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: aload 2
ifnull 4
aload 4
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: com.sun.tools.javadoc.main.DocLocale java.lang.String java.lang.String java.lang.String java.util.Locale int int java.util.Locale[]
StackMap stack:
aload 3
ifnull 5
aload 4
invokevirtual java.util.Locale.getVariant:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 6: StackMap locals: com.sun.tools.javadoc.main.DocLocale java.lang.String java.lang.String java.lang.String top int int java.util.Locale[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 1
8: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javadoc/main/DocLocale;
0 9 1 language Ljava/lang/String;
0 9 2 country Ljava/lang/String;
0 9 3 variant Ljava/lang/String;
2 6 4 loc Ljava/util/Locale;
MethodParameters:
Name Flags
language
country
variant
java.lang.String localeSpecificFirstSentence(com.sun.tools.javadoc.main.DocImpl, java.lang.String);
descriptor: (Lcom/sun/tools/javadoc/main/DocImpl;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 2
ldc "-->"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 3: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "<!--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
iload 3
iconst_m1
if_icmpeq 5
4: aload 0
aload 1
aload 2
iload 3
iconst_3
iadd
aload 2
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual com.sun.tools.javadoc.main.DocLocale.localeSpecificFirstSentence:(Lcom/sun/tools/javadoc/main/DocImpl;Ljava/lang/String;)Ljava/lang/String;
areturn
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.useBreakIterator:Z
ifne 6
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.locale:Ljava/util/Locale;
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
ldc "en"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.DocLocale.sentenceBreaker:Ljava/text/BreakIterator;
aload 2
bipush 10
bipush 32
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.text.BreakIterator.setText:(Ljava/lang/String;)V
7: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.sentenceBreaker:Ljava/text/BreakIterator;
invokevirtual java.text.BreakIterator.first:()I
istore 4
start local 4 8: aload 0
getfield com.sun.tools.javadoc.main.DocLocale.sentenceBreaker:Ljava/text/BreakIterator;
invokevirtual java.text.BreakIterator.next:()I
istore 5
start local 5 9: aload 2
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.tools.javadoc.main.DocLocale.englishLanguageFirstSentence:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/javadoc/main/DocLocale;
0 11 1 doc Lcom/sun/tools/javadoc/main/DocImpl;
0 11 2 s Ljava/lang/String;
3 11 3 index I
8 10 4 start I
9 10 5 end I
MethodParameters:
Name Flags
doc
s
private java.lang.String englishLanguageFirstSentence(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 16
6: StackMap locals: int int int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 7
9: 9
10: 9
12: 9
13: 9
32: 9
46: 7
60: 11
default: 14
}
7: StackMap locals:
StackMap stack:
iconst_1
istore 3
8: goto 15
9: StackMap locals:
StackMap stack:
iload 3
ifeq 15
10: aload 1
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
iload 4
ifle 15
12: aload 0
aload 1
iload 4
invokevirtual com.sun.tools.javadoc.main.DocLocale.htmlSentenceTerminatorFound:(Ljava/lang/String;I)Z
ifeq 15
13: aload 1
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
14: StackMap locals:
StackMap stack:
iconst_0
istore 3
15: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 2
if_icmplt 6
end local 4 17: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/tools/javadoc/main/DocLocale;
0 18 1 s Ljava/lang/String;
3 18 2 len I
4 18 3 period Z
5 17 4 i I
MethodParameters:
Name Flags
s
private boolean htmlSentenceTerminatorFound(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.tools.javadoc.main.DocLocale.sentenceTerminators:[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: com.sun.tools.javadoc.main.DocLocale java.lang.String int top int int java.lang.String[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 1
iconst_1
iload 2
aload 3
3: iconst_0
aload 3
invokevirtual java.lang.String.length:()I
4: invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
5: ifeq 7
6: iconst_1
ireturn
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 1
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javadoc/main/DocLocale;
0 10 1 str Ljava/lang/String;
0 10 2 index I
2 7 3 terminator Ljava/lang/String;
MethodParameters:
Name Flags
str
index
}
SourceFile: "DocLocale.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()