void set(ConstantPool cp, MethodInfo info) { TypeDesc[] paramTypes = info.getMethodDescriptor().getParameterTypes(); VerificationTypeInfo[] infos; int offset; if (info.getModifiers().isStatic()) { infos = new VerificationTypeInfo[paramTypes.length]; offset = 0; } else { infos = new VerificationTypeInfo[1 + paramTypes.length]; if (info.getName().equals("<init>")) { infos[0] = UninitThisVariableInfo.THE; } else { infos[0] = VerificationTypeInfo.forType(cp, info.getClassFile().getType()); } offset = 1; } for (int i=0; i<paramTypes.length; i++) { infos[offset + i] = VerificationTypeInfo.forType(cp, paramTypes[i]); } mLocalInfos = infos; } }
if (info.getModifiers().isStatic()) { mThisReference = null; } else {
.toStatic(innerFlags.isStatic()) .toPrivate(innerFlags.isPrivate()) .toProtected(innerFlags.isProtected())
boolean isStatic = mi.getModifiers().isStatic(); String indentStr = generateIndent(mIndent);
md.getReturnType() == TypeDesc.VOID && md.getParameterCount() == 0 && (method.getModifiers().isStatic()) && (!method.getModifiers().isAbstract()) && method.getExceptions().length == 0) {
if (info.getModifiers().isStatic()) { mThisReference = null; } else {
void set(ConstantPool cp, MethodInfo info) { TypeDesc[] paramTypes = info.getMethodDescriptor().getParameterTypes(); VerificationTypeInfo[] infos; int offset; if (info.getModifiers().isStatic()) { infos = new VerificationTypeInfo[paramTypes.length]; offset = 0; } else { infos = new VerificationTypeInfo[1 + paramTypes.length]; if (info.getName().equals("<init>")) { infos[0] = UninitThisVariableInfo.THE; } else { infos[0] = VerificationTypeInfo.forType(cp, info.getClassFile().getType()); } offset = 1; } for (int i=0; i<paramTypes.length; i++) { infos[offset + i] = VerificationTypeInfo.forType(cp, paramTypes[i]); } mLocalInfos = infos; } }
mAssembler = assembler; mLocals = new Vector<Object>(); if (mHasThis = !mMethod.getModifiers().isStatic()) {
.toStatic(innerFlags.isStatic()) .toPrivate(innerFlags.isPrivate()) .toProtected(innerFlags.isProtected())
int hasThis = mi.getModifiers().isStatic() ? 0 : 1;
boolean isStatic = mi.getModifiers().isStatic(); String indentStr = generateIndent(mIndent);
md.getReturnType() == TypeDesc.VOID && md.getParameterCount() == 0 && (method.getModifiers().isStatic()) && (!method.getModifiers().isAbstract()) && method.getExceptions().length == 0) {
} else { int argCount = mi.getMethodDescriptor().getParameterCount(); int hasThis = mi.getModifiers().isStatic() ? 0 : 1; argCount += hasThis;
mAssembler = assembler; mLocals = new Vector<Object>(); if (mHasThis = !mMethod.getModifiers().isStatic()) {