ChompingIndicator () { ASTNode headerNode = myHost.getNthContentTypeChild(0); assert headerNode != null; String header = headerNode.getText(); if (header.contains("+")) { return ChompingIndicator.KEEP; } if (header.contains("-")) { return ChompingIndicator.STRIP; } return ChompingIndicator.CLIP; }