public class org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory implements org.jboss.resteasy.spi.ResourceFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory
super_class: java.lang.Object
{
private final org.jboss.resteasy.spi.metadata.ResourceBuilder resourceBuilder;
descriptor: Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<?> scannableClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final org.jboss.resteasy.spi.metadata.ResourceClass resourceClass;
descriptor: Lorg/jboss/resteasy/spi/metadata/ResourceClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.jboss.resteasy.spi.ConstructorInjector constructorInjector;
descriptor: Lorg/jboss/resteasy/spi/ConstructorInjector;
flags: (0x0002) ACC_PRIVATE
private org.jboss.resteasy.spi.PropertyInjector propertyInjector;
descriptor: Lorg/jboss/resteasy/spi/PropertyInjector;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.jboss.resteasy.spi.metadata.ResourceBuilder
dup
invokespecial org.jboss.resteasy.spi.metadata.ResourceBuilder.<init>:()V
aload 1
invokespecial org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.<init>:(Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;Ljava/lang/Class;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
0 2 1 scannableClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
scannableClass
public void <init>(org.jboss.resteasy.spi.metadata.ResourceBuilder, java.lang.Class<?>);
descriptor: (Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
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
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceBuilder:Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;
2: aload 0
aload 2
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.scannableClass:Ljava/lang/Class;
3: aload 0
aload 1
aload 2
invokevirtual org.jboss.resteasy.spi.metadata.ResourceBuilder.getRootResourceFromAnnotations:(Ljava/lang/Class;)Lorg/jboss/resteasy/spi/metadata/ResourceClass;
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
0 5 1 resourceBuilder Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;
0 5 2 scannableClass Ljava/lang/Class<*>;
Signature: (Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
resourceBuilder
scannableClass
public void <init>(org.jboss.resteasy.spi.metadata.ResourceClass);
descriptor: (Lorg/jboss/resteasy/spi/metadata/ResourceClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.jboss.resteasy.spi.metadata.ResourceBuilder
dup
invokespecial org.jboss.resteasy.spi.metadata.ResourceBuilder.<init>:()V
aload 1
invokespecial org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.<init>:(Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;Lorg/jboss/resteasy/spi/metadata/ResourceClass;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
0 2 1 resourceClass Lorg/jboss/resteasy/spi/metadata/ResourceClass;
MethodParameters:
Name Flags
resourceClass
public void <init>(org.jboss.resteasy.spi.metadata.ResourceBuilder, org.jboss.resteasy.spi.metadata.ResourceClass);
descriptor: (Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;Lorg/jboss/resteasy/spi/metadata/ResourceClass;)V
flags: (0x0001) ACC_PUBLIC
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 1
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceBuilder:Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;
2: aload 0
aload 2
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.scannableClass:Ljava/lang/Class;
3: aload 0
aload 2
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
0 5 1 resourceBuilder Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;
0 5 2 resourceClass Lorg/jboss/resteasy/spi/metadata/ResourceClass;
MethodParameters:
Name Flags
resourceBuilder
resourceClass
public void registered(org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getConstructor:()Lorg/jboss/resteasy/spi/metadata/ResourceConstructor;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceBuilder:Lorg/jboss/resteasy/spi/metadata/ResourceBuilder;
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
invokevirtual org.jboss.resteasy.spi.metadata.ResourceBuilder.getConstructor:(Ljava/lang/Class;)Lorg/jboss/resteasy/spi/metadata/ResourceConstructor;
astore 2
2: StackMap locals: org.jboss.resteasy.spi.metadata.ResourceConstructor
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.RuntimeException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.scannableClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unableToFindPublicConstructorForClass:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getInjectorFactory:()Lorg/jboss/resteasy/spi/InjectorFactory;
aload 2
aload 1
invokeinterface org.jboss.resteasy.spi.InjectorFactory.createConstructor:(Lorg/jboss/resteasy/spi/metadata/ResourceConstructor;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Lorg/jboss/resteasy/spi/ConstructorInjector;
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.constructorInjector:Lorg/jboss/resteasy/spi/ConstructorInjector;
5: aload 0
aload 1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getInjectorFactory:()Lorg/jboss/resteasy/spi/InjectorFactory;
aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.resourceClass:Lorg/jboss/resteasy/spi/metadata/ResourceClass;
aload 1
invokeinterface org.jboss.resteasy.spi.InjectorFactory.createPropertyInjector:(Lorg/jboss/resteasy/spi/metadata/ResourceClass;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Lorg/jboss/resteasy/spi/PropertyInjector;
putfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.propertyInjector:Lorg/jboss/resteasy/spi/PropertyInjector;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
0 7 1 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
1 7 2 constructor Lorg/jboss/resteasy/spi/metadata/ResourceConstructor;
MethodParameters:
Name Flags
factory
public java.lang.Object createResource(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.constructorInjector:Lorg/jboss/resteasy/spi/ConstructorInjector;
aload 1
aload 2
invokeinterface org.jboss.resteasy.spi.ConstructorInjector.construct:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;)Ljava/lang/Object;
astore 4
start local 4 1: aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.propertyInjector:Lorg/jboss/resteasy/spi/PropertyInjector;
aload 1
aload 2
aload 4
invokeinterface org.jboss.resteasy.spi.PropertyInjector.inject:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)V
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
0 3 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 3 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 3 3 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
1 3 4 obj Ljava/lang/Object;
MethodParameters:
Name Flags
request
response
factory
public void unregistered();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
public java.lang.Class<?> getScannableClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.scannableClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
Signature: ()Ljava/lang/Class<*>;
public void requestFinished(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory;
0 1 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 1 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 1 3 resource Ljava/lang/Object;
MethodParameters:
Name Flags
request
response
resource
}
SourceFile: "POJOResourceFactory.java"