Map<String, byte[]> map = new HashMap<>();
EditorContext editorContext = DebuggerManager.
getDebuggerManager().lookupFirst(null, EditorContext.class);
String clazz = classname.replace('.', '/') + ".class"; //NOI18N
GradleClassPathProvider prv = project.getLookup().lookup(GradleClassPathProvider.class);
FileObject fo2 = prv.getBuildOutputClassPaths().findResource(clazz);
if (fo2 != null) {
try {
String basename = fo2.getName();
for (FileObject classfile : fo2.getParent().getChildren()) {