Home | History | Annotate | Download | only in javassist

Lines Matching refs:declaring

34      * @see #make(MethodInfo minfo, CtClass declaring)
36 CtMethod(MethodInfo minfo, CtClass declaring) {
37 super(declaring, minfo);
45 * @param declaring the class to which the created method is added.
53 CtClass[] parameters, CtClass declaring) {
54 this(null, declaring);
55 ConstPool cp = declaring.getClassFile2().getConstPool();
85 * declaring <code>at()</code> and the superclass are replaced
101 * @param declaring the class to which the created method is added.
109 public CtMethod(CtMethod src, CtClass declaring, ClassMap map)
112 this(null, declaring);
123 * @param declaring the class to which the created method is added.
126 public static CtMethod make(String src, CtClass declaring)
129 return CtNewMethod.make(src, declaring);
135 * @param declaring the class declaring the method.
137 * object and the declaring class have different
141 public static CtMethod make(MethodInfo minfo, CtClass declaring)
144 if (declaring.getClassFile2().getConstPool() != minfo.getConstPool())
145 throw new CannotCompileException("bad declaring class");
147 return new CtMethod(minfo, declaring);