98 99 /** Gets the shared array of parameter types of an Executable. */ 100 public Class<?>[] getExecutableSharedParameterTypes(Executable ex); 101 102 // 103 // Copying routines, needed to quickly fabricate new Field, 104 // Method, and Constructor objects from templates 105 // 106 107 /** Makes a "child" copy of a Method */ 108 public Method copyMethod(Method arg); 109 110 /** Makes a copy of this non-root a Method */ 111 public Method leafCopyMethod(Method arg); 112 113 /** Makes a "child" copy of a Field */ 114 public Field copyField(Field arg); 115 116 /** Makes a "child" copy of a Constructor */ 117 public <T> Constructor<T> copyConstructor(Constructor<T> arg); 118 } | 98 99 /** Gets the shared array of parameter types of an Executable. */ 100 public Class<?>[] getExecutableSharedParameterTypes(Executable ex); 101 102 // 103 // Copying routines, needed to quickly fabricate new Field, 104 // Method, and Constructor objects from templates 105 // 106 107 /** Makes a "child" copy of a Method */ 108 public Method copyMethod(Method arg); 109 110 /** Makes a copy of this non-root a Method */ 111 public Method leafCopyMethod(Method arg); 112 113 /** Makes a "child" copy of a Field */ 114 public Field copyField(Field arg); 115 116 /** Makes a "child" copy of a Constructor */ 117 public <T> Constructor<T> copyConstructor(Constructor<T> arg); 118 119 /** Gets the root of the given AccessibleObject object; null if arg is the root */ 120 public <T extends AccessibleObject> T getRoot(T obj); 121 } |