void (boolean bp) { /* before fragment */ String var/*egg*/ = "var value"/*egg*/; // inside context myField += /*egg*/ bp ? var.length() : this.hashCode(/*egg*/); /* inside context */ // after fragment }