class org.kohsuke.github.GHAppInstallationsIterable extends org.kohsuke.github.PagedIterable
{
public static final java.lang.String APP_INSTALLATIONS_URL;
private final transient org.kohsuke.github.GitHub root;
private org.kohsuke.github.GHAppInstallationsPage result;
public void <init>(org.kohsuke.github.GitHub)
{
org.kohsuke.github.GitHub v;
org.kohsuke.github.GHAppInstallationsIterable v;
v := @this: org.kohsuke.github.GHAppInstallationsIterable;
v := @parameter: org.kohsuke.github.GitHub;
specialinvoke v.<org.kohsuke.github.PagedIterable: void <init>()>();
v.<org.kohsuke.github.GHAppInstallationsIterable: org.kohsuke.github.GitHub root> = v;
return;
}
public org.kohsuke.github.PagedIterator _iterator(int)
{
java.util.Iterator v;
org.kohsuke.github.GitHubPageIterator v;
org.kohsuke.github.GitHubClient v;
java.lang.String[] v;
org.kohsuke.github.GitHubRequest$Builder v;
org.kohsuke.github.GitHubRequest v;
int v;
org.kohsuke.github.PagedIterator v;
org.kohsuke.github.Requester v;
org.kohsuke.github.GitHub v, v;
org.kohsuke.github.GHAppInstallationsIterable v;
v := @this: org.kohsuke.github.GHAppInstallationsIterable;
v := @parameter: int;
v = v.<org.kohsuke.github.GHAppInstallationsIterable: org.kohsuke.github.GitHub root>;
v = virtualinvoke v.<org.kohsuke.github.GitHub: org.kohsuke.github.Requester createRequest()>();
v = newarray (java.lang.String)[0];
v = virtualinvoke v.<org.kohsuke.github.Requester: org.kohsuke.github.GitHubRequest$Builder withUrlPath(java.lang.String,java.lang.String[])>("/user/installations", v);
v = virtualinvoke v.<org.kohsuke.github.Requester: org.kohsuke.github.GitHubRequest build()>();
v = new org.kohsuke.github.PagedIterator;
v = v.<org.kohsuke.github.GHAppInstallationsIterable: org.kohsuke.github.GitHub root>;
v = virtualinvoke v.<org.kohsuke.github.GitHub: org.kohsuke.github.GitHubClient getClient()>();
v = staticinvoke <org.kohsuke.github.GitHubPageIterator: org.kohsuke.github.GitHubPageIterator create(org.kohsuke.github.GitHubClient,java.lang.Class,org.kohsuke.github.GitHubRequest,int)>(v, class "Lorg/kohsuke/github/GHAppInstallationsPage;", v, v);
v = virtualinvoke v.<org.kohsuke.github.GHAppInstallationsIterable: java.util.Iterator adapt(java.util.Iterator)>(v);
specialinvoke v.<org.kohsuke.github.PagedIterator: void <init>(java.util.Iterator,java.util.function.Consumer)>(v, null);
return v;
}
protected java.util.Iterator adapt(java.util.Iterator)
{
java.util.Iterator v;
org.kohsuke.github.GHAppInstallationsIterable$1 v;
org.kohsuke.github.GHAppInstallationsIterable v;
v := @this: org.kohsuke.github.GHAppInstallationsIterable;
v := @parameter: java.util.Iterator;
v = new org.kohsuke.github.GHAppInstallationsIterable$1;
specialinvoke v.<org.kohsuke.github.GHAppInstallationsIterable$1: void <init>(org.kohsuke.github.GHAppInstallationsIterable,java.util.Iterator)>(v, v);
return v;
}
}