| java.lang.Object javassist.compiler.MemberResolver
MemberResolver | public class MemberResolver implements TokenId(Code) | | |
Inner Class :public static class Method | |
Method Summary | |
public static int | descToType(char c) | public ClassPool | getClassPool() | public static int | getModifiers(ASTList mods) | public static CtClass | getSuperclass(CtClass c) | static String | getTypeName(int type) | public static String | javaToJvmName(String classname) | public static String | jvmToJavaName(String classname) | public CtClass | lookupClass(Declarator decl) | public CtClass | lookupClass(int type, int dim, String classname) | public CtClass | lookupClass(String name, boolean notCheckInner) Parameters: name - a qualified class name. | public CtClass | lookupClassByJvmName(String jvmName) | public CtClass | lookupClassByName(ASTList name) | public CtField | lookupField(String className, Symbol fieldName) Parameters: name - a qualified class name. | public CtField | lookupFieldByJvmName(String jvmClassName, Symbol fieldName) Parameters: jvmClassName - a JVM class name. | public CtField | lookupFieldByJvmName2(String jvmClassName, Symbol fieldSym, ASTree expr) Only used by fieldAccess() in MemberCodeGen and TypeChecker.
Parameters: jvmClassName - a JVM class name. | public Method | lookupMethod(CtClass clazz, CtClass currentClass, MethodInfo current, String methodName, int[] argTypes, int[] argDims, String[] argClassNames) | public void | recordPackage(String jvmClassName) Parameters: jvmClassName - a class name. | public String | resolveClassName(ASTList name) | public String | resolveJvmClassName(String jvmName) |
lookupClass | public CtClass lookupClass(String name, boolean notCheckInner) throws CompileError(Code) | | Parameters: name - a qualified class name. e.g. java.lang.String |
lookupFieldByJvmName | public CtField lookupFieldByJvmName(String jvmClassName, Symbol fieldName) throws CompileError(Code) | | Parameters: jvmClassName - a JVM class name. e.g. java/lang/String |
lookupFieldByJvmName2 | public CtField lookupFieldByJvmName2(String jvmClassName, Symbol fieldSym, ASTree expr) throws NoFieldException(Code) | | Only used by fieldAccess() in MemberCodeGen and TypeChecker.
Parameters: jvmClassName - a JVM class name. e.g. java/lang/String |
recordPackage | public void recordPackage(String jvmClassName)(Code) | | Parameters: jvmClassName - a class name. Not a package name. |
|
|