public class org.springframework.beans.propertyeditors.URLEditor extends java.beans.PropertyEditorSupport
{
private final org.springframework.core.io.ResourceEditor resourceEditor;
public void <init>()
{
org.springframework.beans.propertyeditors.URLEditor v;
org.springframework.core.io.ResourceEditor v;
v := @this: org.springframework.beans.propertyeditors.URLEditor;
specialinvoke v.<java.beans.PropertyEditorSupport: void <init>()>();
v = new org.springframework.core.io.ResourceEditor;
specialinvoke v.<org.springframework.core.io.ResourceEditor: void <init>()>();
v.<org.springframework.beans.propertyeditors.URLEditor: org.springframework.core.io.ResourceEditor resourceEditor> = v;
return;
}
public void <init>(org.springframework.core.io.ResourceEditor)
{
org.springframework.beans.propertyeditors.URLEditor v;
org.springframework.core.io.ResourceEditor v;
v := @this: org.springframework.beans.propertyeditors.URLEditor;
v := @parameter: org.springframework.core.io.ResourceEditor;
specialinvoke v.<java.beans.PropertyEditorSupport: void <init>()>();
staticinvoke <org.springframework.util.Assert: void notNull(java.lang.Object,java.lang.String)>(v, "ResourceEditor must not be null");
v.<org.springframework.beans.propertyeditors.URLEditor: org.springframework.core.io.ResourceEditor resourceEditor> = v;
return;
}
public void setAsText(java.lang.String) throws java.lang.IllegalArgumentException
{
org.springframework.core.io.ResourceEditor v, v;
java.net.URL v;
org.springframework.beans.propertyeditors.URLEditor v;
java.io.IOException v;
java.lang.IllegalArgumentException v;
java.lang.Object v;
java.lang.String v, v, v;
v := @this: org.springframework.beans.propertyeditors.URLEditor;
v := @parameter: java.lang.String;
v = v.<org.springframework.beans.propertyeditors.URLEditor: org.springframework.core.io.ResourceEditor resourceEditor>;
virtualinvoke v.<org.springframework.core.io.ResourceEditor: void setAsText(java.lang.String)>(v);
v = v.<org.springframework.beans.propertyeditors.URLEditor: org.springframework.core.io.ResourceEditor resourceEditor>;
v = virtualinvoke v.<org.springframework.core.io.ResourceEditor: java.lang.Object getValue()>();
label:
if v == null goto label;
v = interfaceinvoke v.<org.springframework.core.io.Resource: java.net.URL getURL()>();
goto label;
label:
v = null;
label:
virtualinvoke v.<org.springframework.beans.propertyeditors.URLEditor: void setValue(java.lang.Object)>(v);
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.IllegalArgumentException;
v = virtualinvoke v.<java.io.IOException: java.lang.String getMessage()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.springframework.core.io.Resource,java.lang.String)>(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[])>("Could not retrieve URL for \u0001: \u0001");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
return;
catch java.io.IOException from label to label with label;
}
public java.lang.String getAsText()
{
org.springframework.beans.propertyeditors.URLEditor v;
java.lang.Object v;
java.lang.String v;
v := @this: org.springframework.beans.propertyeditors.URLEditor;
v = virtualinvoke v.<org.springframework.beans.propertyeditors.URLEditor: java.lang.Object getValue()>();
if v == null goto label;
v = virtualinvoke v.<java.net.URL: java.lang.String toExternalForm()>();
goto label;
label:
v = "";
label:
return v;
}
}