public final class org.finos.legend.engine.postgres.auth.SecureString extends java.lang.Object implements java.lang.CharSequence, java.io.Closeable
{
private char[] chars;
public void <init>(char[])
{
org.finos.legend.engine.postgres.auth.SecureString v;
char[] v;
java.lang.Object v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v := @parameter: char[];
specialinvoke v.<java.lang.Object: void <init>()>();
v = staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object)>(v);
v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars> = v;
return;
}
public synchronized boolean equals(java.lang.Object)
{
org.finos.legend.engine.postgres.auth.SecureString v;
char v, v, v;
int v, v, v, v, v;
char[] v, v, v;
java.lang.Object v;
boolean v, v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v := @parameter: java.lang.Object;
specialinvoke v.<org.finos.legend.engine.postgres.auth.SecureString: void ensureNotClosed()>();
if v != v goto label;
return 1;
label:
if v == null goto label;
v = v instanceof java.lang.CharSequence;
if v != 0 goto label;
label:
return 0;
label:
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = lengthof v;
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
if v == v goto label;
return 0;
label:
v = 0;
v = 0;
label:
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = lengthof v;
if v >= v goto label;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = v[v];
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = v ^ v;
v = v | v;
v = v + 1;
goto label;
label:
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public synchronized int hashCode()
{
int v;
org.finos.legend.engine.postgres.auth.SecureString v;
char[] v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = staticinvoke <java.util.Arrays: int hashCode(char[])>(v);
return v;
}
public synchronized int length()
{
int v;
org.finos.legend.engine.postgres.auth.SecureString v;
char[] v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
specialinvoke v.<org.finos.legend.engine.postgres.auth.SecureString: void ensureNotClosed()>();
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = lengthof v;
return v;
}
public synchronized char charAt(int)
{
org.finos.legend.engine.postgres.auth.SecureString v;
int v;
char[] v;
char v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v := @parameter: int;
specialinvoke v.<org.finos.legend.engine.postgres.auth.SecureString: void ensureNotClosed()>();
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = v[v];
return v;
}
public org.finos.legend.engine.postgres.auth.SecureString subSequence(int, int)
{
org.finos.legend.engine.postgres.auth.SecureString v;
java.lang.UnsupportedOperationException v;
int v, v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v := @parameter: int;
v := @parameter: int;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>(java.lang.String)>("Cannot get subsequence of SecureString");
throw v;
}
public synchronized java.lang.String toString()
{
org.finos.legend.engine.postgres.auth.SecureString v;
char[] v;
java.lang.String v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v = new java.lang.String;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
specialinvoke v.<java.lang.String: void <init>(char[])>(v);
return v;
}
public synchronized void close()
{
org.finos.legend.engine.postgres.auth.SecureString v;
char[] v, v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
if v == null goto label;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
staticinvoke <java.util.Arrays: void fill(char[],char)>(v, 0);
v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars> = null;
label:
return;
}
public synchronized org.finos.legend.engine.postgres.auth.SecureString clone()
{
org.finos.legend.engine.postgres.auth.SecureString v, v;
int v;
char[] v, v, v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
specialinvoke v.<org.finos.legend.engine.postgres.auth.SecureString: void ensureNotClosed()>();
v = new org.finos.legend.engine.postgres.auth.SecureString;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
v = lengthof v;
v = staticinvoke <java.util.Arrays: char[] copyOf(char[],int)>(v, v);
specialinvoke v.<org.finos.legend.engine.postgres.auth.SecureString: void <init>(char[])>(v);
return v;
}
public synchronized char[] getChars()
{
org.finos.legend.engine.postgres.auth.SecureString v;
char[] v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
specialinvoke v.<org.finos.legend.engine.postgres.auth.SecureString: void ensureNotClosed()>();
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
return v;
}
private void ensureNotClosed()
{
org.finos.legend.engine.postgres.auth.SecureString v;
char[] v;
java.lang.IllegalStateException v;
v := @this: org.finos.legend.engine.postgres.auth.SecureString;
v = v.<org.finos.legend.engine.postgres.auth.SecureString: char[] chars>;
if v != null goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("SecureString has already been closed");
throw v;
label:
return;
}
}