jodd-bean/src/main/java/jodd/introspector/Methods.java
public MethodDescriptor getMethodDescriptor(final String name) {
		final MethodDescriptor[] methodDescriptors = methodsMap.get(name);
		if (methodDescriptors == null) {
			return null;
		}
		if (methodDescriptors.length != 1) {
			throw new IllegalArgumentException("Method name not unique: " + name);
		}
		return methodDescriptors[0];
	}
public MethodDescriptor getMethodDescriptor(final String name) {
		final MethodDescriptor[] methodDescriptors = methodsMap.get(name);
		if (methodDescriptors == null) {
			return null;
		}
		if (methodDescriptors.length != 1) {
			throw new IllegalArgumentException("Method name not unique: " + name);
		}
		return methodDescriptors[0];
	}
public MethodDescriptor getMethodDescriptor ( final String name ) { final MethodDescriptor [ ] methodDescriptors = methodsMap . get ( name ) ; if ( methodDescriptors == null ) { return null ; } if ( methodDescriptors . length != 1 ) { throw new IllegalArgumentException ( "Method name not unique: " + name ) ; } return methodDescriptors [ 0 ] ; }
Returns method descriptor for given name. If more then one methods with
the same name exists, one method will be returned (not determined which one).
Returns <code>null</code> if no method exist in this collection by given name.
@see #getMethodDescriptor(String, Class[])
Returns method descriptor for given name . If more then one methods with the same name exists one method will be returned ( not determined which one ) . Returns <code > null< / code > if no method exist in this collection by given name .