public class com.google.inject.Key<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.google.inject.Key
super_class: java.lang.Object
{
private final com.google.inject.Key$AnnotationStrategy annotationStrategy;
descriptor: Lcom/google/inject/Key$AnnotationStrategy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.google.inject.TypeLiteral<T> typeLiteral;
descriptor: Lcom/google/inject/TypeLiteral;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/inject/TypeLiteral<TT;>;
private final int hashCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String toString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected void <init>(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)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
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/Class;)Lcom/google/inject/Key$AnnotationStrategy;
putfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
2: aload 0
3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic com.google.inject.TypeLiteral.fromSuperclassTypeParameter:(Ljava/lang/Class;)Lcom/google/inject/TypeLiteral;
4: invokestatic com.google.inject.internal.MoreTypes.canonicalizeForKey:(Lcom/google/inject/TypeLiteral;)Lcom/google/inject/TypeLiteral;
5: putfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
6: aload 0
aload 0
invokevirtual com.google.inject.Key.computeHashCode:()I
putfield com.google.inject.Key.hashCode:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/inject/Key<TT;>;
0 8 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)V
MethodParameters:
Name Flags
annotationType
protected void <init>(java.lang.annotation.Annotation);
descriptor: (Ljava/lang/annotation/Annotation;)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
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key$AnnotationStrategy;
putfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
2: aload 0
3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic com.google.inject.TypeLiteral.fromSuperclassTypeParameter:(Ljava/lang/Class;)Lcom/google/inject/TypeLiteral;
4: invokestatic com.google.inject.internal.MoreTypes.canonicalizeForKey:(Lcom/google/inject/TypeLiteral;)Lcom/google/inject/TypeLiteral;
5: putfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
6: aload 0
aload 0
invokevirtual com.google.inject.Key.computeHashCode:()I
putfield com.google.inject.Key.hashCode:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/inject/Key<TT;>;
0 8 1 annotation Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
annotation
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.google.inject.Key$NullAnnotationStrategy.INSTANCE:Lcom/google/inject/Key$NullAnnotationStrategy;
putfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
2: aload 0
3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic com.google.inject.TypeLiteral.fromSuperclassTypeParameter:(Ljava/lang/Class;)Lcom/google/inject/TypeLiteral;
4: invokestatic com.google.inject.internal.MoreTypes.canonicalizeForKey:(Lcom/google/inject/TypeLiteral;)Lcom/google/inject/TypeLiteral;
5: putfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
6: aload 0
aload 0
invokevirtual com.google.inject.Key.computeHashCode:()I
putfield com.google.inject.Key.hashCode:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/inject/Key<TT;>;
private void <init>(java.lang.reflect.Type, com.google.inject.Key$AnnotationStrategy);
descriptor: (Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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 2
putfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
2: aload 0
aload 1
invokestatic com.google.inject.TypeLiteral.get:(Ljava/lang/reflect/Type;)Lcom/google/inject/TypeLiteral;
invokestatic com.google.inject.internal.MoreTypes.canonicalizeForKey:(Lcom/google/inject/TypeLiteral;)Lcom/google/inject/TypeLiteral;
putfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
3: aload 0
aload 0
invokevirtual com.google.inject.Key.computeHashCode:()I
putfield com.google.inject.Key.hashCode:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/inject/Key<TT;>;
0 5 1 type Ljava/lang/reflect/Type;
0 5 2 annotationStrategy Lcom/google/inject/Key$AnnotationStrategy;
MethodParameters:
Name Flags
type
annotationStrategy
private void <init>(com.google.inject.TypeLiteral<T>, com.google.inject.Key$AnnotationStrategy);
descriptor: (Lcom/google/inject/TypeLiteral;Lcom/google/inject/Key$AnnotationStrategy;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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 2
putfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
2: aload 0
aload 1
invokestatic com.google.inject.internal.MoreTypes.canonicalizeForKey:(Lcom/google/inject/TypeLiteral;)Lcom/google/inject/TypeLiteral;
putfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
3: aload 0
aload 0
invokevirtual com.google.inject.Key.computeHashCode:()I
putfield com.google.inject.Key.hashCode:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/inject/Key<TT;>;
0 5 1 typeLiteral Lcom/google/inject/TypeLiteral<TT;>;
0 5 2 annotationStrategy Lcom/google/inject/Key$AnnotationStrategy;
Signature: (Lcom/google/inject/TypeLiteral<TT;>;Lcom/google/inject/Key$AnnotationStrategy;)V
MethodParameters:
Name Flags
typeLiteral
annotationStrategy
private int computeHashCode();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
invokevirtual com.google.inject.TypeLiteral.hashCode:()I
bipush 31
imul
aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokevirtual java.lang.Object.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
public final com.google.inject.TypeLiteral<T> getTypeLiteral();
descriptor: ()Lcom/google/inject/TypeLiteral;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
Signature: ()Lcom/google/inject/TypeLiteral<TT;>;
public final java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType();
descriptor: ()Ljava/lang/Class;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokeinterface com.google.inject.Key$AnnotationStrategy.getAnnotationType:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
Signature: ()Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
public final java.lang.annotation.Annotation getAnnotation();
descriptor: ()Ljava/lang/annotation/Annotation;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokeinterface com.google.inject.Key$AnnotationStrategy.getAnnotation:()Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
boolean hasAnnotationType();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokeinterface com.google.inject.Key$AnnotationStrategy.getAnnotationType:()Ljava/lang/Class;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/inject/Key<TT;>;
java.lang.String getAnnotationName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokeinterface com.google.inject.Key$AnnotationStrategy.getAnnotation:()Ljava/lang/annotation/Annotation;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.lang.annotation.Annotation.toString:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.annotation.Annotation
StackMap stack:
aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokeinterface com.google.inject.Key$AnnotationStrategy.getAnnotationType:()Ljava/lang/Class;
invokevirtual java.lang.Class.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/inject/Key<TT;>;
1 4 1 annotation Ljava/lang/annotation/Annotation;
java.lang.Class<? super T> getRawType();
descriptor: ()Ljava/lang/Class;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
invokevirtual com.google.inject.TypeLiteral.getRawType:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
Signature: ()Ljava/lang/Class<-TT;>;
com.google.inject.Key<com.google.inject.Provider<T>> providerKey();
descriptor: ()Lcom/google/inject/Key;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
invokevirtual com.google.inject.TypeLiteral.providerType:()Lcom/google/inject/TypeLiteral;
invokevirtual com.google.inject.Key.ofType:(Lcom/google/inject/TypeLiteral;)Lcom/google/inject/Key;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
Signature: ()Lcom/google/inject/Key<Lcom/google/inject/Provider<TT;>;>;
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.google.inject.Key
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.google.inject.Key
astore 2
start local 2 5: aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
aload 2
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
aload 2
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
invokevirtual com.google.inject.TypeLiteral.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: com.google.inject.Key
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/inject/Key<TT;>;
0 9 1 o Ljava/lang/Object;
5 9 2 other Lcom/google/inject/Key<*>;
MethodParameters:
Name Flags
o
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.toString:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: new java.lang.StringBuilder
dup
ldc "Key[type="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", annotation="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
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;
astore 1
3: aload 0
aload 1
putfield com.google.inject.Key.toString:Ljava/lang/String;
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/inject/Key<TT;>;
1 5 1 local Ljava/lang/String;
static <T> com.google.inject.Key<T> get(java.lang.Class<T>, com.google.inject.Key$AnnotationStrategy);
descriptor: (Ljava/lang/Class;Lcom/google/inject/Key$AnnotationStrategy;)Lcom/google/inject/Key;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 0
aload 1
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TT;>;
0 1 1 annotationStrategy Lcom/google/inject/Key$AnnotationStrategy;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Lcom/google/inject/Key$AnnotationStrategy;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
type
annotationStrategy
public static <T> com.google.inject.Key<T> get(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.google.inject.Key
dup
aload 0
getstatic com.google.inject.Key$NullAnnotationStrategy.INSTANCE:Lcom/google/inject/Key$NullAnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
type
public static <T> com.google.inject.Key<T> get(java.lang.Class<T>, java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 0
aload 1
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/Class;)Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TT;>;
0 1 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
type
annotationType
public static <T> com.google.inject.Key<T> get(java.lang.Class<T>, java.lang.annotation.Annotation);
descriptor: (Ljava/lang/Class;Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 0
aload 1
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TT;>;
0 1 1 annotation Ljava/lang/annotation/Annotation;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
type
annotation
public static com.google.inject.Key<?> get(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.google.inject.Key
dup
aload 0
getstatic com.google.inject.Key$NullAnnotationStrategy.INSTANCE:Lcom/google/inject/Key$NullAnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/reflect/Type;
Signature: (Ljava/lang/reflect/Type;)Lcom/google/inject/Key<*>;
MethodParameters:
Name Flags
type
public static com.google.inject.Key<?> get(java.lang.reflect.Type, java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/reflect/Type;Ljava/lang/Class;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 0
aload 1
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/Class;)Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/reflect/Type;
0 1 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/reflect/Type;Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lcom/google/inject/Key<*>;
MethodParameters:
Name Flags
type
annotationType
public static com.google.inject.Key<?> get(java.lang.reflect.Type, java.lang.annotation.Annotation);
descriptor: (Ljava/lang/reflect/Type;Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 0
aload 1
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/reflect/Type;
0 1 1 annotation Ljava/lang/annotation/Annotation;
Signature: (Ljava/lang/reflect/Type;Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key<*>;
MethodParameters:
Name Flags
type
annotation
public static <T> com.google.inject.Key<T> get(com.google.inject.TypeLiteral<T>);
descriptor: (Lcom/google/inject/TypeLiteral;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.google.inject.Key
dup
aload 0
getstatic com.google.inject.Key$NullAnnotationStrategy.INSTANCE:Lcom/google/inject/Key$NullAnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Lcom/google/inject/TypeLiteral;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 typeLiteral Lcom/google/inject/TypeLiteral<TT;>;
Signature: <T:Ljava/lang/Object;>(Lcom/google/inject/TypeLiteral<TT;>;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
typeLiteral
public static <T> com.google.inject.Key<T> get(com.google.inject.TypeLiteral<T>, java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Lcom/google/inject/TypeLiteral;Ljava/lang/Class;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 0
aload 1
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/Class;)Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Lcom/google/inject/TypeLiteral;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 typeLiteral Lcom/google/inject/TypeLiteral<TT;>;
0 1 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: <T:Ljava/lang/Object;>(Lcom/google/inject/TypeLiteral<TT;>;Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
typeLiteral
annotationType
public static <T> com.google.inject.Key<T> get(com.google.inject.TypeLiteral<T>, java.lang.annotation.Annotation);
descriptor: (Lcom/google/inject/TypeLiteral;Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 0
aload 1
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Lcom/google/inject/TypeLiteral;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 typeLiteral Lcom/google/inject/TypeLiteral<TT;>;
0 1 1 annotation Ljava/lang/annotation/Annotation;
Signature: <T:Ljava/lang/Object;>(Lcom/google/inject/TypeLiteral<TT;>;Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
typeLiteral
annotation
public <T> com.google.inject.Key<T> ofType(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lcom/google/inject/Key;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 1
aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
0 1 1 type Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
type
public com.google.inject.Key<?> ofType(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Lcom/google/inject/Key;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 1
aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Ljava/lang/reflect/Type;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
0 1 1 type Ljava/lang/reflect/Type;
Signature: (Ljava/lang/reflect/Type;)Lcom/google/inject/Key<*>;
MethodParameters:
Name Flags
type
public <T> com.google.inject.Key<T> ofType(com.google.inject.TypeLiteral<T>);
descriptor: (Lcom/google/inject/TypeLiteral;)Lcom/google/inject/Key;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.inject.Key
dup
aload 1
aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Lcom/google/inject/TypeLiteral;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
0 1 1 type Lcom/google/inject/TypeLiteral<TT;>;
Signature: <T:Ljava/lang/Object;>(Lcom/google/inject/TypeLiteral<TT;>;)Lcom/google/inject/Key<TT;>;
MethodParameters:
Name Flags
type
public boolean hasAttributes();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokeinterface com.google.inject.Key$AnnotationStrategy.hasAttributes:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
public com.google.inject.Key<T> withoutAttributes();
descriptor: ()Lcom/google/inject/Key;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.google.inject.Key
dup
aload 0
getfield com.google.inject.Key.typeLiteral:Lcom/google/inject/TypeLiteral;
aload 0
getfield com.google.inject.Key.annotationStrategy:Lcom/google/inject/Key$AnnotationStrategy;
invokeinterface com.google.inject.Key$AnnotationStrategy.withoutAttributes:()Lcom/google/inject/Key$AnnotationStrategy;
invokespecial com.google.inject.Key.<init>:(Lcom/google/inject/TypeLiteral;Lcom/google/inject/Key$AnnotationStrategy;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/inject/Key<TT;>;
Signature: ()Lcom/google/inject/Key<TT;>;
static com.google.inject.Key$AnnotationStrategy strategyFor(java.lang.annotation.Annotation);
descriptor: (Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key$AnnotationStrategy;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "annotation"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
astore 1
start local 1 2: aload 1
invokestatic com.google.inject.Key.ensureRetainedAtRuntime:(Ljava/lang/Class;)V
3: aload 1
invokestatic com.google.inject.Key.ensureIsBindingAnnotation:(Ljava/lang/Class;)V
4: aload 1
invokestatic com.google.inject.internal.Annotations.isMarker:(Ljava/lang/Class;)Z
ifeq 6
5: new com.google.inject.Key$AnnotationTypeStrategy
dup
aload 1
aload 0
invokespecial com.google.inject.Key$AnnotationTypeStrategy.<init>:(Ljava/lang/Class;Ljava/lang/annotation/Annotation;)V
areturn
6: StackMap locals: java.lang.Class
StackMap stack:
new com.google.inject.Key$AnnotationInstanceStrategy
dup
aload 0
invokestatic com.google.inject.internal.Annotations.canonicalizeIfNamed:(Ljava/lang/annotation/Annotation;)Ljava/lang/annotation/Annotation;
invokespecial com.google.inject.Key$AnnotationInstanceStrategy.<init>:(Ljava/lang/annotation/Annotation;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 annotation Ljava/lang/annotation/Annotation;
2 7 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
MethodParameters:
Name Flags
annotation
static com.google.inject.Key$AnnotationStrategy strategyFor(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Lcom/google/inject/Key$AnnotationStrategy;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.inject.internal.Annotations.canonicalizeIfNamed:(Ljava/lang/Class;)Ljava/lang/Class;
astore 0
1: aload 0
invokestatic com.google.inject.internal.Annotations.isAllDefaultMethods:(Ljava/lang/Class;)Z
ifeq 3
2: aload 0
invokestatic com.google.inject.internal.Annotations.generateAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
invokestatic com.google.inject.Key.strategyFor:(Ljava/lang/annotation/Annotation;)Lcom/google/inject/Key$AnnotationStrategy;
areturn
3: StackMap locals:
StackMap stack:
aload 0
ldc "annotation type"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
invokestatic com.google.inject.Key.ensureRetainedAtRuntime:(Ljava/lang/Class;)V
5: aload 0
invokestatic com.google.inject.Key.ensureIsBindingAnnotation:(Ljava/lang/Class;)V
6: new com.google.inject.Key$AnnotationTypeStrategy
dup
aload 0
aconst_null
invokespecial com.google.inject.Key$AnnotationTypeStrategy.<init>:(Ljava/lang/Class;Ljava/lang/annotation/Annotation;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lcom/google/inject/Key$AnnotationStrategy;
MethodParameters:
Name Flags
annotationType
private static void ensureRetainedAtRuntime(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.inject.internal.Annotations.isRetainedAtRuntime:(Ljava/lang/Class;)Z
1: ldc "%s is not retained at runtime. Please annotate it with @Retention(RUNTIME)."
2: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
3: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)V
MethodParameters:
Name Flags
annotationType
private static void ensureIsBindingAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.inject.internal.Annotations.isBindingAnnotation:(Ljava/lang/Class;)Z
1: ldc "%s is not a binding annotation. Please annotate it with @BindingAnnotation."
2: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
3: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)V
MethodParameters:
Name Flags
annotationType
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Key.java"
NestMembers:
com.google.inject.Key$AnnotationInstanceStrategy com.google.inject.Key$AnnotationStrategy com.google.inject.Key$AnnotationTypeStrategy com.google.inject.Key$NullAnnotationStrategy
InnerClasses:
AnnotationInstanceStrategy = com.google.inject.Key$AnnotationInstanceStrategy of com.google.inject.Key
abstract AnnotationStrategy = com.google.inject.Key$AnnotationStrategy of com.google.inject.Key
AnnotationTypeStrategy = com.google.inject.Key$AnnotationTypeStrategy of com.google.inject.Key
final NullAnnotationStrategy = com.google.inject.Key$NullAnnotationStrategy of com.google.inject.Key