/** * Return the type of the field this instruction operates on, or null * if not set. */ public Class getFieldType() { String type = getFieldTypeName(); if (type == null) return null; return Strings.toClass(type, getClassLoader()); }
/** * Return the type of the field this instruction operates on, or null * if not set. */ public Class getFieldType() { String type = getFieldTypeName(); if (type == null) return null; return Strings.toClass(type, getClassLoader()); }
/** * Return the declaring class of the field this instruction operates on, * or null if not set. */ public Class getFieldDeclarerType() { String type = getFieldDeclarerName(); if (type == null) return null; return Strings.toClass(type, getClassLoader()); }
/** * Return the declaring class of the field this instruction operates on, * or null if not set. */ public Class getFieldDeclarerType() { String type = getFieldDeclarerName(); if (type == null) return null; return Strings.toClass(type, getClassLoader()); }
/** * Return the declaring class of the field this instruction operates on, * or null if not set. */ public BCClass getFieldDeclarerBC() { String type = getFieldDeclarerName(); if (type == null) return null; return getProject().loadClass(type, getClassLoader()); }
/** * Return the type of the field this instruction operates on, or null * if not set. */ public BCClass getFieldTypeBC() { String type = getFieldTypeName(); if (type == null) return null; return getProject().loadClass(type, getClassLoader()); }
/** * Return the type of the field this instruction operates on, or null * if not set. */ public BCClass getFieldTypeBC() { String type = getFieldTypeName(); if (type == null) return null; return getProject().loadClass(type, getClassLoader()); }
/** * Return the declaring class of the field this instruction operates on, * or null if not set. */ public BCClass getFieldDeclarerBC() { String type = getFieldDeclarerName(); if (type == null) return null; return getProject().loadClass(type, getClassLoader()); }
/** * Return the field this instruction operates on, or null if not set. */ public BCField getField() { String dec = getFieldDeclarerName(); if (dec == null) return null; BCClass bc = getProject().loadClass(dec, getClassLoader()); BCField[] fields = bc.getFields(getFieldName()); if (fields.length == 0) return null; return fields[0]; }
/** * Return the field this instruction operates on, or null if not set. */ public BCField getField() { String dec = getFieldDeclarerName(); if (dec == null) return null; BCClass bc = getProject().loadClass(dec, getClassLoader()); BCField[] fields = bc.getFields(getFieldName()); if (fields.length == 0) return null; return fields[0]; }