private boolean hasConstantPoolReference(String mnemonic) {
		switch (mnemonic) {
			case ("anewarray"):
			case ("checkcast"):
			case ("getfield"):
			case ("getstatic"):
			case ("instanceof"):
			case ("invokedynamic"):
			case ("invokeinterface"):
			case ("invokespecial"):
			case ("invokestatic"):
			case ("invokevirtual"):
			case ("multianewarray"):
			case ("ldc"):
			case ("ldc_w"):
			case ("ldc2_w"):
			case ("new"):
			case ("putfield"):
			case ("putstatic"):
				return true;
			default:
				return false;
		}
	}
Sets the name, return type, and parameter types of a method using the information in the constant pool.
Also overrides the signatures on all method invocations made within the method body.
@param function - the function (method) 
@param methodInfo information about the method from the constant pool
@param classFile class file containing the method
@param dtManager data type manager for program 
@throws DuplicateNameException if there are duplicate name issues with function or parameter names
@throws InvalidInputException if a function or parameter name is invalid
Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/analyzers/JavaAnalyzer.java