/** * Applies the given verification type visitor to all variables. */ public void additionalVariablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { for (int index = 0; index < additionalVariablesCount; index++) { additionalVariables[index].accept(clazz, method, codeAttribute, offset, verificationTypeVisitor); } }
public boolean equals(Object object) { if (!super.equals(object)) { return false; } UninitializedType other = (UninitializedType)object; return this.u2newInstructionOffset == other.u2newInstructionOffset; }
public int hashCode() { return super.hashCode() ^ u2classIndex; }
public void visitAnyVerificationType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationType verificationType) { // Write the verification type tag. dataOutput.writeByte(verificationType.getTag()); // Write the actual body. verificationType.accept(clazz, method, codeAttribute, offset, verificationTypeBodyWriter); } }
public void visitFullFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame) { fullFrame.u2offsetDelta = dataInput.readUnsignedShort(); // Read the verification types of the local variables. fullFrame.variablesCount = dataInput.readUnsignedShort(); fullFrame.variables = new VerificationType[fullFrame.variablesCount]; for (int index = 0; index < fullFrame.variablesCount; index++) { VerificationType verificationType = createVerificationType(); verificationType.variablesAccept(clazz, method, codeAttribute, offset, index, this); fullFrame.variables[index] = verificationType; } // Read the verification types of the stack entries. fullFrame.stackCount = dataInput.readUnsignedShort(); fullFrame.stack = new VerificationType[fullFrame.stackCount]; for (int index = 0; index < fullFrame.stackCount; index++) { VerificationType verificationType = createVerificationType(); verificationType.stackAccept(clazz, method, codeAttribute, offset, index, this); fullFrame.stack[index] = verificationType; } }
/** * Applies the given verification type visitor to all variables. */ public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { for (int index = 0; index < variablesCount; index++) { variables[index].variablesAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); } }
/** * Applies the given verification type visitor to all stack. */ public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { for (int index = 0; index < stackCount; index++) { stack[index].stackAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); } }
public void visitAnyVerificationType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationType verificationType) { // Write the verification type tag. dataOutput.writeByte(verificationType.getTag()); // Write the actual body. verificationType.accept(clazz, method, codeAttribute, offset, verificationTypeBodyWriter); } }
public void visitFullFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame) { fullFrame.u2offsetDelta = dataInput.readUnsignedShort(); // Read the verification types of the local variables. fullFrame.variablesCount = dataInput.readUnsignedShort(); fullFrame.variables = new VerificationType[fullFrame.variablesCount]; for (int index = 0; index < fullFrame.variablesCount; index++) { VerificationType verificationType = createVerificationType(); verificationType.variablesAccept(clazz, method, codeAttribute, offset, index, this); fullFrame.variables[index] = verificationType; } // Read the verification types of the stack entries. fullFrame.stackCount = dataInput.readUnsignedShort(); fullFrame.stack = new VerificationType[fullFrame.stackCount]; for (int index = 0; index < fullFrame.stackCount; index++) { VerificationType verificationType = createVerificationType(); verificationType.stackAccept(clazz, method, codeAttribute, offset, index, this); fullFrame.stack[index] = verificationType; } }
/** * Applies the given verification type visitor to all variables. */ public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { for (int index = 0; index < variablesCount; index++) { variables[index].variablesAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); } }
/** * Applies the given verification type visitor to all stack. */ public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { for (int index = 0; index < stackCount; index++) { stack[index].stackAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); } }
public boolean equals(Object object) { if (!super.equals(object)) { return false; } ObjectType other = (ObjectType)object; return this.u2classIndex == other.u2classIndex; }
public int hashCode() { return super.hashCode() ^ u2newInstructionOffset; }
/** * Applies the given verification type visitor to the stack item. */ public void stackItemAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { stackItem.accept(clazz, method, codeAttribute, offset, verificationTypeVisitor); }
public void visitAnyVerificationType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationType verificationType) { // Write the verification type tag. dataOutput.writeByte(verificationType.getTag()); // Write the actual body. verificationType.accept(clazz, method, codeAttribute, offset, verificationTypeBodyWriter); } }
public void visitFullFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame) { fullFrame.u2offsetDelta = dataInput.readUnsignedShort(); // Read the verification types of the local variables. fullFrame.variablesCount = dataInput.readUnsignedShort(); fullFrame.variables = new VerificationType[fullFrame.variablesCount]; for (int index = 0; index < fullFrame.variablesCount; index++) { VerificationType verificationType = createVerificationType(); verificationType.variablesAccept(clazz, method, codeAttribute, offset, index, this); fullFrame.variables[index] = verificationType; } // Read the verification types of the stack entries. fullFrame.stackCount = dataInput.readUnsignedShort(); fullFrame.stack = new VerificationType[fullFrame.stackCount]; for (int index = 0; index < fullFrame.stackCount; index++) { VerificationType verificationType = createVerificationType(); verificationType.stackAccept(clazz, method, codeAttribute, offset, index, this); fullFrame.stack[index] = verificationType; } }
/** * Applies the given verification type visitor to all variables. */ public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { for (int index = 0; index < variablesCount; index++) { variables[index].variablesAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); } }
/** * Applies the given verification type visitor to all stack. */ public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) { for (int index = 0; index < stackCount; index++) { stack[index].stackAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); } }
public boolean equals(Object object) { if (!super.equals(object)) { return false; } UninitializedType other = (UninitializedType)object; return this.u2newInstructionOffset == other.u2newInstructionOffset; }
public int hashCode() { return super.hashCode() ^ u2classIndex; }