mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 17:07:05 +07:00
inference: cache erasure flag together with partial inference (IDEA-150802)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
abstract class Test {
|
||||
public void some(final ArrayList<ProcessingRule<String>> rules,
|
||||
final Context context) {
|
||||
rules.add (createRule(context));
|
||||
}
|
||||
|
||||
abstract <E extends CharSequence> ProcessingRule<E> createRule(Context<E> context);
|
||||
}
|
||||
|
||||
interface ProcessingRule<T> {}
|
||||
class Context<T> {}
|
||||
Reference in New Issue
Block a user