public static String addMethod ( Method m ) { if ( methods == null ) { methods = new HashMap < String , Method > ( ) ; } String hashCode = String . valueOf ( m . hashCode ( ) ) ; if ( ! methods . containsKey ( hashCode ) ) { methods . put ( hashCode , m ) ; } return String . valueOf ( m . hashCode ( ) ) ; }
Adds a method to the registry and returns the UUID .