in src/main/java/com/microsoft/azure/functions/worker/description/FunctionMethodDescriptor.java [70:82]
public File getParentDirectory() {
if (this.parentDirectory == null) {
// the conventions are:
// 1. jar in the function's method folder or
// 2. in the function method's parent folder where all the method directories are children
if (isJarInMethodFolder()) {
this.parentDirectory = getJarDirectory().getAbsoluteFile().getParentFile(); //up one level
}
this.parentDirectory = this.jarDirectory.getAbsoluteFile(); // otherwise convention #2
}
return this.parentDirectory;
}