Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1031278 // Dynamically loaded BEAObject subclass, precompiled test

JavaX fragment (include) [tags: use-pretranspiled]

Uses 1951K of libraries. Click here for Pure Java version (2775L/21K).

// the dynamic code

beaConcept BDynamicTest {
  void calculate() {
    cset(this, time := "The time is " + localTimeWithSeconds());
  }
}

// helpers to make it work

!include early #1031277 // BEA general includes 

// just a skeleton so we can compile subclasses
concept BEAObject > ConceptWithGlobalID {}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031278
Snippet name: Dynamically loaded BEAObject subclass, precompiled test
Eternal ID of this version: #1031278/2
Text MD5: 3ba6c88ae2b8f3629677312a5dadfa6e
Transpilation MD5: b650ff7f94c56228fa5460673420abb1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-02 14:36:30
Source code size: 325 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 89 / 131
Version history: 1 change(s)
Referenced in: [show references]