public class com.sun.tools.javac.code.Lint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.code.Lint
super_class: java.lang.Object
{
protected static final com.sun.tools.javac.util.Context$Key<com.sun.tools.javac.code.Lint> lintKey;
descriptor: Lcom/sun/tools/javac/util/Context$Key;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Signature: Lcom/sun/tools/javac/util/Context$Key<Lcom/sun/tools/javac/code/Lint;>;
private final com.sun.tools.javac.code.Lint$AugmentVisitor augmentor;
descriptor: Lcom/sun/tools/javac/code/Lint$AugmentVisitor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.EnumSet<com.sun.tools.javac.code.Lint$LintCategory> values;
descriptor: Ljava/util/EnumSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/EnumSet<Lcom/sun/tools/javac/code/Lint$LintCategory;>;
private final java.util.EnumSet<com.sun.tools.javac.code.Lint$LintCategory> suppressedValues;
descriptor: Ljava/util/EnumSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/EnumSet<Lcom/sun/tools/javac/code/Lint$LintCategory;>;
private static final java.util.Map<java.lang.String, com.sun.tools.javac.code.Lint$LintCategory> map;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/javac/code/Lint$LintCategory;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.sun.tools.javac.util.Context$Key
dup
invokespecial com.sun.tools.javac.util.Context$Key.<init>:()V
putstatic com.sun.tools.javac.code.Lint.lintKey:Lcom/sun/tools/javac/util/Context$Key;
1: new java.util.concurrent.ConcurrentHashMap
dup
bipush 20
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putstatic com.sun.tools.javac.code.Lint.map:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.tools.javac.code.Lint instance(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Lint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic com.sun.tools.javac.code.Lint.lintKey:Lcom/sun/tools/javac/util/Context$Key;
invokevirtual com.sun.tools.javac.util.Context.get:(Lcom/sun/tools/javac/util/Context$Key;)Ljava/lang/Object;
checkcast com.sun.tools.javac.code.Lint
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new com.sun.tools.javac.code.Lint
dup
aload 0
invokespecial com.sun.tools.javac.code.Lint.<init>:(Lcom/sun/tools/javac/util/Context;)V
astore 1
3: StackMap locals: com.sun.tools.javac.code.Lint
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lcom/sun/tools/javac/util/Context;
1 4 1 instance Lcom/sun/tools/javac/code/Lint;
MethodParameters:
Name Flags
context
public com.sun.tools.javac.code.Lint augment(com.sun.tools.javac.code.Attribute$Compound);
descriptor: (Lcom/sun/tools/javac/code/Attribute$Compound;)Lcom/sun/tools/javac/code/Lint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.code.Lint.augmentor:Lcom/sun/tools/javac/code/Lint$AugmentVisitor;
aload 0
aload 1
invokevirtual com.sun.tools.javac.code.Lint$AugmentVisitor.augment:(Lcom/sun/tools/javac/code/Lint;Lcom/sun/tools/javac/code/Attribute$Compound;)Lcom/sun/tools/javac/code/Lint;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/code/Lint;
0 1 1 attr Lcom/sun/tools/javac/code/Attribute$Compound;
MethodParameters:
Name Flags
attr
public com.sun.tools.javac.code.Lint augment(com.sun.tools.javac.code.Symbol);
descriptor: (Lcom/sun/tools/javac/code/Symbol;)Lcom/sun/tools/javac/code/Lint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.code.Lint.augmentor:Lcom/sun/tools/javac/code/Lint$AugmentVisitor;
aload 0
aload 1
invokevirtual com.sun.tools.javac.code.Symbol.getDeclarationAttributes:()Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.code.Lint$AugmentVisitor.augment:(Lcom/sun/tools/javac/code/Lint;Lcom/sun/tools/javac/util/List;)Lcom/sun/tools/javac/code/Lint;
astore 2
start local 2 1: aload 1
invokevirtual com.sun.tools.javac.code.Symbol.isDeprecated:()Z
ifeq 6
2: aload 2
aload 0
if_acmpne 4
3: new com.sun.tools.javac.code.Lint
dup
aload 0
invokespecial com.sun.tools.javac.code.Lint.<init>:(Lcom/sun/tools/javac/code/Lint;)V
astore 2
4: StackMap locals: com.sun.tools.javac.code.Lint
StackMap stack:
aload 2
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.code.Lint$LintCategory.DEPRECATION:Lcom/sun/tools/javac/code/Lint$LintCategory;
invokevirtual java.util.EnumSet.remove:(Ljava/lang/Object;)Z
pop
5: aload 2
getfield com.sun.tools.javac.code.Lint.suppressedValues:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.code.Lint$LintCategory.DEPRECATION:Lcom/sun/tools/javac/code/Lint$LintCategory;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/code/Lint;
0 7 1 sym Lcom/sun/tools/javac/code/Symbol;
1 7 2 l Lcom/sun/tools/javac/code/Lint;
MethodParameters:
Name Flags
sym
public com.sun.tools.javac.code.Lint suppress(com.sun.tools.javac.code.Lint$LintCategory[]);
descriptor: ([Lcom/sun/tools/javac/code/Lint$LintCategory;)Lcom/sun/tools/javac/code/Lint;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new com.sun.tools.javac.code.Lint
dup
aload 0
invokespecial com.sun.tools.javac.code.Lint.<init>:(Lcom/sun/tools/javac/code/Lint;)V
astore 2
start local 2 1: aload 2
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.EnumSet.removeAll:(Ljava/util/Collection;)Z
pop
2: aload 2
getfield com.sun.tools.javac.code.Lint.suppressedValues:Ljava/util/EnumSet;
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.EnumSet.addAll:(Ljava/util/Collection;)Z
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/code/Lint;
0 4 1 lc [Lcom/sun/tools/javac/code/Lint$LintCategory;
1 4 2 l Lcom/sun/tools/javac/code/Lint;
MethodParameters:
Name Flags
lc
protected void <init>(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic com.sun.tools.javac.util.Options.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Options;
astore 2
start local 2 2: aload 2
getstatic com.sun.tools.javac.main.Option.XLINT:Lcom/sun/tools/javac/main/Option;
invokevirtual com.sun.tools.javac.util.Options.isSet:(Lcom/sun/tools/javac/main/Option;)Z
ifne 3
aload 2
getstatic com.sun.tools.javac.main.Option.XLINT_CUSTOM:Lcom/sun/tools/javac/main/Option;
ldc "all"
invokevirtual com.sun.tools.javac.util.Options.isSet:(Lcom/sun/tools/javac/main/Option;Ljava/lang/String;)Z
ifeq 5
3: StackMap locals: com.sun.tools.javac.code.Lint com.sun.tools.javac.util.Context com.sun.tools.javac.util.Options
StackMap stack:
aload 0
ldc Lcom/sun/tools/javac/code/Lint$LintCategory;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
putfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
4: goto 16
StackMap locals:
StackMap stack:
5: aload 2
getstatic com.sun.tools.javac.main.Option.XLINT_CUSTOM:Lcom/sun/tools/javac/main/Option;
ldc "none"
invokevirtual com.sun.tools.javac.util.Options.isSet:(Lcom/sun/tools/javac/main/Option;Ljava/lang/String;)Z
ifeq 8
6: aload 0
ldc Lcom/sun/tools/javac/code/Lint$LintCategory;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
putfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
7: goto 16
8: StackMap locals:
StackMap stack:
aload 0
ldc Lcom/sun/tools/javac/code/Lint$LintCategory;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
putfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
9: aload 1
invokestatic com.sun.tools.javac.code.Source.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Source;
astore 3
start local 3 10: aload 3
getstatic com.sun.tools.javac.code.Source.JDK9:Lcom/sun/tools/javac/code/Source;
invokevirtual com.sun.tools.javac.code.Source.compareTo:(Ljava/lang/Enum;)I
iflt 12
11: aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.code.Lint$LintCategory.DEP_ANN:Lcom/sun/tools/javac/code/Lint$LintCategory;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals: com.sun.tools.javac.code.Source
StackMap stack:
aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.code.Lint$LintCategory.REQUIRES_TRANSITIVE_AUTOMATIC:Lcom/sun/tools/javac/code/Lint$LintCategory;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
13: aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.code.Lint$LintCategory.OPENS:Lcom/sun/tools/javac/code/Lint$LintCategory;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
14: aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.code.Lint$LintCategory.MODULE:Lcom/sun/tools/javac/code/Lint$LintCategory;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
15: aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.code.Lint$LintCategory.REMOVAL:Lcom/sun/tools/javac/code/Lint$LintCategory;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
end local 3 16: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.javac.code.Lint$LintCategory.values:()[Lcom/sun/tools/javac/code/Lint$LintCategory;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 24
StackMap locals: com.sun.tools.javac.code.Lint com.sun.tools.javac.util.Context com.sun.tools.javac.util.Options top int int com.sun.tools.javac.code.Lint$LintCategory[]
StackMap stack:
17: aload 6
iload 4
aaload
astore 3
start local 3 18: aload 2
getstatic com.sun.tools.javac.main.Option.XLINT_CUSTOM:Lcom/sun/tools/javac/main/Option;
aload 3
getfield com.sun.tools.javac.code.Lint$LintCategory.option:Ljava/lang/String;
invokevirtual com.sun.tools.javac.util.Options.isSet:(Lcom/sun/tools/javac/main/Option;Ljava/lang/String;)Z
ifeq 21
19: aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
aload 3
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
20: goto 23
StackMap locals: com.sun.tools.javac.code.Lint com.sun.tools.javac.util.Context com.sun.tools.javac.util.Options com.sun.tools.javac.code.Lint$LintCategory int int com.sun.tools.javac.code.Lint$LintCategory[]
StackMap stack:
21: aload 2
getstatic com.sun.tools.javac.main.Option.XLINT_CUSTOM:Lcom/sun/tools/javac/main/Option;
new java.lang.StringBuilder
dup
ldc "-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
getfield com.sun.tools.javac.code.Lint$LintCategory.option:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.javac.util.Options.isSet:(Lcom/sun/tools/javac/main/Option;Ljava/lang/String;)Z
ifeq 23
22: aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
aload 3
invokevirtual java.util.EnumSet.remove:(Ljava/lang/Object;)Z
pop
end local 3 23: StackMap locals: com.sun.tools.javac.code.Lint com.sun.tools.javac.util.Context com.sun.tools.javac.util.Options top int int com.sun.tools.javac.code.Lint$LintCategory[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
24: iload 4
iload 5
if_icmplt 17
25: aload 0
ldc Lcom/sun/tools/javac/code/Lint$LintCategory;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
putfield com.sun.tools.javac.code.Lint.suppressedValues:Ljava/util/EnumSet;
26: aload 1
getstatic com.sun.tools.javac.code.Lint.lintKey:Lcom/sun/tools/javac/util/Context$Key;
aload 0
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Ljava/lang/Object;)V
27: aload 0
new com.sun.tools.javac.code.Lint$AugmentVisitor
dup
aload 1
invokespecial com.sun.tools.javac.code.Lint$AugmentVisitor.<init>:(Lcom/sun/tools/javac/util/Context;)V
putfield com.sun.tools.javac.code.Lint.augmentor:Lcom/sun/tools/javac/code/Lint$AugmentVisitor;
28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/tools/javac/code/Lint;
0 29 1 context Lcom/sun/tools/javac/util/Context;
2 29 2 options Lcom/sun/tools/javac/util/Options;
10 16 3 source Lcom/sun/tools/javac/code/Source;
18 23 3 lc Lcom/sun/tools/javac/code/Lint$LintCategory;
MethodParameters:
Name Flags
context
protected void <init>(com.sun.tools.javac.code.Lint);
descriptor: (Lcom/sun/tools/javac/code/Lint;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield com.sun.tools.javac.code.Lint.augmentor:Lcom/sun/tools/javac/code/Lint$AugmentVisitor;
putfield com.sun.tools.javac.code.Lint.augmentor:Lcom/sun/tools/javac/code/Lint$AugmentVisitor;
2: aload 0
aload 1
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.clone:()Ljava/util/EnumSet;
putfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
3: aload 0
aload 1
getfield com.sun.tools.javac.code.Lint.suppressedValues:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.clone:()Ljava/util/EnumSet;
putfield com.sun.tools.javac.code.Lint.suppressedValues:Ljava/util/EnumSet;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/code/Lint;
0 5 1 other Lcom/sun/tools/javac/code/Lint;
MethodParameters:
Name Flags
other
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Lint:[values"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " suppressedValues"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.javac.code.Lint.suppressedValues:Ljava/util/EnumSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/code/Lint;
public boolean isEnabled(com.sun.tools.javac.code.Lint$LintCategory);
descriptor: (Lcom/sun/tools/javac/code/Lint$LintCategory;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.code.Lint.values:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/code/Lint;
0 1 1 lc Lcom/sun/tools/javac/code/Lint$LintCategory;
MethodParameters:
Name Flags
lc
public boolean isSuppressed(com.sun.tools.javac.code.Lint$LintCategory);
descriptor: (Lcom/sun/tools/javac/code/Lint$LintCategory;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.code.Lint.suppressedValues:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/code/Lint;
0 1 1 lc Lcom/sun/tools/javac/code/Lint$LintCategory;
MethodParameters:
Name Flags
lc
}
SourceFile: "Lint.java"
NestMembers:
com.sun.tools.javac.code.Lint$AugmentVisitor com.sun.tools.javac.code.Lint$LintCategory
InnerClasses:
public Compound = com.sun.tools.javac.code.Attribute$Compound of com.sun.tools.javac.code.Attribute
protected AugmentVisitor = com.sun.tools.javac.code.Lint$AugmentVisitor of com.sun.tools.javac.code.Lint
public final LintCategory = com.sun.tools.javac.code.Lint$LintCategory of com.sun.tools.javac.code.Lint
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context