use of org.hotswap.agent.javassist.bytecode.analysis.Frame in project HotswapAgent by HotswapProjects.
the class TransformAccessArrayField method getTopType.
private String getTopType(int pos) throws BadBytecode {
Frame frame = getFrame(pos);
if (frame == null)
return null;
CtClass clazz = frame.peek().getCtClass();
return clazz != null ? Descriptor.toJvmName(clazz) : null;
}