public class net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor implements net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor
super_class: java.lang.Object
{
private final net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription> elementMatcher;
descriptor: Lnet/bytebuddy/matcher/ElementMatcher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lnet/bytebuddy/matcher/ElementMatcher<-Lnet/bytebuddy/description/method/MethodDescription;>;
private final net.bytebuddy.implementation.attribute.MethodAttributeAppender$Factory methodAttributeAppenderFactory;
descriptor: Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic net.bytebuddy.matcher.ElementMatchers.any:()Lnet/bytebuddy/matcher/ElementMatcher$Junction;
invokespecial net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor.<init>:(Lnet/bytebuddy/matcher/ElementMatcher;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lnet/bytebuddy/dynamic/scaffold/subclass/ConstructorStrategy$ForDefaultConstructor;
public void <init>(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription>);
descriptor: (Lnet/bytebuddy/matcher/ElementMatcher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic net.bytebuddy.implementation.attribute.MethodAttributeAppender$NoOp.INSTANCE:Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$NoOp;
invokespecial net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor.<init>:(Lnet/bytebuddy/matcher/ElementMatcher;Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lnet/bytebuddy/dynamic/scaffold/subclass/ConstructorStrategy$ForDefaultConstructor;
0 2 1 elementMatcher Lnet/bytebuddy/matcher/ElementMatcher<-Lnet/bytebuddy/description/method/MethodDescription;>;
Signature: (Lnet/bytebuddy/matcher/ElementMatcher<-Lnet/bytebuddy/description/method/MethodDescription;>;)V
MethodParameters:
Name Flags
elementMatcher
public void <init>(net.bytebuddy.implementation.attribute.MethodAttributeAppender$Factory);
descriptor: (Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic net.bytebuddy.matcher.ElementMatchers.any:()Lnet/bytebuddy/matcher/ElementMatcher$Junction;
aload 1
invokespecial net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor.<init>:(Lnet/bytebuddy/matcher/ElementMatcher;Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lnet/bytebuddy/dynamic/scaffold/subclass/ConstructorStrategy$ForDefaultConstructor;
0 2 1 methodAttributeAppenderFactory Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;
MethodParameters:
Name Flags
methodAttributeAppenderFactory
public void <init>(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription>, net.bytebuddy.implementation.attribute.MethodAttributeAppender$Factory);
descriptor: (Lnet/bytebuddy/matcher/ElementMatcher;Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;)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 net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor.elementMatcher:Lnet/bytebuddy/matcher/ElementMatcher;
2: aload 0
aload 2
putfield net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor.methodAttributeAppenderFactory:Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lnet/bytebuddy/dynamic/scaffold/subclass/ConstructorStrategy$ForDefaultConstructor;
0 4 1 elementMatcher Lnet/bytebuddy/matcher/ElementMatcher<-Lnet/bytebuddy/description/method/MethodDescription;>;
0 4 2 methodAttributeAppenderFactory Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;
Signature: (Lnet/bytebuddy/matcher/ElementMatcher<-Lnet/bytebuddy/description/method/MethodDescription;>;Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;)V
MethodParameters:
Name Flags
elementMatcher
methodAttributeAppenderFactory
public java.util.List<net.bytebuddy.description.method.MethodDescription$Token> extractConstructors(net.bytebuddy.description.type.TypeDescription);
descriptor: (Lnet/bytebuddy/description/type/TypeDescription;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface net.bytebuddy.description.type.TypeDescription.getSuperClass:()Lnet/bytebuddy/description/type/TypeDescription$Generic;
invokeinterface net.bytebuddy.description.type.TypeDescription$Generic.getDeclaredMethods:()Lnet/bytebuddy/description/method/MethodList;
invokestatic net.bytebuddy.matcher.ElementMatchers.isConstructor:()Lnet/bytebuddy/matcher/ElementMatcher$Junction;
invokeinterface net.bytebuddy.description.method.MethodList.filter:(Lnet/bytebuddy/matcher/ElementMatcher;)Lnet/bytebuddy/matcher/FilterableList;
checkcast net.bytebuddy.description.method.MethodList
invokeinterface net.bytebuddy.description.method.MethodList.isEmpty:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot define default constructor for class without super class constructor"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new net.bytebuddy.description.method.MethodDescription$Token
dup
iconst_1
invokespecial net.bytebuddy.description.method.MethodDescription$Token.<init>:(I)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lnet/bytebuddy/dynamic/scaffold/subclass/ConstructorStrategy$ForDefaultConstructor;
0 3 1 instrumentedType Lnet/bytebuddy/description/type/TypeDescription;
Signature: (Lnet/bytebuddy/description/type/TypeDescription;)Ljava/util/List<Lnet/bytebuddy/description/method/MethodDescription$Token;>;
MethodParameters:
Name Flags
instrumentedType
public net.bytebuddy.dynamic.scaffold.MethodRegistry inject(net.bytebuddy.description.type.TypeDescription, net.bytebuddy.dynamic.scaffold.MethodRegistry);
descriptor: (Lnet/bytebuddy/description/type/TypeDescription;Lnet/bytebuddy/dynamic/scaffold/MethodRegistry;)Lnet/bytebuddy/dynamic/scaffold/MethodRegistry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface net.bytebuddy.description.type.TypeDescription.getSuperClass:()Lnet/bytebuddy/description/type/TypeDescription$Generic;
invokeinterface net.bytebuddy.description.type.TypeDescription$Generic.getDeclaredMethods:()Lnet/bytebuddy/description/method/MethodList;
invokestatic net.bytebuddy.matcher.ElementMatchers.isConstructor:()Lnet/bytebuddy/matcher/ElementMatcher$Junction;
aload 0
getfield net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor.elementMatcher:Lnet/bytebuddy/matcher/ElementMatcher;
invokeinterface net.bytebuddy.matcher.ElementMatcher$Junction.and:(Lnet/bytebuddy/matcher/ElementMatcher;)Lnet/bytebuddy/matcher/ElementMatcher$Junction;
invokeinterface net.bytebuddy.description.method.MethodList.filter:(Lnet/bytebuddy/matcher/ElementMatcher;)Lnet/bytebuddy/matcher/FilterableList;
checkcast net.bytebuddy.description.method.MethodList
astore 3
start local 3 1: aload 3
invokeinterface net.bytebuddy.description.method.MethodList.isEmpty:()Z
ifeq 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "No possible candidate for super constructor invocation in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface net.bytebuddy.description.type.TypeDescription.getSuperClass:()Lnet/bytebuddy/description/type/TypeDescription$Generic;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: net.bytebuddy.description.method.MethodList
StackMap stack:
aload 3
iconst_0
invokestatic net.bytebuddy.matcher.ElementMatchers.takesArguments:(I)Lnet/bytebuddy/matcher/ElementMatcher$Junction;
invokeinterface net.bytebuddy.description.method.MethodList.filter:(Lnet/bytebuddy/matcher/ElementMatcher;)Lnet/bytebuddy/matcher/FilterableList;
checkcast net.bytebuddy.description.method.MethodList
invokeinterface net.bytebuddy.description.method.MethodList.isEmpty:()Z
ifne 6
4: aload 3
iconst_0
invokestatic net.bytebuddy.matcher.ElementMatchers.takesArguments:(I)Lnet/bytebuddy/matcher/ElementMatcher$Junction;
invokeinterface net.bytebuddy.description.method.MethodList.filter:(Lnet/bytebuddy/matcher/ElementMatcher;)Lnet/bytebuddy/matcher/FilterableList;
checkcast net.bytebuddy.description.method.MethodList
astore 3
5: goto 8
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface net.bytebuddy.description.method.MethodList.size:()I
iconst_1
if_icmple 8
7: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "More than one possible super constructor for constructor delegation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface net.bytebuddy.description.method.MethodList.getOnly:()Ljava/lang/Object;
checkcast net.bytebuddy.description.method.MethodDescription
invokestatic net.bytebuddy.implementation.MethodCall.invoke:(Lnet/bytebuddy/description/method/MethodDescription;)Lnet/bytebuddy/implementation/MethodCall$WithoutSpecifiedTarget;
astore 4
start local 4 9: aload 3
invokeinterface net.bytebuddy.description.method.MethodList.getOnly:()Ljava/lang/Object;
checkcast net.bytebuddy.description.method.MethodDescription
invokeinterface net.bytebuddy.description.method.MethodDescription.getParameters:()Lnet/bytebuddy/description/method/ParameterList;
invokeinterface net.bytebuddy.description.method.ParameterList.asTypeList:()Lnet/bytebuddy/description/type/TypeList$Generic;
invokeinterface net.bytebuddy.description.type.TypeList$Generic.asErasures:()Lnet/bytebuddy/description/type/TypeList;
invokeinterface net.bytebuddy.description.type.TypeList.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor net.bytebuddy.description.type.TypeDescription net.bytebuddy.dynamic.scaffold.MethodRegistry net.bytebuddy.description.method.MethodList net.bytebuddy.implementation.MethodCall top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast net.bytebuddy.description.type.TypeDescription
astore 5
start local 5 11: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
invokeinterface net.bytebuddy.description.type.TypeDescription.getDefaultValue:()Ljava/lang/Object;
aastore
invokevirtual net.bytebuddy.implementation.MethodCall.with:([Ljava/lang/Object;)Lnet/bytebuddy/implementation/MethodCall;
astore 4
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 2
new net.bytebuddy.matcher.LatentMatcher$Resolved
dup
invokestatic net.bytebuddy.matcher.ElementMatchers.isConstructor:()Lnet/bytebuddy/matcher/ElementMatcher$Junction;
iconst_0
invokestatic net.bytebuddy.matcher.ElementMatchers.takesArguments:(I)Lnet/bytebuddy/matcher/ElementMatcher$Junction;
invokeinterface net.bytebuddy.matcher.ElementMatcher$Junction.and:(Lnet/bytebuddy/matcher/ElementMatcher;)Lnet/bytebuddy/matcher/ElementMatcher$Junction;
invokespecial net.bytebuddy.matcher.LatentMatcher$Resolved.<init>:(Lnet/bytebuddy/matcher/ElementMatcher;)V
14: new net.bytebuddy.dynamic.scaffold.MethodRegistry$Handler$ForImplementation
dup
aload 4
invokespecial net.bytebuddy.dynamic.scaffold.MethodRegistry$Handler$ForImplementation.<init>:(Lnet/bytebuddy/implementation/Implementation;)V
15: aload 0
getfield net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor.methodAttributeAppenderFactory:Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;
16: invokestatic net.bytebuddy.dynamic.Transformer$NoOp.make:()Lnet/bytebuddy/dynamic/Transformer;
17: invokeinterface net.bytebuddy.dynamic.scaffold.MethodRegistry.append:(Lnet/bytebuddy/matcher/LatentMatcher;Lnet/bytebuddy/dynamic/scaffold/MethodRegistry$Handler;Lnet/bytebuddy/implementation/attribute/MethodAttributeAppender$Factory;Lnet/bytebuddy/dynamic/Transformer;)Lnet/bytebuddy/dynamic/scaffold/MethodRegistry;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lnet/bytebuddy/dynamic/scaffold/subclass/ConstructorStrategy$ForDefaultConstructor;
0 18 1 instrumentedType Lnet/bytebuddy/description/type/TypeDescription;
0 18 2 methodRegistry Lnet/bytebuddy/dynamic/scaffold/MethodRegistry;
1 18 3 candidates Lnet/bytebuddy/description/method/MethodList<*>;
9 18 4 methodCall Lnet/bytebuddy/implementation/MethodCall;
11 12 5 typeDescription Lnet/bytebuddy/description/type/TypeDescription;
MethodParameters:
Name Flags
instrumentedType
methodRegistry
}
SourceFile: "ConstructorStrategy.java"
NestHost: net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy
InnerClasses:
public abstract Enhance = net.bytebuddy.build.HashCodeAndEqualsPlugin$Enhance of net.bytebuddy.build.HashCodeAndEqualsPlugin
public abstract InGenericShape = net.bytebuddy.description.method.MethodDescription$InGenericShape of net.bytebuddy.description.method.MethodDescription
public Token = net.bytebuddy.description.method.MethodDescription$Token of net.bytebuddy.description.method.MethodDescription
public abstract Generic = net.bytebuddy.description.type.TypeDescription$Generic of net.bytebuddy.description.type.TypeDescription
public abstract Generic = net.bytebuddy.description.type.TypeList$Generic of net.bytebuddy.description.type.TypeList
public final NoOp = net.bytebuddy.dynamic.Transformer$NoOp of net.bytebuddy.dynamic.Transformer
public abstract Handler = net.bytebuddy.dynamic.scaffold.MethodRegistry$Handler of net.bytebuddy.dynamic.scaffold.MethodRegistry
public ForImplementation = net.bytebuddy.dynamic.scaffold.MethodRegistry$Handler$ForImplementation of net.bytebuddy.dynamic.scaffold.MethodRegistry$Handler
public ForDefaultConstructor = net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$ForDefaultConstructor of net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy
public WithoutSpecifiedTarget = net.bytebuddy.implementation.MethodCall$WithoutSpecifiedTarget of net.bytebuddy.implementation.MethodCall
public abstract Factory = net.bytebuddy.implementation.attribute.MethodAttributeAppender$Factory of net.bytebuddy.implementation.attribute.MethodAttributeAppender
public final NoOp = net.bytebuddy.implementation.attribute.MethodAttributeAppender$NoOp of net.bytebuddy.implementation.attribute.MethodAttributeAppender
public abstract Junction = net.bytebuddy.matcher.ElementMatcher$Junction of net.bytebuddy.matcher.ElementMatcher
public Resolved = net.bytebuddy.matcher.LatentMatcher$Resolved of net.bytebuddy.matcher.LatentMatcher
RuntimeVisibleAnnotations:
net.bytebuddy.build.HashCodeAndEqualsPlugin$Enhance()