public final class org.junit.validator.AnnotationsValidator implements org.junit.validator.TestClassValidator
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.junit.validator.AnnotationsValidator
super_class: java.lang.Object
{
private static final java.util.List<org.junit.validator.AnnotationsValidator$AnnotatableValidator<?>> VALIDATORS;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/junit/validator/AnnotationsValidator$AnnotatableValidator<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: iconst_3
anewarray org.junit.validator.AnnotationsValidator$AnnotatableValidator
dup
iconst_0
1: new org.junit.validator.AnnotationsValidator$ClassValidator
dup
invokespecial org.junit.validator.AnnotationsValidator$ClassValidator.<init>:()V
aastore
dup
iconst_1
new org.junit.validator.AnnotationsValidator$MethodValidator
dup
invokespecial org.junit.validator.AnnotationsValidator$MethodValidator.<init>:()V
aastore
dup
iconst_2
new org.junit.validator.AnnotationsValidator$FieldValidator
dup
invokespecial org.junit.validator.AnnotationsValidator$FieldValidator.<init>:()V
aastore
2: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic org.junit.validator.AnnotationsValidator.VALIDATORS:Ljava/util/List;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/junit/validator/AnnotationsValidator;
public java.util.List<java.lang.Exception> validateTestClass(org.junit.runners.model.TestClass);
descriptor: (Lorg/junit/runners/model/TestClass;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: getstatic org.junit.validator.AnnotationsValidator.VALIDATORS:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.junit.validator.AnnotationsValidator org.junit.runners.model.TestClass java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.junit.validator.AnnotationsValidator$AnnotatableValidator
astore 3
start local 3 3: aload 3
4: aload 1
invokevirtual org.junit.validator.AnnotationsValidator$AnnotatableValidator.validateTestClass:(Lorg/junit/runners/model/TestClass;)Ljava/util/List;
5: astore 5
start local 5 6: aload 2
aload 5
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/junit/validator/AnnotationsValidator;
0 9 1 testClass Lorg/junit/runners/model/TestClass;
1 9 2 validationErrors Ljava/util/List<Ljava/lang/Exception;>;
3 7 3 validator Lorg/junit/validator/AnnotationsValidator$AnnotatableValidator<*>;
6 7 5 additionalErrors Ljava/util/List<Ljava/lang/Exception;>;
Signature: (Lorg/junit/runners/model/TestClass;)Ljava/util/List<Ljava/lang/Exception;>;
MethodParameters:
Name Flags
testClass
}
SourceFile: "AnnotationsValidator.java"
NestMembers:
org.junit.validator.AnnotationsValidator$AnnotatableValidator org.junit.validator.AnnotationsValidator$ClassValidator org.junit.validator.AnnotationsValidator$FieldValidator org.junit.validator.AnnotationsValidator$MethodValidator
InnerClasses:
private abstract AnnotatableValidator = org.junit.validator.AnnotationsValidator$AnnotatableValidator of org.junit.validator.AnnotationsValidator
private ClassValidator = org.junit.validator.AnnotationsValidator$ClassValidator of org.junit.validator.AnnotationsValidator
private FieldValidator = org.junit.validator.AnnotationsValidator$FieldValidator of org.junit.validator.AnnotationsValidator
private MethodValidator = org.junit.validator.AnnotationsValidator$MethodValidator of org.junit.validator.AnnotationsValidator