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

7
LINES

< > BotCompany Repo | #1034185 // classIsExportedTo

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

Transpiled version (34L) is out of date.

1  
sbool classIsExportedTo(Class c, java.lang.Module destModule) {
2  
  if (c == null || destModule == null) false;
3  
  
4  
  java.lang.Module srcModule = c.getModule();
5  
  S packageName = c.getPackageName();
6  
  ret srcModule.isExported(packageName, destModule);
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034185
Snippet name: classIsExportedTo
Eternal ID of this version: #1034185/3
Text MD5: 398aea89ba7b163a447a735271b4a379
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-05 13:20:20
Source code size: 257 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 241
Version history: 2 change(s)
Referenced in: [show references]