Set<String> (String className, ClassReader classReader) { ClassFileRepr classFileRepr = new ClassfileAnalyzer(myContext).analyze(myContext.get(className), classReader, false); if (classFileRepr == null) return Collections.emptySet(); final int classNameId = classFileRepr.name; Set<String> classDependencies = new LinkedHashSet<>(); for (UsageRepr.Usage usage : classFileRepr.getUsages()) { int owner = usage.getOwner(); if (owner != classNameId) { classDependencies.add(myContext.getValue(owner)); } } return classDependencies; }