code: public JMethod []getDeclaredMethods()
    {
      SoftReference<JMethod[]> jMethodsRef = _declaredMethodsRef;
      JMethod []jMethods = null;
  
      if (jMethodsRef != null) {
        jMethods = jMethodsRef.get();
        if (jMethods != null)
          return jMethods;
      }
  
      Method []methods = _class.getDeclaredMethods();
      
      jMethods = new JMethod[methods.length];
  
      for (int i = 0; i < methods.length; i++) {
        jMethods[i] = new JMethodWrapper(methods[i], getClassLoader());
      }
  
      _declaredMethodsRef = new SoftReference<JMethod[]>(jMethods);
  
      return jMethods;
    }
docs: Returns the declared methods.