public class org.apache.commons.text.StringSubstitutor extends java.lang.Object
{
public static final char DEFAULT_ESCAPE;
public static final java.lang.String DEFAULT_VAR_DEFAULT;
public static final java.lang.String DEFAULT_VAR_END;
public static final java.lang.String DEFAULT_VAR_START;
public static final org.apache.commons.text.matcher.StringMatcher DEFAULT_PREFIX;
public static final org.apache.commons.text.matcher.StringMatcher DEFAULT_SUFFIX;
public static final org.apache.commons.text.matcher.StringMatcher DEFAULT_VALUE_DELIMITER;
private boolean disableSubstitutionInValues;
private boolean enableSubstitutionInVariables;
private boolean enableUndefinedVariableException;
private char escapeChar;
private org.apache.commons.text.matcher.StringMatcher prefixMatcher;
private boolean preserveEscapes;
private org.apache.commons.text.matcher.StringMatcher suffixMatcher;
private org.apache.commons.text.matcher.StringMatcher valueDelimiterMatcher;
private org.apache.commons.text.lookup.StringLookup variableResolver;
public static org.apache.commons.text.StringSubstitutor createInterpolator()
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.lookup.StringLookupFactory v;
org.apache.commons.text.StringSubstitutor v;
v = new org.apache.commons.text.StringSubstitutor;
v = <org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookupFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookup interpolatorStringLookup()>();
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup)>(v);
return v;
}
public static java.lang.String replace(java.lang.Object, java.util.Map)
{
java.util.Map v;
java.lang.Object v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @parameter: java.lang.Object;
v := @parameter: java.util.Map;
v = new org.apache.commons.text.StringSubstitutor;
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(java.util.Map)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: java.lang.String replace(java.lang.Object)>(v);
return v;
}
public static java.lang.String replace(java.lang.Object, java.util.Map, java.lang.String, java.lang.String)
{
java.util.Map v;
java.lang.Object v;
java.lang.String v, v, v;
org.apache.commons.text.StringSubstitutor v;
v := @parameter: java.lang.Object;
v := @parameter: java.util.Map;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = new org.apache.commons.text.StringSubstitutor;
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(java.util.Map,java.lang.String,java.lang.String)>(v, v, v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: java.lang.String replace(java.lang.Object)>(v);
return v;
}
public static java.lang.String replace(java.lang.Object, java.util.Properties)
{
java.util.Properties v;
java.util.Set v;
java.util.function.Function v, v;
java.util.stream.Stream v;
java.lang.Object v, v;
java.lang.String v, v;
java.util.stream.Collector v;
v := @parameter: java.lang.Object;
v := @parameter: java.util.Properties;
if v != null goto label;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
return v;
label:
v = virtualinvoke v.<java.util.Properties: java.util.Set stringPropertyNames()>();
v = interfaceinvoke v.<java.util.Set: java.util.stream.Stream stream()>();
v = staticinvoke <java.util.function.Function: java.util.function.Function identity()>();
virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = staticinvoke <org.apache.commons.text.StringSubstitutor$getProperty__6: java.util.function.Function bootstrap$(java.util.Properties)>(v);
v = staticinvoke <java.util.stream.Collectors: java.util.stream.Collector toMap(java.util.function.Function,java.util.function.Function)>(v, v);
v = interfaceinvoke v.<java.util.stream.Stream: java.lang.Object collect(java.util.stream.Collector)>(v);
v = staticinvoke <org.apache.commons.text.StringSubstitutor: java.lang.String replace(java.lang.Object,java.util.Map)>(v, v);
return v;
}
public static java.lang.String replaceSystemProperties(java.lang.Object)
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.lookup.StringLookupFactory v;
java.lang.Object v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @parameter: java.lang.Object;
v = new org.apache.commons.text.StringSubstitutor;
v = <org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookupFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookup systemPropertyStringLookup()>();
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: java.lang.String replace(java.lang.Object)>(v);
return v;
}
public void <init>()
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.matcher.StringMatcher v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = null;
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_PREFIX>;
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_SUFFIX>;
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup,org.apache.commons.text.matcher.StringMatcher,org.apache.commons.text.matcher.StringMatcher,char)>(v, v, v, 36);
return;
}
public void <init>(java.util.Map)
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.lookup.StringLookupFactory v;
java.util.Map v;
org.apache.commons.text.matcher.StringMatcher v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.util.Map;
v = <org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookupFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookup mapStringLookup(java.util.Map)>(v);
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_PREFIX>;
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_SUFFIX>;
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup,org.apache.commons.text.matcher.StringMatcher,org.apache.commons.text.matcher.StringMatcher,char)>(v, v, v, 36);
return;
}
public void <init>(java.util.Map, java.lang.String, java.lang.String)
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.lookup.StringLookupFactory v;
java.util.Map v;
java.lang.String v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.util.Map;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = <org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookupFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookup mapStringLookup(java.util.Map)>(v);
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup,java.lang.String,java.lang.String,char)>(v, v, v, 36);
return;
}
public void <init>(java.util.Map, java.lang.String, java.lang.String, char)
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.lookup.StringLookupFactory v;
java.util.Map v;
char v;
java.lang.String v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.util.Map;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: char;
v = <org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookupFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookup mapStringLookup(java.util.Map)>(v);
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup,java.lang.String,java.lang.String,char)>(v, v, v, v);
return;
}
public void <init>(java.util.Map, java.lang.String, java.lang.String, char, java.lang.String)
{
org.apache.commons.text.lookup.StringLookupFactory v;
char v;
org.apache.commons.text.StringSubstitutor v;
org.apache.commons.text.lookup.StringLookup v;
java.util.Map v;
java.lang.String v, v, v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.util.Map;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: char;
v := @parameter: java.lang.String;
v = <org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookupFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.lookup.StringLookupFactory: org.apache.commons.text.lookup.StringLookup mapStringLookup(java.util.Map)>(v);
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup,java.lang.String,java.lang.String,char,java.lang.String)>(v, v, v, v, v);
return;
}
public void <init>(org.apache.commons.text.lookup.StringLookup)
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.matcher.StringMatcher v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.lookup.StringLookup;
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_PREFIX>;
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_SUFFIX>;
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup,org.apache.commons.text.matcher.StringMatcher,org.apache.commons.text.matcher.StringMatcher,char)>(v, v, v, 36);
return;
}
public void <init>(org.apache.commons.text.lookup.StringLookup, java.lang.String, java.lang.String, char)
{
org.apache.commons.text.lookup.StringLookup v;
char v;
java.lang.String v, v;
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.lookup.StringLookup;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: char;
specialinvoke v.<java.lang.Object: void <init>()>();
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableResolver(org.apache.commons.text.lookup.StringLookup)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariablePrefix(java.lang.String)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableSuffix(java.lang.String)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setEscapeChar(char)>(v);
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_VALUE_DELIMITER>;
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setValueDelimiterMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return;
}
public void <init>(org.apache.commons.text.lookup.StringLookup, java.lang.String, java.lang.String, char, java.lang.String)
{
org.apache.commons.text.lookup.StringLookup v;
char v;
java.lang.String v, v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.lookup.StringLookup;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: char;
v := @parameter: java.lang.String;
specialinvoke v.<java.lang.Object: void <init>()>();
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableResolver(org.apache.commons.text.lookup.StringLookup)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariablePrefix(java.lang.String)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableSuffix(java.lang.String)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setEscapeChar(char)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setValueDelimiter(java.lang.String)>(v);
return;
}
public void <init>(org.apache.commons.text.lookup.StringLookup, org.apache.commons.text.matcher.StringMatcher, org.apache.commons.text.matcher.StringMatcher, char)
{
org.apache.commons.text.lookup.StringLookup v;
char v;
org.apache.commons.text.matcher.StringMatcher v, v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.lookup.StringLookup;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
v := @parameter: char;
v = <org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_VALUE_DELIMITER>;
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void <init>(org.apache.commons.text.lookup.StringLookup,org.apache.commons.text.matcher.StringMatcher,org.apache.commons.text.matcher.StringMatcher,char,org.apache.commons.text.matcher.StringMatcher)>(v, v, v, v, v);
return;
}
public void <init>(org.apache.commons.text.lookup.StringLookup, org.apache.commons.text.matcher.StringMatcher, org.apache.commons.text.matcher.StringMatcher, char, org.apache.commons.text.matcher.StringMatcher)
{
org.apache.commons.text.lookup.StringLookup v;
char v;
org.apache.commons.text.matcher.StringMatcher v, v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.lookup.StringLookup;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
v := @parameter: char;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
specialinvoke v.<java.lang.Object: void <init>()>();
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableResolver(org.apache.commons.text.lookup.StringLookup)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariablePrefixMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableSuffixMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setEscapeChar(char)>(v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setValueDelimiterMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return;
}
public void <init>(org.apache.commons.text.StringSubstitutor)
{
char v;
org.apache.commons.text.matcher.StringMatcher v, v, v;
org.apache.commons.text.StringSubstitutor v, v;
org.apache.commons.text.lookup.StringLookup v;
boolean v, v, v, v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.StringSubstitutor;
specialinvoke v.<java.lang.Object: void <init>()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isDisableSubstitutionInValues()>();
v.<org.apache.commons.text.StringSubstitutor: boolean disableSubstitutionInValues> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isEnableSubstitutionInVariables()>();
v.<org.apache.commons.text.StringSubstitutor: boolean enableSubstitutionInVariables> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isEnableUndefinedVariableException()>();
v.<org.apache.commons.text.StringSubstitutor: boolean enableUndefinedVariableException> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: char getEscapeChar()>();
v.<org.apache.commons.text.StringSubstitutor: char escapeChar> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher getVariablePrefixMatcher()>();
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher prefixMatcher> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isPreserveEscapes()>();
v.<org.apache.commons.text.StringSubstitutor: boolean preserveEscapes> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher getVariableSuffixMatcher()>();
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher suffixMatcher> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher getValueDelimiterMatcher()>();
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher valueDelimiterMatcher> = v;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.lookup.StringLookup getStringLookup()>();
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.lookup.StringLookup variableResolver> = v;
return;
}
private void checkCyclicSubstitution(java.lang.String, java.util.List)
{
java.lang.IllegalStateException v;
org.apache.commons.text.TextStringBuilder v;
org.apache.commons.text.StringSubstitutor v;
java.util.List v;
java.lang.Object v;
java.lang.String v, v;
boolean v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.String;
v := @parameter: java.util.List;
v = interfaceinvoke v.<java.util.List: boolean contains(java.lang.Object)>(v);
if v != 0 goto label;
return;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(256);
virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.String)>("Infinite loop in property interpolation of ");
v = interfaceinvoke v.<java.util.List: java.lang.Object remove(int)>(0);
virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.String)>(v);
virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.String)>(": ");
virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder appendWithSeparators(java.lang.Iterable,java.lang.String)>(v, "->");
v = new java.lang.IllegalStateException;
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
}
public char getEscapeChar()
{
char v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: char escapeChar>;
return v;
}
public org.apache.commons.text.lookup.StringLookup getStringLookup()
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.lookup.StringLookup variableResolver>;
return v;
}
public org.apache.commons.text.matcher.StringMatcher getValueDelimiterMatcher()
{
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher valueDelimiterMatcher>;
return v;
}
public org.apache.commons.text.matcher.StringMatcher getVariablePrefixMatcher()
{
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher prefixMatcher>;
return v;
}
public org.apache.commons.text.matcher.StringMatcher getVariableSuffixMatcher()
{
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher suffixMatcher>;
return v;
}
public boolean isDisableSubstitutionInValues()
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: boolean disableSubstitutionInValues>;
return v;
}
public boolean isEnableSubstitutionInVariables()
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: boolean enableSubstitutionInVariables>;
return v;
}
public boolean isEnableUndefinedVariableException()
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: boolean enableUndefinedVariableException>;
return v;
}
public boolean isPreserveEscapes()
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = v.<org.apache.commons.text.StringSubstitutor: boolean preserveEscapes>;
return v;
}
public java.lang.String replace(char[])
{
org.apache.commons.text.TextStringBuilder v, v;
int v, v;
char[] v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: char[];
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
v = lengthof v;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(char[])>(v);
v = lengthof v;
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(char[], int, int)
{
org.apache.commons.text.TextStringBuilder v, v;
int v, v;
char[] v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: char[];
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(char[],int,int)>(v, v, v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(java.lang.CharSequence)
{
java.lang.CharSequence v;
int v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.CharSequence;
if v != null goto label;
return null;
label:
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: java.lang.String replace(java.lang.CharSequence,int,int)>(v, 0, v);
return v;
}
public java.lang.String replace(java.lang.CharSequence, int, int)
{
java.lang.CharSequence v;
org.apache.commons.text.TextStringBuilder v, v;
org.apache.commons.text.StringSubstitutor v;
int v, v;
java.lang.String v, v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.CharSequence;
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.String,int,int)>(v, v, v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(java.lang.Object)
{
org.apache.commons.text.TextStringBuilder v, v;
int v;
java.lang.Object v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.Object;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>()>();
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.Object)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: int length()>();
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(java.lang.String)
{
org.apache.commons.text.TextStringBuilder v;
int v;
java.lang.String v, v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.String;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<java.lang.String: int length()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
if v != 0 goto label;
return v;
label:
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(java.lang.String, int, int)
{
org.apache.commons.text.TextStringBuilder v, v;
org.apache.commons.text.StringSubstitutor v;
int v, v, v;
java.lang.String v, v, v;
boolean v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.String;
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.String,int,int)>(v, v, v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
if v != 0 goto label;
v = v + v;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(v, v);
return v;
label:
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(java.lang.StringBuffer)
{
java.lang.StringBuffer v;
org.apache.commons.text.TextStringBuilder v, v;
int v, v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.StringBuffer;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
v = virtualinvoke v.<java.lang.StringBuffer: int length()>();
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.StringBuffer)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: int length()>();
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(java.lang.StringBuffer, int, int)
{
java.lang.StringBuffer v;
org.apache.commons.text.TextStringBuilder v, v;
int v, v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.StringBuffer;
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.StringBuffer,int,int)>(v, v, v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(org.apache.commons.text.TextStringBuilder)
{
org.apache.commons.text.TextStringBuilder v, v, v;
int v, v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.TextStringBuilder;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: int length()>();
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(org.apache.commons.text.TextStringBuilder)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: int length()>();
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public java.lang.String replace(org.apache.commons.text.TextStringBuilder, int, int)
{
org.apache.commons.text.TextStringBuilder v, v, v;
int v, v;
java.lang.String v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.TextStringBuilder;
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return null;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(org.apache.commons.text.TextStringBuilder,int,int)>(v, v, v);
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
return v;
}
public boolean replaceIn(java.lang.StringBuffer)
{
java.lang.StringBuffer v;
int v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.StringBuffer;
if v != null goto label;
return 0;
label:
v = virtualinvoke v.<java.lang.StringBuffer: int length()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean replaceIn(java.lang.StringBuffer,int,int)>(v, 0, v);
return v;
}
public boolean replaceIn(java.lang.StringBuffer, int, int)
{
org.apache.commons.text.TextStringBuilder v, v;
org.apache.commons.text.StringSubstitutor v;
java.lang.StringBuffer v;
int v, v, v;
java.lang.String v;
boolean v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.StringBuffer;
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return 0;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.StringBuffer,int,int)>(v, v, v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
if v != 0 goto label;
return 0;
label:
v = v + v;
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer replace(int,int,java.lang.String)>(v, v, v);
return 1;
}
public boolean replaceIn(java.lang.StringBuilder)
{
int v;
java.lang.StringBuilder v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.StringBuilder;
if v != null goto label;
return 0;
label:
v = virtualinvoke v.<java.lang.StringBuilder: int length()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean replaceIn(java.lang.StringBuilder,int,int)>(v, 0, v);
return v;
}
public boolean replaceIn(java.lang.StringBuilder, int, int)
{
org.apache.commons.text.TextStringBuilder v, v;
org.apache.commons.text.StringSubstitutor v;
int v, v, v;
java.lang.StringBuilder v;
java.lang.String v;
boolean v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.StringBuilder;
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return 0;
label:
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder append(java.lang.StringBuilder,int,int)>(v, v, v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
if v != 0 goto label;
return 0;
label:
v = v + v;
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder replace(int,int,java.lang.String)>(v, v, v);
return 1;
}
public boolean replaceIn(org.apache.commons.text.TextStringBuilder)
{
org.apache.commons.text.TextStringBuilder v;
int v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.TextStringBuilder;
if v != null goto label;
return 0;
label:
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: int length()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
return v;
}
public boolean replaceIn(org.apache.commons.text.TextStringBuilder, int, int)
{
org.apache.commons.text.TextStringBuilder v;
int v, v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.TextStringBuilder;
v := @parameter: int;
v := @parameter: int;
if v != null goto label;
return 0;
label:
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, v, v);
return v;
}
protected java.lang.String resolveVariable(java.lang.String, org.apache.commons.text.TextStringBuilder, int, int)
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.TextStringBuilder v;
int v, v;
java.lang.String v, v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.String;
v := @parameter: org.apache.commons.text.TextStringBuilder;
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.lookup.StringLookup getStringLookup()>();
if v != null goto label;
return null;
label:
v = interfaceinvoke v.<org.apache.commons.text.lookup.StringLookup: java.lang.String lookup(java.lang.String)>(v);
return v;
}
public org.apache.commons.text.StringSubstitutor setDisableSubstitutionInValues(boolean)
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: boolean;
v.<org.apache.commons.text.StringSubstitutor: boolean disableSubstitutionInValues> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setEnableSubstitutionInVariables(boolean)
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: boolean;
v.<org.apache.commons.text.StringSubstitutor: boolean enableSubstitutionInVariables> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setEnableUndefinedVariableException(boolean)
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: boolean;
v.<org.apache.commons.text.StringSubstitutor: boolean enableUndefinedVariableException> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setEscapeChar(char)
{
char v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: char;
v.<org.apache.commons.text.StringSubstitutor: char escapeChar> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setPreserveEscapes(boolean)
{
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: boolean;
v.<org.apache.commons.text.StringSubstitutor: boolean preserveEscapes> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setValueDelimiter(char)
{
char v;
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v, v;
org.apache.commons.text.matcher.StringMatcherFactory v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: char;
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher charMatcher(char)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setValueDelimiterMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return v;
}
public org.apache.commons.text.StringSubstitutor setValueDelimiter(java.lang.String)
{
java.lang.String v;
org.apache.commons.text.matcher.StringMatcher v;
boolean v;
org.apache.commons.text.StringSubstitutor v, v;
org.apache.commons.text.matcher.StringMatcherFactory v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.String;
if v == null goto label;
v = virtualinvoke v.<java.lang.String: boolean isEmpty()>();
if v == 0 goto label;
label:
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setValueDelimiterMatcher(org.apache.commons.text.matcher.StringMatcher)>(null);
return v;
label:
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher stringMatcher(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setValueDelimiterMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return v;
}
public org.apache.commons.text.StringSubstitutor setValueDelimiterMatcher(org.apache.commons.text.matcher.StringMatcher)
{
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher valueDelimiterMatcher> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setVariablePrefix(char)
{
char v;
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v, v;
org.apache.commons.text.matcher.StringMatcherFactory v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: char;
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher charMatcher(char)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariablePrefixMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return v;
}
public org.apache.commons.text.StringSubstitutor setVariablePrefix(java.lang.String)
{
java.lang.Object[] v;
java.lang.String v;
org.apache.commons.text.matcher.StringMatcher v;
boolean v;
org.apache.commons.text.StringSubstitutor v, v;
org.apache.commons.text.matcher.StringMatcherFactory v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.String;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = newarray (java.lang.Object)[0];
staticinvoke <org.apache.commons.lang.Validate: void isTrue(boolean,java.lang.String,java.lang.Object[])>(v, "Variable prefix must not be null!", v);
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher stringMatcher(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariablePrefixMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return v;
}
public org.apache.commons.text.StringSubstitutor setVariablePrefixMatcher(org.apache.commons.text.matcher.StringMatcher)
{
java.lang.Object[] v;
org.apache.commons.text.matcher.StringMatcher v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = newarray (java.lang.Object)[0];
staticinvoke <org.apache.commons.lang.Validate: void isTrue(boolean,java.lang.String,java.lang.Object[])>(v, "Variable prefix matcher must not be null!", v);
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher prefixMatcher> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setVariableResolver(org.apache.commons.text.lookup.StringLookup)
{
org.apache.commons.text.lookup.StringLookup v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.lookup.StringLookup;
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.lookup.StringLookup variableResolver> = v;
return v;
}
public org.apache.commons.text.StringSubstitutor setVariableSuffix(char)
{
char v;
org.apache.commons.text.matcher.StringMatcher v;
org.apache.commons.text.StringSubstitutor v, v;
org.apache.commons.text.matcher.StringMatcherFactory v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: char;
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher charMatcher(char)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableSuffixMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return v;
}
public org.apache.commons.text.StringSubstitutor setVariableSuffix(java.lang.String)
{
java.lang.Object[] v;
java.lang.String v;
org.apache.commons.text.matcher.StringMatcher v;
boolean v;
org.apache.commons.text.StringSubstitutor v, v;
org.apache.commons.text.matcher.StringMatcherFactory v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: java.lang.String;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = newarray (java.lang.Object)[0];
staticinvoke <org.apache.commons.lang.Validate: void isTrue(boolean,java.lang.String,java.lang.Object[])>(v, "Variable suffix must not be null!", v);
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher stringMatcher(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor setVariableSuffixMatcher(org.apache.commons.text.matcher.StringMatcher)>(v);
return v;
}
public org.apache.commons.text.StringSubstitutor setVariableSuffixMatcher(org.apache.commons.text.matcher.StringMatcher)
{
java.lang.Object[] v;
org.apache.commons.text.matcher.StringMatcher v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.matcher.StringMatcher;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = newarray (java.lang.Object)[0];
staticinvoke <org.apache.commons.lang.Validate: void isTrue(boolean,java.lang.String,java.lang.Object[])>(v, "Variable suffix matcher must not be null!", v);
v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher suffixMatcher> = v;
return v;
}
protected boolean substitute(org.apache.commons.text.TextStringBuilder, int, int)
{
org.apache.commons.text.TextStringBuilder v;
int v, v;
org.apache.commons.text.StringSubstitutor$Result v;
boolean v;
org.apache.commons.text.StringSubstitutor v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.TextStringBuilder;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor$Result substitute(org.apache.commons.text.TextStringBuilder,int,int,java.util.List)>(v, v, v, null);
v = v.<org.apache.commons.text.StringSubstitutor$Result: boolean altered>;
return v;
}
private org.apache.commons.text.StringSubstitutor$Result substitute(org.apache.commons.text.TextStringBuilder, int, int, java.util.List)
{
org.apache.commons.text.StringSubstitutor v;
org.apache.commons.text.StringSubstitutor$Result v, v;
boolean v, v, v, v, v;
org.apache.commons.text.TextStringBuilder v, v;
java.util.List v;
java.lang.Object[] v;
java.util.ArrayList v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Boolean v;
java.lang.String v, v, v, v, v, v;
char v, v;
java.lang.IllegalArgumentException v;
org.apache.commons.text.matcher.StringMatcher v, v, v;
char[] v;
v := @this: org.apache.commons.text.StringSubstitutor;
v := @parameter: org.apache.commons.text.TextStringBuilder;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.util.List;
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "builder");
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher getVariablePrefixMatcher()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher getVariableSuffixMatcher()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: char getEscapeChar()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher getValueDelimiterMatcher()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isEnableSubstitutionInVariables()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isDisableSubstitutionInValues()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isEnableUndefinedVariableException()>();
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean isPreserveEscapes()>();
v = 0;
v = 0;
v = v + v;
v = v;
v = (int) -1;
v = v;
label:
if v >= v goto label;
v = interfaceinvoke v.<org.apache.commons.text.matcher.StringMatcher: int isMatch(java.lang.CharSequence,int,int,int)>(v, v, v, v);
if v != 0 goto label;
v = v + 1;
goto label;
label:
if v <= v goto label;
v = v - 1;
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: char charAt(int)>(v);
if v != v goto label;
if v == 0 goto label;
v = v + 1;
goto label;
label:
v = v - 1;
label:
v = v;
v = v + v;
v = 0;
label:
if v >= v goto label;
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.commons.text.matcher.StringMatcher: int isMatch(java.lang.CharSequence,int,int,int)>(v, v, v, v);
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.commons.text.matcher.StringMatcher: int isMatch(java.lang.CharSequence,int,int,int)>(v, v, v, v);
v = v + 1;
v = v + v;
goto label;
label:
v = interfaceinvoke v.<org.apache.commons.text.matcher.StringMatcher: int isMatch(java.lang.CharSequence,int,int,int)>(v, v, v, v);
if v != 0 goto label;
v = v + 1;
goto label;
label:
if v != 0 goto label;
if v < 0 goto label;
virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder deleteCharAt(int)>(v);
v = (int) -1;
v = v;
v = v - 1;
v = 1;
v = v - 1;
v = v + 1;
goto label;
label:
v = v + v;
v = v - v;
v = v - v;
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String midString(int,int)>(v, v);
if v == 0 goto label;
v = new org.apache.commons.text.TextStringBuilder;
specialinvoke v.<org.apache.commons.text.TextStringBuilder: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: int length()>();
virtualinvoke v.<org.apache.commons.text.StringSubstitutor: boolean substitute(org.apache.commons.text.TextStringBuilder,int,int)>(v, 0, v);
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String toString()>();
label:
v = v + v;
v = v;
v = v;
v = null;
if v == null goto label;
v = virtualinvoke v.<java.lang.String: char[] toCharArray()>();
v = 0;
label:
v = lengthof v;
if v >= v goto label;
if v != 0 goto label;
v = lengthof v;
v = interfaceinvoke v.<org.apache.commons.text.matcher.StringMatcher: int isMatch(char[],int,int,int)>(v, v, v, v);
if v != 0 goto label;
label:
v = lengthof v;
v = interfaceinvoke v.<org.apache.commons.text.matcher.StringMatcher: int isMatch(char[],int,int,int)>(v, v, 0, v);
if v == 0 goto label;
v = lengthof v;
v = interfaceinvoke v.<org.apache.commons.text.matcher.StringMatcher: int isMatch(char[],int,int,int)>(v, v, 0, v);
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(0, v);
v = v + v;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int)>(v);
goto label;
label:
v = v + 1;
goto label;
label:
if v != null goto label;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v = v;
v = virtualinvoke v.<org.apache.commons.text.TextStringBuilder: java.lang.String midString(int,int)>(v, v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
label:
specialinvoke v.<org.apache.commons.text.StringSubstitutor: void checkCyclicSubstitution(java.lang.String,java.util.List)>(v, v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = virtualinvoke v.<org.apache.commons.text.StringSubstitutor: java.lang.String resolveVariable(java.lang.String,org.apache.commons.text.TextStringBuilder,int,int)>(v, v, v, v);
if v != null goto label;
v = v;
label:
if v == null goto label;
v = virtualinvoke v.<java.lang.String: int length()>();
virtualinvoke v.<org.apache.commons.text.TextStringBuilder: org.apache.commons.text.TextStringBuilder replace(int,int,java.lang.String)>(v, v, v);
v = 1;
v = 0;
if v != 0 goto label;
v = specialinvoke v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.StringSubstitutor$Result substitute(org.apache.commons.text.TextStringBuilder,int,int,java.util.List)>(v, v, v, v);
v = v.<org.apache.commons.text.StringSubstitutor$Result: int lengthChange>;
label:
v = v + v;
v = v - v;
v = v - v;
v = v + v;
v = v + v;
v = v + v;
goto label;
label:
if v == 0 goto label;
v = new java.lang.IllegalArgumentException;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(v);
v[1] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("Cannot resolve variable \'%s\' (enableSubstitutionInVariables=%s).", v);
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = interfaceinvoke v.<java.util.List: int size()>();
v = v - 1;
interfaceinvoke v.<java.util.List: java.lang.Object remove(int)>(v);
goto label;
label:
v = v - 1;
v = v + v;
goto label;
label:
v = new org.apache.commons.text.StringSubstitutor$Result;
specialinvoke v.<org.apache.commons.text.StringSubstitutor$Result: void <init>(boolean,int)>(v, v);
return v;
}
public java.lang.String toString()
{
org.apache.commons.text.StringSubstitutor v;
java.lang.String v;
boolean v, v, v, v;
char v;
org.apache.commons.text.matcher.StringMatcher v, v, v;
org.apache.commons.text.lookup.StringLookup v;
java.lang.StringBuilder v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
v := @this: org.apache.commons.text.StringSubstitutor;
v = new java.lang.StringBuilder;
specialinvoke v.<java.lang.StringBuilder: void <init>()>();
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>("StringSubstitutor [disableSubstitutionInValues=");
v = v.<org.apache.commons.text.StringSubstitutor: boolean disableSubstitutionInValues>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(boolean)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", enableSubstitutionInVariables=");
v = v.<org.apache.commons.text.StringSubstitutor: boolean enableSubstitutionInVariables>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(boolean)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", enableUndefinedVariableException=");
v = v.<org.apache.commons.text.StringSubstitutor: boolean enableUndefinedVariableException>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(boolean)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", escapeChar=");
v = v.<org.apache.commons.text.StringSubstitutor: char escapeChar>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(char)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", prefixMatcher=");
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher prefixMatcher>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", preserveEscapes=");
v = v.<org.apache.commons.text.StringSubstitutor: boolean preserveEscapes>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(boolean)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", suffixMatcher=");
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher suffixMatcher>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", valueDelimiterMatcher=");
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher valueDelimiterMatcher>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", variableResolver=");
v = v.<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.lookup.StringLookup variableResolver>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>("]");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.String toString()>();
return v;
}
static void <clinit>()
{
org.apache.commons.text.matcher.StringMatcher v, v, v;
org.apache.commons.text.matcher.StringMatcherFactory v, v, v;
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher stringMatcher(java.lang.String)>("${");
<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_PREFIX> = v;
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher stringMatcher(java.lang.String)>("}");
<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_SUFFIX> = v;
v = <org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcherFactory INSTANCE>;
v = virtualinvoke v.<org.apache.commons.text.matcher.StringMatcherFactory: org.apache.commons.text.matcher.StringMatcher stringMatcher(java.lang.String)>(":-");
<org.apache.commons.text.StringSubstitutor: org.apache.commons.text.matcher.StringMatcher DEFAULT_VALUE_DELIMITER> = v;
return;
}
}