mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
anonym -> lambda: disable if target SAM type is raw and methods are called on params with Object erasure (IDEA-125613)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// "Replace with lambda" "false"
|
||||
class DbTableBinder {
|
||||
|
||||
public Binder build() {
|
||||
return new Bin<caret>der<DbTable>() {
|
||||
public void bind(A q, DbTable dbTable) {
|
||||
q.bind("name", dbTable.name);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
class DbTable {
|
||||
String name;
|
||||
}
|
||||
|
||||
interface Binder <ArgType> {
|
||||
void bind(A<?> sqlStatement, ArgType argType);
|
||||
}
|
||||
|
||||
interface A<P> {
|
||||
void bind(String s, String p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user