public String render(SmaliClass smaliClass)
	{
		StringBuilder builder = new StringBuilder();
		builder.append(renderPackage(smaliClass.getClassName()));
		builder.append("\n");
		builder.append(renderImports(smaliClass.getImports()));
		builder.append("\n");
		
		switch(smaliClass.getFlagValue(SmaliEntity.MASK_ACCESSIBILITY))
		{
			case SmaliEntity.PUBLIC:
			{
				builder.append("public ");
				break;
			}
			case SmaliEntity.PROTECTED:
			{
				builder.append("protected ");
				break;
			}
			case SmaliEntity.PRIVATE:
			{
				builder.append("private ");
				break;
			}
			default:
			{
				break;
			}
		}
		
		if(smaliClass.isFlagSet(SmaliEntity.STATIC))
		{
			builder.append("static ");
		}
		
		if(smaliClass.isFlagSet(SmaliEntity.FINAL))
		{
			builder.append("final ");
		}
		
		if(smaliClass.isFlagSet(SmaliEntity.ABSTRACT))
		{
			builder.append("abstract ");
		}
		
		if(smaliClass.isFlagSet(SmaliEntity.INTERFACE)) {
			builder.append("interface ");
		} else {
			builder.append("class ");
		}
		
		
		builder.append(JavaRenderUtils.renderShortJavaClassName(smaliClass.getClassName()));
		if(!isEgyptianBraces)
			builder.append("\n");
		builder.append("{\n");
		
		builder.append(renderFields(smaliClass.getFields()));
		builder.append("\n");
		builder.append(renderMethods(smaliClass.getMethods()));
		builder.append("\n");
		
		builder.append("}\n");
		return builder.toString();
	}