String (IElementType operator) { if (operator == null) { return null; } if (operator.equals(GroovyTokenTypes.mPLUS)) { return "+"; } if (operator.equals(GroovyTokenTypes.mMINUS)) { return "-"; } if (operator.equals(GroovyTokenTypes.mSTAR)) { return "*"; } if (operator.equals(GroovyTokenTypes.mDIV)) { return "/"; } if (operator.equals(GroovyTokenTypes.mMOD)) { return "%"; } if (operator.equals(GroovyTokenTypes.mBXOR)) { return "^"; } if (operator.equals(GroovyTokenTypes.mLAND)) { return "&&"; } if (operator.equals(GroovyTokenTypes.mLOR)) { return "||"; } if (operator.equals(GroovyTokenTypes.mBAND)) { return "&"; } if (operator.equals(GroovyTokenTypes.mBOR)) { return "|"; } /* if (operator.equals(GroovyTokenTypes.mSR)) { return "<<"; } if (operator.equals(GroovyTokenTypes.GTGT)) { return ">>"; } if (operator.equals(GroovyTokenTypes.GTGTGT)) { return ">>>"; } */ return null; }