Initializes the complete class structure.
()
| 174 | * Initializes the complete class structure. |
| 175 | */ |
| 176 | private void lazyClassInit() { |
| 177 | if (lazyInitDone) return; |
| 178 | synchronized (lazyInitLock) { |
| 179 | if (redirect != null) { |
| 180 | throw new GroovyBugError("lazyClassInit called on a proxy ClassNode. " + |
| 181 | "A redirect() call is missing somewhere!"); |
| 182 | } |
| 183 | if (lazyInitDone) return; |
| 184 | VMPluginFactory.getPlugin().configureClassNode(getCompileUnit(), this); |
| 185 | lazyInitDone = true; |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | // if not null then this instance is resolved |
| 190 | protected Class<?> clazz; |
no test coverage detected