mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
java expects top level class but the examples would not contain that boilerplate code GitOrigin-RevId: 8d047d989de2b836380d1523f98c0bd142b9c9cf
14 lines
262 B
Java
14 lines
262 B
Java
// "JShellLanguage" "true"
|
|
|
|
/**
|
|
* {@snippet<caret> lang = "java" :
|
|
* class Main {
|
|
* void f(Optional<Object> e) {
|
|
* if (v.isPresent()) {
|
|
* System.out.println("v: " + v.get());
|
|
* }
|
|
* }
|
|
* }
|
|
* }
|
|
*/
|
|
class InjectJava {} |