boolean (StructClass cl, StructMethod mt, TextBuffer code) { if (cl.getRecordComponents() != null) { String name = mt.getName(), descriptor = mt.getDescriptor(); if (name.equals("equals") && descriptor.equals("(Ljava/lang/Object;)Z") || name.equals("hashCode") && descriptor.equals("()I") || name.equals("toString") && descriptor.equals("()Ljava/lang/String;")) { if (code.countLines() == 1) { String str = code.toString().trim(); return str.startsWith("return this." + name + "<invokedynamic>(this"); } } } return false; }