public final class org.eclipse.aether.resolution.ArtifactResult
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.aether.resolution.ArtifactResult
super_class: java.lang.Object
{
private final org.eclipse.aether.resolution.ArtifactRequest request;
descriptor: Lorg/eclipse/aether/resolution/ArtifactRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<java.lang.Exception> exceptions;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/Exception;>;
private org.eclipse.aether.artifact.Artifact artifact;
descriptor: Lorg/eclipse/aether/artifact/Artifact;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.aether.repository.ArtifactRepository repository;
descriptor: Lorg/eclipse/aether/repository/ArtifactRepository;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.eclipse.aether.resolution.ArtifactRequest);
descriptor: (Lorg/eclipse/aether/resolution/ArtifactRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
ldc "artifact request cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.aether.resolution.ArtifactRequest
putfield org.eclipse.aether.resolution.ArtifactResult.request:Lorg/eclipse/aether/resolution/ArtifactRequest;
2: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.eclipse.aether.resolution.ArtifactResult.exceptions:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
0 4 1 request Lorg/eclipse/aether/resolution/ArtifactRequest;
MethodParameters:
Name Flags
request
public org.eclipse.aether.resolution.ArtifactRequest getRequest();
descriptor: ()Lorg/eclipse/aether/resolution/ArtifactRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.resolution.ArtifactResult.request:Lorg/eclipse/aether/resolution/ArtifactRequest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
public org.eclipse.aether.artifact.Artifact getArtifact();
descriptor: ()Lorg/eclipse/aether/artifact/Artifact;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.resolution.ArtifactResult.artifact:Lorg/eclipse/aether/artifact/Artifact;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
public org.eclipse.aether.resolution.ArtifactResult setArtifact(org.eclipse.aether.artifact.Artifact);
descriptor: (Lorg/eclipse/aether/artifact/Artifact;)Lorg/eclipse/aether/resolution/ArtifactResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.aether.resolution.ArtifactResult.artifact:Lorg/eclipse/aether/artifact/Artifact;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
0 2 1 artifact Lorg/eclipse/aether/artifact/Artifact;
MethodParameters:
Name Flags
artifact
public java.util.List<java.lang.Exception> getExceptions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.resolution.ArtifactResult.exceptions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
Signature: ()Ljava/util/List<Ljava/lang/Exception;>;
public org.eclipse.aether.resolution.ArtifactResult addException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Lorg/eclipse/aether/resolution/ArtifactResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: aload 0
getfield org.eclipse.aether.resolution.ArtifactResult.exceptions:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.aether.resolution.ArtifactResult.exceptions:Ljava/util/List;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.aether.resolution.ArtifactResult.exceptions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
0 5 1 exception Ljava/lang/Exception;
MethodParameters:
Name Flags
exception
public org.eclipse.aether.repository.ArtifactRepository getRepository();
descriptor: ()Lorg/eclipse/aether/repository/ArtifactRepository;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.resolution.ArtifactResult.repository:Lorg/eclipse/aether/repository/ArtifactRepository;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
public org.eclipse.aether.resolution.ArtifactResult setRepository(org.eclipse.aether.repository.ArtifactRepository);
descriptor: (Lorg/eclipse/aether/repository/ArtifactRepository;)Lorg/eclipse/aether/resolution/ArtifactResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.aether.resolution.ArtifactResult.repository:Lorg/eclipse/aether/repository/ArtifactRepository;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
0 2 1 repository Lorg/eclipse/aether/repository/ArtifactRepository;
MethodParameters:
Name Flags
repository
public boolean isResolved();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.aether.resolution.ArtifactResult.getArtifact:()Lorg/eclipse/aether/artifact/Artifact;
ifnull 1
aload 0
invokevirtual org.eclipse.aether.resolution.ArtifactResult.getArtifact:()Lorg/eclipse/aether/artifact/Artifact;
invokeinterface org.eclipse.aether.artifact.Artifact.getFile:()Ljava/io/File;
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 Lorg/eclipse/aether/resolution/ArtifactResult;
public boolean isMissing();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.aether.resolution.ArtifactResult.getExceptions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.eclipse.aether.resolution.ArtifactResult top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Exception
astore 1
start local 1 2: aload 1
instanceof org.eclipse.aether.transfer.ArtifactNotFoundException
ifne 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 0
invokevirtual org.eclipse.aether.resolution.ArtifactResult.isResolved:()Z
ifeq 6
iconst_0
goto 7
StackMap locals: org.eclipse.aether.resolution.ArtifactResult
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/aether/resolution/ArtifactResult;
2 4 1 e Ljava/lang/Exception;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual org.eclipse.aether.resolution.ArtifactResult.getArtifact:()Lorg/eclipse/aether/artifact/Artifact;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " < "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.eclipse.aether.resolution.ArtifactResult.getRepository:()Lorg/eclipse/aether/repository/ArtifactRepository;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 Lorg/eclipse/aether/resolution/ArtifactResult;
}
SourceFile: "ArtifactResult.java"