public class org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder extends java.lang.Object
{
private static final java.lang.String SEPARATOR;
private final java.lang.String interfaceClassName;
private final org.springframework.core.env.Environment environment;
private java.lang.String version;
private java.lang.String group;
private void <init>(java.lang.Class, org.springframework.core.env.Environment)
{
org.springframework.core.env.Environment v;
java.lang.Class v;
java.lang.String v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
v := @this: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
v := @parameter: java.lang.Class;
v := @parameter: org.springframework.core.env.Environment;
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
specialinvoke v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: void <init>(java.lang.String,org.springframework.core.env.Environment)>(v, v);
return;
}
private void <init>(java.lang.String, org.springframework.core.env.Environment)
{
java.lang.String v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
org.springframework.core.env.Environment v;
v := @this: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
v := @parameter: java.lang.String;
v := @parameter: org.springframework.core.env.Environment;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: java.lang.String interfaceClassName> = v;
v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: org.springframework.core.env.Environment environment> = v;
return;
}
private void <init>(org.springframework.core.'annotation'.AnnotationAttributes, java.lang.Class, org.springframework.core.env.Environment)
{
org.springframework.core.env.Environment v;
java.lang.Class v;
java.lang.Object v, v;
org.springframework.core.'annotation'.AnnotationAttributes v;
java.lang.String v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
v := @this: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
v := @parameter: org.springframework.core.'annotation'.AnnotationAttributes;
v := @parameter: java.lang.Class;
v := @parameter: org.springframework.core.env.Environment;
v = staticinvoke <org.apache.dubbo.config.spring.util.DubboAnnotationUtils: java.lang.String resolveInterfaceName(org.springframework.core.'annotation'.AnnotationAttributes,java.lang.Class)>(v, v);
specialinvoke v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: void <init>(java.lang.String,org.springframework.core.env.Environment)>(v, v);
v = staticinvoke <com.alibaba.spring.util.AnnotationUtils: java.lang.Object getAttribute(java.util.Map,java.lang.String)>(v, "group");
virtualinvoke v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder group(java.lang.String)>(v);
v = staticinvoke <com.alibaba.spring.util.AnnotationUtils: java.lang.Object getAttribute(java.util.Map,java.lang.String)>(v, "version");
virtualinvoke v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder version(java.lang.String)>(v);
return;
}
public static org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder create(org.springframework.core.'annotation'.AnnotationAttributes, java.lang.Class, org.springframework.core.env.Environment)
{
org.springframework.core.env.Environment v;
java.lang.Class v;
org.springframework.core.'annotation'.AnnotationAttributes v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
v := @parameter: org.springframework.core.'annotation'.AnnotationAttributes;
v := @parameter: java.lang.Class;
v := @parameter: org.springframework.core.env.Environment;
v = new org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
specialinvoke v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: void <init>(org.springframework.core.'annotation'.AnnotationAttributes,java.lang.Class,org.springframework.core.env.Environment)>(v, v, v);
return v;
}
public static org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder create(java.lang.Class, org.springframework.core.env.Environment)
{
java.lang.Class v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
org.springframework.core.env.Environment v;
v := @parameter: java.lang.Class;
v := @parameter: org.springframework.core.env.Environment;
v = new org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
specialinvoke v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: void <init>(java.lang.Class,org.springframework.core.env.Environment)>(v, v);
return v;
}
public static org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder create(org.apache.dubbo.config.'annotation'.Service, java.lang.Class, org.springframework.core.env.Environment)
{
org.springframework.core.env.Environment v;
java.lang.Class v;
org.apache.dubbo.config.'annotation'.Service v;
org.springframework.core.'annotation'.AnnotationAttributes v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
v := @parameter: org.apache.dubbo.config.'annotation'.Service;
v := @parameter: java.lang.Class;
v := @parameter: org.springframework.core.env.Environment;
v = staticinvoke <org.springframework.core.'annotation'.AnnotationUtils: org.springframework.core.'annotation'.AnnotationAttributes getAnnotationAttributes(java.lang.'annotation'.Annotation,boolean,boolean)>(v, 0, 0);
v = staticinvoke <org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder create(org.springframework.core.'annotation'.AnnotationAttributes,java.lang.Class,org.springframework.core.env.Environment)>(v, v, v);
return v;
}
public static org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder create(org.apache.dubbo.config.'annotation'.Reference, java.lang.Class, org.springframework.core.env.Environment)
{
org.springframework.core.env.Environment v;
org.apache.dubbo.config.'annotation'.Reference v;
java.lang.Class v;
org.springframework.core.'annotation'.AnnotationAttributes v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
v := @parameter: org.apache.dubbo.config.'annotation'.Reference;
v := @parameter: java.lang.Class;
v := @parameter: org.springframework.core.env.Environment;
v = staticinvoke <org.springframework.core.'annotation'.AnnotationUtils: org.springframework.core.'annotation'.AnnotationAttributes getAnnotationAttributes(java.lang.'annotation'.Annotation,boolean,boolean)>(v, 0, 0);
v = staticinvoke <org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder create(org.springframework.core.'annotation'.AnnotationAttributes,java.lang.Class,org.springframework.core.env.Environment)>(v, v, v);
return v;
}
private static void append(java.lang.StringBuilder, java.lang.String)
{
java.lang.StringBuilder v, v;
java.lang.String v;
boolean v;
v := @parameter: java.lang.StringBuilder;
v := @parameter: java.lang.String;
v = staticinvoke <org.springframework.util.StringUtils: boolean hasText(java.lang.String)>(v);
if v == 0 goto label;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(":");
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(v);
label:
return;
}
public org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder group(java.lang.String)
{
java.lang.String v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
v := @this: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
v := @parameter: java.lang.String;
v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: java.lang.String group> = v;
return v;
}
public org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder version(java.lang.String)
{
java.lang.String v;
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
v := @this: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
v := @parameter: java.lang.String;
v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: java.lang.String version> = v;
return v;
}
public java.lang.String build()
{
org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder v;
org.springframework.core.env.Environment v;
java.lang.StringBuilder v;
java.lang.String v, v, v, v, v;
v := @this: org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder;
v = new java.lang.StringBuilder;
specialinvoke v.<java.lang.StringBuilder: void <init>(java.lang.String)>("ServiceBean");
v = v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: java.lang.String interfaceClassName>;
staticinvoke <org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: void append(java.lang.StringBuilder,java.lang.String)>(v, v);
v = v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: java.lang.String version>;
staticinvoke <org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: void append(java.lang.StringBuilder,java.lang.String)>(v, v);
v = v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: java.lang.String group>;
staticinvoke <org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: void append(java.lang.StringBuilder,java.lang.String)>(v, v);
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.String toString()>();
v = v.<org.apache.dubbo.config.spring.beans.factory.'annotation'.ServiceBeanNameBuilder: org.springframework.core.env.Environment environment>;
v = interfaceinvoke v.<org.springframework.core.env.Environment: java.lang.String resolvePlaceholders(java.lang.String)>(v);
return v;
}
}