public abstract class com.google.common.reflect.Invokable<T, R> extends com.google.common.reflect.Element implements java.lang.reflect.GenericDeclaration
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.reflect.Invokable
super_class: com.google.common.reflect.Element
{
<M extends java.lang.reflect.AccessibleObject extends java.lang.reflect.Member> void <init>();
descriptor: (Ljava/lang/reflect/AccessibleObject;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.reflect.Element.<init>:(Ljava/lang/reflect/AccessibleObject;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
0 2 1 member TM;
Signature: <M:Ljava/lang/reflect/AccessibleObject;:Ljava/lang/reflect/Member;>(TM;)V
MethodParameters:
Name Flags
member
public static com.google.common.reflect.Invokable<?, java.lang.Object> from(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Lcom/google/common/reflect/Invokable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.reflect.Invokable$MethodInvokable
dup
aload 0
invokespecial com.google.common.reflect.Invokable$MethodInvokable.<init>:(Ljava/lang/reflect/Method;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Ljava/lang/reflect/Method;
Signature: (Ljava/lang/reflect/Method;)Lcom/google/common/reflect/Invokable<*Ljava/lang/Object;>;
MethodParameters:
Name Flags
method
public static <T> com.google.common.reflect.Invokable<T, T> from(java.lang.reflect.Constructor<T>);
descriptor: (Ljava/lang/reflect/Constructor;)Lcom/google/common/reflect/Invokable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.reflect.Invokable$ConstructorInvokable
dup
aload 0
invokespecial com.google.common.reflect.Invokable$ConstructorInvokable.<init>:(Ljava/lang/reflect/Constructor;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 constructor Ljava/lang/reflect/Constructor<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/reflect/Constructor<TT;>;)Lcom/google/common/reflect/Invokable<TT;TT;>;
MethodParameters:
Name Flags
constructor
public abstract boolean isOverridable();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isVarArgs();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public final R invoke(T, []);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Object[]
invokevirtual com.google.common.reflect.Invokable.invokeInternal:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
0 1 1 receiver TT;
0 1 2 args [Ljava/lang/Object;
Exceptions:
throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
Signature: (TT;[Ljava/lang/Object;)TR;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
receiver
args
public final com.google.common.reflect.TypeToken<? extends R> getReturnType();
descriptor: ()Lcom/google/common/reflect/TypeToken;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.reflect.Invokable.getGenericReturnType:()Ljava/lang/reflect/Type;
invokestatic com.google.common.reflect.TypeToken.of:(Ljava/lang/reflect/Type;)Lcom/google/common/reflect/TypeToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
Signature: ()Lcom/google/common/reflect/TypeToken<+TR;>;
public final com.google.common.collect.ImmutableList<com.google.common.reflect.Parameter> getParameters();
descriptor: ()Lcom/google/common/collect/ImmutableList;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.reflect.Invokable.getGenericParameterTypes:()[Ljava/lang/reflect/Type;
astore 1
start local 1 1: aload 0
invokevirtual com.google.common.reflect.Invokable.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
astore 2
start local 2 2: aload 0
invokevirtual com.google.common.reflect.Invokable.getAnnotatedParameterTypes:()[Ljava/lang/reflect/AnnotatedType;
astore 3
start local 3 3: invokestatic com.google.common.collect.ImmutableList.builder:()Lcom/google/common/collect/ImmutableList$Builder;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 12
6: StackMap locals: com.google.common.reflect.Invokable java.lang.reflect.Type[] java.lang.annotation.Annotation[][] java.lang.reflect.AnnotatedType[] com.google.common.collect.ImmutableList$Builder int
StackMap stack:
aload 4
7: new com.google.common.reflect.Parameter
dup
8: aload 0
iload 5
aload 1
iload 5
aaload
invokestatic com.google.common.reflect.TypeToken.of:(Ljava/lang/reflect/Type;)Lcom/google/common/reflect/TypeToken;
aload 2
iload 5
aaload
aload 3
iload 5
aaload
9: invokespecial com.google.common.reflect.Parameter.<init>:(Lcom/google/common/reflect/Invokable;ILcom/google/common/reflect/TypeToken;[Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedType;)V
10: invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 1
arraylength
if_icmplt 6
end local 5 13: aload 4
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
1 14 1 parameterTypes [Ljava/lang/reflect/Type;
2 14 2 annotations [[Ljava/lang/annotation/Annotation;
3 14 3 annotatedTypes [Ljava/lang/reflect/AnnotatedType;
4 14 4 builder Lcom/google/common/collect/ImmutableList$Builder<Lcom/google/common/reflect/Parameter;>;
5 13 5 i I
Signature: ()Lcom/google/common/collect/ImmutableList<Lcom/google/common/reflect/Parameter;>;
public final com.google.common.collect.ImmutableList<com.google.common.reflect.TypeToken<? extends java.lang.Throwable>> getExceptionTypes();
descriptor: ()Lcom/google/common/collect/ImmutableList;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=7, args_size=1
start local 0 0: invokestatic com.google.common.collect.ImmutableList.builder:()Lcom/google/common/collect/ImmutableList$Builder;
astore 1
start local 1 1: aload 0
invokevirtual com.google.common.reflect.Invokable.getGenericExceptionTypes:()[Ljava/lang/reflect/Type;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: com.google.common.reflect.Invokable com.google.common.collect.ImmutableList$Builder top int int java.lang.reflect.Type[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokestatic com.google.common.reflect.TypeToken.of:(Ljava/lang/reflect/Type;)Lcom/google/common/reflect/TypeToken;
4: astore 6
start local 6 5: aload 1
aload 6
invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
end local 6 end local 2 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 2
8: aload 1
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
1 9 1 builder Lcom/google/common/collect/ImmutableList$Builder<Lcom/google/common/reflect/TypeToken<+Ljava/lang/Throwable;>;>;
3 6 2 type Ljava/lang/reflect/Type;
5 6 6 exceptionType Lcom/google/common/reflect/TypeToken<+Ljava/lang/Throwable;>;
Signature: ()Lcom/google/common/collect/ImmutableList<Lcom/google/common/reflect/TypeToken<+Ljava/lang/Throwable;>;>;
public final <R1 extends R> com.google.common.reflect.Invokable<T, R1> returning(java.lang.Class<R1>);
descriptor: (Ljava/lang/Class;)Lcom/google/common/reflect/Invokable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.reflect.TypeToken.of:(Ljava/lang/Class;)Lcom/google/common/reflect/TypeToken;
invokevirtual com.google.common.reflect.Invokable.returning:(Lcom/google/common/reflect/TypeToken;)Lcom/google/common/reflect/Invokable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
0 1 1 returnType Ljava/lang/Class<TR1;>;
Signature: <R1:TR;>(Ljava/lang/Class<TR1;>;)Lcom/google/common/reflect/Invokable<TT;TR1;>;
MethodParameters:
Name Flags
returnType
public final <R1 extends R> com.google.common.reflect.Invokable<T, R1> returning(com.google.common.reflect.TypeToken<R1>);
descriptor: (Lcom/google/common/reflect/TypeToken;)Lcom/google/common/reflect/Invokable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.google.common.reflect.Invokable.getReturnType:()Lcom/google/common/reflect/TypeToken;
invokevirtual com.google.common.reflect.TypeToken.isSupertypeOf:(Lcom/google/common/reflect/TypeToken;)Z
ifne 4
1: new java.lang.IllegalArgumentException
dup
2: new java.lang.StringBuilder
dup
ldc "Invokable is known to return "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.google.common.reflect.Invokable.getReturnType:()Lcom/google/common/reflect/TypeToken;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", not "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
0 6 1 returnType Lcom/google/common/reflect/TypeToken<TR1;>;
5 6 2 specialized Lcom/google/common/reflect/Invokable<TT;TR1;>;
Signature: <R1:TR;>(Lcom/google/common/reflect/TypeToken<TR1;>;)Lcom/google/common/reflect/Invokable<TT;TR1;>;
MethodParameters:
Name Flags
returnType
public final java.lang.Class<? super T> getDeclaringClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.reflect.Element.getDeclaringClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
Signature: ()Ljava/lang/Class<-TT;>;
public com.google.common.reflect.TypeToken<T> getOwnerType();
descriptor: ()Lcom/google/common/reflect/TypeToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.reflect.Invokable.getDeclaringClass:()Ljava/lang/Class;
invokestatic com.google.common.reflect.TypeToken.of:(Ljava/lang/Class;)Lcom/google/common/reflect/TypeToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/Invokable<TT;TR;>;
Signature: ()Lcom/google/common/reflect/TypeToken<TT;>;
abstract java.lang.Object invokeInternal(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
receiver
args
abstract java.lang.reflect.Type[] getGenericParameterTypes();
descriptor: ()[Ljava/lang/reflect/Type;
flags: (0x0400) ACC_ABSTRACT
abstract java.lang.reflect.AnnotatedType[] getAnnotatedParameterTypes();
descriptor: ()[Ljava/lang/reflect/AnnotatedType;
flags: (0x0400) ACC_ABSTRACT
abstract java.lang.reflect.Type[] getGenericExceptionTypes();
descriptor: ()[Ljava/lang/reflect/Type;
flags: (0x0400) ACC_ABSTRACT
abstract java.lang.annotation.Annotation[][] getParameterAnnotations();
descriptor: ()[[Ljava/lang/annotation/Annotation;
flags: (0x0400) ACC_ABSTRACT
abstract java.lang.reflect.Type getGenericReturnType();
descriptor: ()Ljava/lang/reflect/Type;
flags: (0x0400) ACC_ABSTRACT
public abstract java.lang.reflect.AnnotatedType getAnnotatedReturnType();
descriptor: ()Ljava/lang/reflect/AnnotatedType;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public int hashCode();
descriptor: ()I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.reflect.Element.hashCode:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.reflect.Element.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.reflect.Element.equals:(Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Lcom/google/common/reflect/Element;Ljava/lang/reflect/GenericDeclaration;
SourceFile: "Invokable.java"
NestMembers:
com.google.common.reflect.Invokable$ConstructorInvokable com.google.common.reflect.Invokable$MethodInvokable
InnerClasses:
public final Builder = com.google.common.collect.ImmutableList$Builder of com.google.common.collect.ImmutableList
ConstructorInvokable = com.google.common.reflect.Invokable$ConstructorInvokable of com.google.common.reflect.Invokable
MethodInvokable = com.google.common.reflect.Invokable$MethodInvokable of com.google.common.reflect.Invokable
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()