001/*
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements.  See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership.  The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License.  You may obtain a copy of the License at
009 *
010 *   https://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing,
013 * software distributed under the License is distributed on an
014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 * KIND, either express or implied.  See the License for the
016 * specific language governing permissions and limitations
017 * under the License.
018 */
019package org.apache.bcel.classfile;
020
021import java.io.DataInput;
022import java.io.IOException;
023
024import org.apache.bcel.Const;
025
026/**
027 * Represents a parameter annotation that is represented in the class file but is not provided to the JVM.
028 *
029 * @since 6.0
030 */
031public class RuntimeInvisibleParameterAnnotations extends ParameterAnnotations {
032
033    /**
034     * Constructs a new instance.
035     *
036     * @param nameIndex Index pointing to the name <em>Code</em>
037     * @param length Content length in bytes
038     * @param input Input stream
039     * @param constantPool Array of constants
040     * @throws IOException Thrown when an I/O exception of some sort has occurred.
041     */
042    public RuntimeInvisibleParameterAnnotations(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool)
043        throws IOException {
044        super(Const.ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, nameIndex, length, input, constantPool);
045    }
046}