Home
last modified time | relevance | path

Searched refs:CtField (Results 1 – 20 of 20) sorted by relevance

/external/javassist/src/main/javassist/compiler/ast/
DMember.java19 import javassist.CtField;
27 private CtField field;
34 public void setField(CtField f) { field = f; } in setField()
36 public CtField getField() { return field; } in getField()
/external/javassist/sample/evolve/
DEvolution.java113 CtField fld = new CtField(pool.get("java.lang.Class"), in makeAbstractClass()
117 CtField.Initializer finit = CtField.Initializer.byCall(pool in makeAbstractClass()
122 CtField[] fs = clazz.getDeclaredFields(); in makeAbstractClass()
124 CtField f = fs[i]; in makeAbstractClass()
126 absClass.addField(new CtField(f.getType(), f.getName(), in makeAbstractClass()
174 CtField[] fs = clazz.getDeclaredFields(); in makeConcreteClass()
176 CtField f = fs[i]; in makeConcreteClass()
/external/javassist/src/main/javassist/
DCtClass.java679 public CtField[] getFields() { return new CtField[0]; } in getFields()
685 public CtField getField(String name) throws NotFoundException { in getField()
700 public CtField getField(String name, String desc) throws NotFoundException { in getField()
707 CtField getField2(String name, String desc) { return null; } in getField2()
715 public CtField[] getDeclaredFields() { return new CtField[0]; } in getDeclaredFields()
723 public CtField getDeclaredField(String name) throws NotFoundException { in getDeclaredField()
739 public CtField getDeclaredField(String name, String desc) throws NotFoundException { in getDeclaredField()
936 public void addField(CtField f) throws CannotCompileException { in addField()
937 addField(f, (CtField.Initializer)null); in addField()
970 public void addField(CtField f, String init) in addField()
[all …]
DSerialVersionUID.java52 CtField field = new CtField(CtClass.longType, "serialVersionUID", in setSerialVersionUID()
107 CtField[] fields = clazz.getDeclaredFields(); in calculateDefault()
110 CtField field1 = (CtField)o1; in calculateDefault()
111 CtField field2 = (CtField)o2; in calculateDefault()
117 CtField field = (CtField) fields[i]; in calculateDefault()
DCtClassType.java838 CtField newField = new CtField(finfo, this); in makeFieldCache()
859 public CtField[] getFields() { in getFields()
862 return (CtField[])alist.toArray(new CtField[alist.size()]); in getFields()
893 public CtField getField(String name, String desc) throws NotFoundException { in getField()
894 CtField f = getField2(name, desc); in getField()
898 private CtField checkGetField(CtField f, String name, String desc) in checkGetField()
912 CtField getField2(String name, String desc) { in getField2()
913 CtField df = getDeclaredField2(name, desc); in getField2()
921 CtField f = ifs[i].getField2(name, desc); in getField2()
934 public CtField[] getDeclaredFields() { in getDeclaredFields()
[all …]
DCodeConverter.java143 public void redirectFieldAccess(CtField field, in redirectFieldAccess()
183 public void replaceFieldRead(CtField field, in replaceFieldRead()
224 public void replaceFieldWrite(CtField field, in replaceFieldWrite()
DCtField.java32 public class CtField extends CtMember { class
57 public CtField(CtClass type, String name, CtClass declaring) in CtField() method in CtField
80 public CtField(CtField src, CtClass declaring) in CtField() method in CtField
96 private CtField(String typeDesc, String name, CtClass clazz) in CtField() method in CtField
108 CtField(FieldInfo fi, CtClass clazz) { in CtField() method in CtField
156 public static CtField make(String src, CtClass declaring) in make()
162 if (obj instanceof CtField) in make()
163 return (CtField)obj; // an instance of Javac.CtFieldWithInit in make()
DCtNewMethod.java221 public static CtMethod getter(String methodName, CtField field) in getter()
262 public static CtMethod setter(String methodName, CtField field) in setter()
DCtBehavior.java515 CtField field = new CtField(type, fname, cc); in useCflow()
517 cc.addField(field, CtField.Initializer.byNew(type)); in useCflow()
/external/javassist/src/main/javassist/tools/reflect/
DReflection.java225 CtField[] fs = clazz.getDeclaredFields(); in registerReflectiveClass()
227 CtField f = fs[i]; in registerReflectiveClass()
254 CtField f; in modifyClassfile()
256 f = new CtField(classPool.get("javassist.tools.reflect.Metaobject"), in modifyClassfile()
259 clazz.addField(f, CtField.Initializer.byNewWithParams(metaobject)); in modifyClassfile()
265 f = new CtField(classPool.get("javassist.tools.reflect.ClassMetaobject"), in modifyClassfile()
268 clazz.addField(f, CtField.Initializer.byNew(metaclass, in modifyClassfile()
357 CtField[] fs = clazz.getDeclaredFields(); in processFields()
359 CtField f = fs[i]; in processFields()
/external/javassist/src/main/javassist/tools/rmi/
DStubGenerator.java141 CtField f in produceProxyClass()
142 = new CtField(classPool.get("javassist.tools.rmi.ObjectImporter"), in produceProxyClass()
145 proxy.addField(f, CtField.Initializer.byParameter(0)); in produceProxyClass()
147 f = new CtField(CtClass.intType, fieldObjectId, proxy); in produceProxyClass()
149 proxy.addField(f, CtField.Initializer.byParameter(1)); in produceProxyClass()
/external/javassist/src/main/javassist/convert/
DTransformReadField.java21 import javassist.CtField;
31 public TransformReadField(Transformer next, CtField field, in TransformReadField()
61 CtField f = clazz.getField(fname); in isFieldInSuper()
DTransformFieldAccess.java20 import javassist.CtField;
33 public TransformFieldAccess(Transformer next, CtField field, in TransformFieldAccess()
DTransformWriteField.java19 import javassist.CtField;
23 public TransformWriteField(Transformer next, CtField field, in TransformWriteField()
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java777 CtField f = fieldAccess(left, false); in atFieldAssign()
821 private void atFieldAssignCore(CtField f, boolean is_static, int fi, in atFieldAssignCore()
854 CtField f = fieldAccess(expr, true); in atFieldRead()
884 private int atFieldRead(CtField f, boolean isStatic) throws CompileError { in atFieldRead()
915 private AccessorMaker isAccessibleField(CtField f, FieldInfo finfo) in isAccessibleField()
964 private int addFieldrefInfo(CtField f, FieldInfo finfo) { in addFieldrefInfo()
984 CtField f = fieldAccess(oprand, false); in atFieldPlusPlus()
1007 protected CtField fieldAccess(ASTree expr, boolean acceptLength) in fieldAccess()
1012 CtField f = null; in fieldAccess()
1040 CtField f = resolver.lookupField(((Symbol)e.oprand1()).get(), in fieldAccess()
[all …]
DTypeChecker.java19 import javassist.CtField;
270 CtField f = fieldAccess(left); in atFieldAssign()
453 public static ASTree getConstantFieldValue(CtField f) { in getConstantFieldValue()
773 private void atFieldRead(CtField f) throws CompileError { in atFieldRead()
799 protected CtField fieldAccess(ASTree expr) throws CompileError { in fieldAccess()
804 CtField f = thisClass.getField(name); in fieldAccess()
820 CtField f in fieldAccess()
878 private CtField fieldAccess2(Expr e, String jvmClassName) throws CompileError { in fieldAccess2()
880 CtField f = resolver.lookupFieldByJvmName2(jvmClassName, fname, e); in fieldAccess2()
944 CtField f = fieldAccess(oprand); in atFieldPlusPlus()
DMemberResolver.java279 public CtField lookupFieldByJvmName2(String jvmClassName, Symbol fieldSym, in lookupFieldByJvmName2()
305 public CtField lookupFieldByJvmName(String jvmClassName, Symbol fieldName) in lookupFieldByJvmName()
314 public CtField lookupField(String className, Symbol fieldName) in lookupField()
DJavac.java21 import javassist.CtField;
110 public static class CtFieldWithInit extends CtField {
127 private CtField compileField(FieldDecl fd) in compileField()
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMockGenerator.java23 import javassist.CtField;
473 newClass.addField(new CtField(newInterface, getDelegateFieldName(), newClass)); in generateSkeletalClass()
/external/javassist/src/main/javassist/expr/
DFieldAccess.java111 public CtField getField() throws NotFoundException { in getField()