public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) { // Check whether this is class$(String), as generated by javac, or // class(String, boolean), as generated by jikes, or an optimized // version. isClassForNameInvocation = isDotClassMethodCode(clazz, method, codeAttribute, dotClassJavacImplementationMatcher, 5) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher, 12) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher2, 8); }
/** * Fills out the link to the referenced class. */ public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { // Save a reference to the corresponding class. String externalClassName = stringConstant.getString(clazz); String internalClassName = ClassUtil.internalClassName(externalClassName); stringConstant.referencedClass = findClass(clazz.getName(), internalClassName); }
isDotClassMethodref(clazz, dotClassJavacMatcher.matchedConstantIndex(0))) isDotClassMethodref(clazz, dotClassJikesMatcher.matchedConstantIndex(0)))
new AllAttributeVisitor( new AllInstructionVisitor( new DynamicClassReferenceInitializer(programClassPool, libraryClassPool, dynamicClassReferenceNotePrinter,
/** * Fills out the link to the referenced class. */ public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { // Save a reference to the corresponding class. String externalClassName = stringConstant.getString(clazz); String internalClassName = ClassUtil.internalClassName( ClassUtil.externalBaseType(externalClassName)); stringConstant.referencedClass = findClass(clazz.getName(), internalClassName); }
isDotClassMethodref(clazz, dotClassJavacMatcher.matchedConstantIndex(0))) isDotClassMethodref(clazz, dotClassJikesMatcher.matchedConstantIndex(0)))
new AllAttributeVisitor( new AllInstructionVisitor( new DynamicClassReferenceInitializer(programClassPool, libraryClassPool, dynamicClassReferenceNotePrinter,
/** * Fills out the link to the referenced class. */ public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { // Save a reference to the corresponding class. String externalClassName = stringConstant.getString(clazz); String internalClassName = ClassUtil.internalClassName( ClassUtil.externalBaseType(externalClassName)); stringConstant.referencedClass = findClass(clazz.getName(), internalClassName); }
public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) { // Check whether this is class$(String), as generated by javac, or // class(String, boolean), as generated by jikes, or an optimized // version. isClassForNameInvocation = isDotClassMethodCode(clazz, method, codeAttribute, dotClassJavacImplementationMatcher, 5) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher, 12) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher2, 8); }
isDotClassMethodref(clazz, dotClassJavacMatcher.matchedConstantIndex(0))) isDotClassMethodref(clazz, dotClassJikesMatcher.matchedConstantIndex(0)))
new AllAttributeVisitor( new AllInstructionVisitor( new DynamicClassReferenceInitializer(programClassPool, libraryClassPool, dynamicClassReferenceNotePrinter,
/** * Fills out the link to the referenced class. */ public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { // Save a reference to the corresponding class. String externalClassName = stringConstant.getString(clazz); String internalClassName = ClassUtil.internalClassName( ClassUtil.externalBaseType(externalClassName)); stringConstant.referencedClass = findClass(clazz.getName(), internalClassName); }
public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) { // Check whether this is class$(String), as generated by javac, or // class(String, boolean), as generated by jikes, or an optimized // version. isClassForNameInvocation = isDotClassMethodCode(clazz, method, codeAttribute, dotClassJavacImplementationMatcher, 5) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher, 12) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher2, 8); }
isDotClassMethodref(clazz, dotClassJavacMatcher.matchedConstantIndex(0))) isDotClassMethodref(clazz, dotClassJikesMatcher.matchedConstantIndex(0)))
new AllAttributeVisitor( new AllInstructionVisitor( new DynamicClassReferenceInitializer(programClassPool, libraryClassPool, dynamicClassReferenceNotePrinter,
public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) { // Check whether this is class$(String), as generated by javac, or // class(String, boolean), as generated by jikes, or an optimized // version. isClassForNameInvocation = isDotClassMethodCode(clazz, method, codeAttribute, dotClassJavacImplementationMatcher, 5) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher, 12) || isDotClassMethodCode(clazz, method, codeAttribute, dotClassJikesImplementationMatcher2, 8); }