public short addInterfaceMethodEntry(String className, String methodName, String descriptor) { final NameAndType nameAndType = new NameAndType(methodName, descriptor); final MemberInfo method = new MemberInfo(className, nameAndType); if (interfaceMethodLocations.containsKey(method)) { return interfaceMethodLocations.get(method); } final short nameAndTypeIndex = addNameAndTypeEntry(methodName, descriptor); final short classIndex = addClassEntry(className); final short index = count++; constPoolSize++; entries.put(index, new InterfaceMethodRefEntry(classIndex, nameAndTypeIndex)); interfaceMethodLocations.put(method, index); return index; }
public Integer addInterfaceMethodEntry(String className, String methodName, String descriptor) { final NameAndType nameAndType = new NameAndType(methodName, descriptor); final MemberInfo method = new MemberInfo(className, nameAndType); if (interfaceMethodLocations.containsKey(method)) { return interfaceMethodLocations.get(method); } final Integer nameAndTypeIndex = addNameAndTypeEntry(methodName, descriptor); final Integer classIndex = addClassEntry(className); final Integer index = count++; constPoolSize++; entries.put(index, new InterfaceMethodRefEntry(classIndex, nameAndTypeIndex)); interfaceMethodLocations.put(method, index); return index; }
public Integer addInterfaceMethodEntry(String className, String methodName, String descriptor) { final NameAndType nameAndType = new NameAndType(methodName, descriptor); final MemberInfo method = new MemberInfo(className, nameAndType); if (interfaceMethodLocations.containsKey(method)) { return interfaceMethodLocations.get(method); } final Integer nameAndTypeIndex = addNameAndTypeEntry(methodName, descriptor); final Integer classIndex = addClassEntry(className); final Integer index = count++; constPoolSize++; entries.put(index, new InterfaceMethodRefEntry(classIndex, nameAndTypeIndex)); interfaceMethodLocations.put(method, index); return index; }
public Integer addInterfaceMethodEntry(String className, String methodName, String descriptor) { final NameAndType nameAndType = new NameAndType(methodName, descriptor); final MemberInfo method = new MemberInfo(className, nameAndType); if (interfaceMethodLocations.containsKey(method)) { return interfaceMethodLocations.get(method); } final Integer nameAndTypeIndex = addNameAndTypeEntry(methodName, descriptor); final Integer classIndex = addClassEntry(className); final Integer index = count++; constPoolSize++; entries.put(index, new InterfaceMethodRefEntry(classIndex, nameAndTypeIndex)); interfaceMethodLocations.put(method, index); return index; }
public Integer addInterfaceMethodEntry(String className, String methodName, String descriptor) { final NameAndType nameAndType = new NameAndType(methodName, descriptor); final MemberInfo method = new MemberInfo(className, nameAndType); if (interfaceMethodLocations.containsKey(method)) { return interfaceMethodLocations.get(method); } final Integer nameAndTypeIndex = addNameAndTypeEntry(methodName, descriptor); final Integer classIndex = addClassEntry(className); final Integer index = count++; constPoolSize++; entries.put(index, new InterfaceMethodRefEntry(classIndex, nameAndTypeIndex)); interfaceMethodLocations.put(method, index); return index; }