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

12
LINES

< > BotCompany Repo | #1015250 - instanceFieldsMap - from getOpt cache

JavaX fragment (include)

please include function getOpt_cached.

static HashMap<S, Field> instanceFieldsMap(O o) {
  Class c = o.getClass();
  HashMap<S, Field> map;
  synchronized(getOpt_cache) {
    map = getOpt_cache.get(c);
    if (map == null)
      map = getOpt_makeCache(c);
  }
  ret map;
}

Author comment

Began life as a copy of #1005305

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1015250
Snippet name: instanceFieldsMap - from getOpt cache
Eternal ID of this version: #1015250/1
Text MD5: 386905f0d41eb1e077d909f9ac0a8568
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-11 02:13:04
Source code size: 286 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 118 / 112
Referenced in: [show references]