public static Field generateStaticFinalField(String fieldName, FullyQualifiedJavaType javaType, String initString) {
    """
	生成静态常量
	@param fieldName  常量名称
	@param javaType   类型
	@param initString 初始化字段
	@return
    """
        Field field = new Field(fieldName, javaType);
        field.setVisibility(JavaVisibility.PUBLIC);
        field.setStatic(true);
        field.setFinal(true);
        if (initString != null) {
            field.setInitializationString(initString);
        }
        return field;
    }
public static Field generateStaticFinalField(String fieldName, FullyQualifiedJavaType javaType, String initString) {
        Field field = new Field(fieldName, javaType);
        field.setVisibility(JavaVisibility.PUBLIC);
        field.setStatic(true);
        field.setFinal(true);
        if (initString != null) {
            field.setInitializationString(initString);
        }
        return field;
    }
public static Field generateStaticFinalField ( String fieldName , FullyQualifiedJavaType javaType , String initString ) { Field field = new Field ( fieldName , javaType ) ; field . setVisibility ( JavaVisibility . PUBLIC ) ; field . setStatic ( true ) ; field . setFinal ( true ) ; if ( initString != null ) { field . setInitializationString ( initString ) ; } return field ; }
生成静态常量
@param fieldName  常量名称
@param javaType   类型
@param initString 初始化字段
@return
生成静态常量