public String getJavaCode(Object value, ImportRewrite imports) {
if(value==null)
return "null";
String strBf=imports.addImport("javax.swing.border.SoftBevelBorder");
SoftBevelBorder bevelBorder = (SoftBevelBorder)value;
int type = bevelBorder.getBevelType();
Color highlightInnerColor = bevelBorder.getHighlightInnerColor();
Color highlightOuterColor = bevelBorder.getHighlightOuterColor();
Color shadowInnerColor = bevelBorder.getShadowInnerColor();
Color shadowOuterColor = bevelBorder.getShadowOuterColor();
StringBuilder builder = new StringBuilder();
builder.append("new "+strBf+"(");
builder.append(encodeValue(new BevelBorderTypeItems(), type, imports));
builder.append(", ");
builder.append(encodeValue(highlightOuterColor, imports));