class com.google.inject.Key$AnnotationTypeStrategy implements com.google.inject.Key$AnnotationStrategy
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.inject.Key$AnnotationTypeStrategy
super_class: java.lang.Object
{
final java.lang.Class<? extends java.lang.annotation.Annotation> annotationType;
descriptor: Ljava/lang/Class;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
final java.lang.annotation.Annotation annotation;
descriptor: Ljava/lang/annotation/Annotation;
flags: (0x0010) ACC_FINAL
void <init>(java.lang.Class<? extends java.lang.annotation.Annotation>, java.lang.annotation.Annotation);
descriptor: (Ljava/lang/Class;Ljava/lang/annotation/Annotation;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "annotation type"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
putfield com.google.inject.Key$AnnotationTypeStrategy.annotationType:Ljava/lang/Class;
2: aload 0
aload 2
putfield com.google.inject.Key$AnnotationTypeStrategy.annotation:Ljava/lang/annotation/Annotation;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/inject/Key$AnnotationTypeStrategy;
0 4 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
0 4 2 annotation Ljava/lang/annotation/Annotation;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;Ljava/lang/annotation/Annotation;)V
MethodParameters:
Name Flags
annotationType
annotation
public boolean hasAttributes();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key$AnnotationTypeStrategy;
public com.google.inject.Key$AnnotationStrategy withoutAttributes();
descriptor: ()Lcom/google/inject/Key$AnnotationStrategy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Key already has no attributes."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key$AnnotationTypeStrategy;
public java.lang.annotation.Annotation getAnnotation();
descriptor: ()Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key$AnnotationTypeStrategy.annotation:Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key$AnnotationTypeStrategy;
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key$AnnotationTypeStrategy.annotationType:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key$AnnotationTypeStrategy;
Signature: ()Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.google.inject.Key$AnnotationTypeStrategy
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast com.google.inject.Key$AnnotationTypeStrategy
astore 2
start local 2 3: aload 0
getfield com.google.inject.Key$AnnotationTypeStrategy.annotationType:Ljava/lang/Class;
aload 2
getfield com.google.inject.Key$AnnotationTypeStrategy.annotationType:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/inject/Key$AnnotationTypeStrategy;
0 4 1 o Ljava/lang/Object;
3 4 2 other Lcom/google/inject/Key$AnnotationTypeStrategy;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key$AnnotationTypeStrategy.annotationType:Ljava/lang/Class;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key$AnnotationTypeStrategy;
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 "@"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.inject.Key$AnnotationTypeStrategy.annotationType:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
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/google/inject/Key$AnnotationTypeStrategy;
}
SourceFile: "Key.java"
NestHost: com.google.inject.Key
InnerClasses:
abstract AnnotationStrategy = com.google.inject.Key$AnnotationStrategy of com.google.inject.Key
AnnotationTypeStrategy = com.google.inject.Key$AnnotationTypeStrategy of com.google.inject.Key