79 /** Sets the ConstructorAccessor object for a 80 java.lang.reflect.Constructor */ 81 public void setConstructorAccessor(Constructor<?> c, 82 ConstructorAccessor accessor); 83 84 /** Gets the byte[] that encodes TypeAnnotations on an Executable. */ 85 public byte[] getExecutableTypeAnnotationBytes(Executable ex); 86 87 /** Gets the "slot" field from a Constructor (used for serialization) */ 88 public int getConstructorSlot(Constructor<?> c); 89 90 /** Gets the "signature" field from a Constructor (used for serialization) */ 91 public String getConstructorSignature(Constructor<?> c); 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 copy of this non-root a Method */ 108 public Method leafCopyMethod(Method arg); 109 110 /** Makes a "child" copy of a Field */ 111 public Field copyField(Field arg); 112 113 /** Makes a "child" copy of a Constructor */ 114 public <T> Constructor<T> copyConstructor(Constructor<T> arg); 115 } | 79 /** Sets the ConstructorAccessor object for a 80 java.lang.reflect.Constructor */ 81 public void setConstructorAccessor(Constructor<?> c, 82 ConstructorAccessor accessor); 83 84 /** Gets the byte[] that encodes TypeAnnotations on an Executable. */ 85 public byte[] getExecutableTypeAnnotationBytes(Executable ex); 86 87 /** Gets the "slot" field from a Constructor (used for serialization) */ 88 public int getConstructorSlot(Constructor<?> c); 89 90 /** Gets the "signature" field from a Constructor (used for serialization) */ 91 public String getConstructorSignature(Constructor<?> c); 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 /** 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 } |