mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +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());
|
|
}
|
|
} |