JavaDecompiler/JavaClass.cs
/// <summary>
/// Returns a method with the given name and descriptor
/// </summary>
/// <param name="name"></param>
/// <returns></returns>
Returns a method with the given name and descriptor
Returns a method with the given name and descriptor
public JavaMethodInfo GetMethod(string name, string descriptor)
        {
            var nameIndex = GetConstantUtf8Index(name);
            var descriptorIndex = GetConstantUtf8Index(descriptor);
            return Methods.FirstOrDefault(m => m.NameIndex == nameIndex && m.DescriptorIndex == descriptorIndex);
        }
public JavaMethodInfo GetMethod ( string name , string descriptor ) { var nameIndex = GetConstantUtf8Index ( name ) ; var descriptorIndex = GetConstantUtf8Index ( descriptor ) ; return Methods . FirstOrDefault ( m => m . NameIndex == nameIndex && m . DescriptorIndex == descriptorIndex ) ; }
Returns a method with the given name and descriptor
Returns a method with the given name and descriptor
None
name
string
None
descriptor
string