public final class org.eclipse.aether.installation.InstallRequest extends java.lang.Object
{
private java.util.Collection artifacts;
private java.util.Collection metadata;
private org.eclipse.aether.RequestTrace trace;
public void <init>()
{
java.util.List v, v;
org.eclipse.aether.installation.InstallRequest v;
v := @this: org.eclipse.aether.installation.InstallRequest;
specialinvoke v.<java.lang.Object: void <init>()>();
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection artifacts> = v;
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection metadata> = v;
return;
}
public java.util.Collection getArtifacts()
{
org.eclipse.aether.installation.InstallRequest v;
java.util.Collection v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v = v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection artifacts>;
return v;
}
public org.eclipse.aether.installation.InstallRequest setArtifacts(java.util.Collection)
{
java.util.List v;
org.eclipse.aether.installation.InstallRequest v;
java.util.Collection v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v := @parameter: java.util.Collection;
if v != null goto label;
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection artifacts> = v;
goto label;
label:
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection artifacts> = v;
label:
return v;
}
public org.eclipse.aether.installation.InstallRequest addArtifact(org.eclipse.aether.artifact.Artifact)
{
java.util.Collection v, v;
org.eclipse.aether.artifact.Artifact v;
org.eclipse.aether.installation.InstallRequest v;
boolean v;
java.util.ArrayList v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v := @parameter: org.eclipse.aether.artifact.Artifact;
if v == null goto label;
v = v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection artifacts>;
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
if v == 0 goto label;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection artifacts> = v;
label:
v = v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection artifacts>;
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
label:
return v;
}
public java.util.Collection getMetadata()
{
org.eclipse.aether.installation.InstallRequest v;
java.util.Collection v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v = v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection metadata>;
return v;
}
public org.eclipse.aether.installation.InstallRequest setMetadata(java.util.Collection)
{
java.util.List v;
org.eclipse.aether.installation.InstallRequest v;
java.util.Collection v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v := @parameter: java.util.Collection;
if v != null goto label;
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection metadata> = v;
goto label;
label:
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection metadata> = v;
label:
return v;
}
public org.eclipse.aether.installation.InstallRequest addMetadata(org.eclipse.aether.metadata.Metadata)
{
org.eclipse.aether.metadata.Metadata v;
java.util.Collection v, v;
org.eclipse.aether.installation.InstallRequest v;
boolean v;
java.util.ArrayList v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v := @parameter: org.eclipse.aether.metadata.Metadata;
if v == null goto label;
v = v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection metadata>;
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
if v == 0 goto label;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection metadata> = v;
label:
v = v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection metadata>;
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
label:
return v;
}
public org.eclipse.aether.RequestTrace getTrace()
{
org.eclipse.aether.RequestTrace v;
org.eclipse.aether.installation.InstallRequest v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v = v.<org.eclipse.aether.installation.InstallRequest: org.eclipse.aether.RequestTrace trace>;
return v;
}
public org.eclipse.aether.installation.InstallRequest setTrace(org.eclipse.aether.RequestTrace)
{
org.eclipse.aether.RequestTrace v;
org.eclipse.aether.installation.InstallRequest v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v := @parameter: org.eclipse.aether.RequestTrace;
v.<org.eclipse.aether.installation.InstallRequest: org.eclipse.aether.RequestTrace trace> = v;
return v;
}
public java.lang.String toString()
{
java.util.Collection v, v;
java.lang.String v;
org.eclipse.aether.installation.InstallRequest v;
v := @this: org.eclipse.aether.installation.InstallRequest;
v = virtualinvoke v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection getArtifacts()>();
v = virtualinvoke v.<org.eclipse.aether.installation.InstallRequest: java.util.Collection getMetadata()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.util.Collection,java.util.Collection)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u, \u0001");
return v;
}
}