mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
8 lines
201 B
Java
8 lines
201 B
Java
class A {
|
|
void test(Object obj) {
|
|
if (obj instanceof String) {
|
|
String s = (<selection>(String)obj</selection>).trim();
|
|
System.out.println("Found");
|
|
}
|
|
}
|
|
} |