Org.Mozilla.Classfile.ConstantPool.AddInterfaceMethodRef C# (CSharp) Метод

AddInterfaceMethodRef() приватный Метод

private AddInterfaceMethodRef ( string className, string methodName, string methodType ) : short
className string
methodName string
methodType string
Результат short
		internal short AddInterfaceMethodRef(string className, string methodName, string methodType)
		{
			short ntIndex = AddNameAndType(methodName, methodType);
			short classIndex = AddClass(className);
			Ensure(5);
			itsPool[itsTop++] = CONSTANT_InterfaceMethodref;
			itsTop = ClassFileWriter.PutInt16(classIndex, itsPool, itsTop);
			itsTop = ClassFileWriter.PutInt16(ntIndex, itsPool, itsTop);
			FieldOrMethodRef r = new FieldOrMethodRef(className, methodName, methodType);
			SetConstantData(itsTopIndex, r);
			itsPoolTypes.Put(itsTopIndex, CONSTANT_InterfaceMethodref);
			return (short)(itsTopIndex++);
		}