xp-framework/xp-framework — pull request #177 by thekid (2012-07-24 20:07:18+00:00)
Title: Extract class parsing into own method

This pull request changes `lang.XPClass` and extract parsing code inside `detailsForClass()` into its own method `parseDetails()`. The former takes care of caching and classloader lookup, while the latter's signature is:

```groovy
public static [:var] parseDetails(string $bytes, [string $context= ""])
```

This pull request also changes the `ClassDetailsTest` to use this method instead of the copy&pasted source from `lang.XPClass` therein.