mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
9 lines
240 B
Java
9 lines
240 B
Java
class A {
|
|
void test(Object obj) {
|
|
if (!(obj instanceof String)) {
|
|
return;
|
|
}
|
|
System.out.println(<selection>((String)obj)</selection>.trim());
|
|
System.out.println(((String)obj).length());
|
|
}
|
|
} |