92 93 /** Gets the "annotations" field from a Constructor (used for serialization) */ 94 public byte[] getConstructorAnnotations(Constructor<?> c); 95 96 /** Gets the "parameterAnnotations" field from a Constructor (used for serialization) */ 97 public byte[] getConstructorParameterAnnotations(Constructor<?> c); 98 99 // 100 // Copying routines, needed to quickly fabricate new Field, 101 // Method, and Constructor objects from templates 102 // 103 104 /** Makes a "child" copy of a Method */ 105 public Method copyMethod(Method arg); 106 107 /** Makes a "child" copy of a Field */ 108 public Field copyField(Field arg); 109 110 /** Makes a "child" copy of a Constructor */ 111 public <T> Constructor<T> copyConstructor(Constructor<T> arg); 112 } | 92 93 /** Gets the "annotations" field from a Constructor (used for serialization) */ 94 public byte[] getConstructorAnnotations(Constructor<?> c); 95 96 /** Gets the "parameterAnnotations" field from a Constructor (used for serialization) */ 97 public byte[] getConstructorParameterAnnotations(Constructor<?> c); 98 99 // 100 // Copying routines, needed to quickly fabricate new Field, 101 // Method, and Constructor objects from templates 102 // 103 104 /** Makes a "child" copy of a Method */ 105 public Method copyMethod(Method arg); 106 107 /** Makes a "child" copy of a Field */ 108 public Field copyField(Field arg); 109 110 /** Makes a "child" copy of a Constructor */ 111 public <T> Constructor<T> copyConstructor(Constructor<T> arg); 112 113 // 114 // Comparing / Hashing Method parameter types 115 // 116 117 /** Compares parameter types of two Methods */ 118 public boolean methodParameterTypesEquals(Method method1, Method method2); 119 120 /** Returns hashCode for parameter types of a Method */ 121 public int methodParameterTypesHashCode(Method method); 122 } |