All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tangosol.dev.assembler.RuntimeVisibleTypeAnnotationsAttribute Maven / Gradle / Ivy

There is a newer version: 24.03
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */


package com.tangosol.dev.assembler;


/**
* Represents a Java Virtual Machine "RuntimeVisibleTypeAnnotations" attribute
*
*
* 

* The RuntimeVisibleTypeAnnotations Attribute is defined by the JDK 1.8 * documentation as: *

*

*   RuntimeVisibleTypeAnnotations_attribute
*       {
*       u2 attribute_name_index;
*       u4 attribute_length;
*       u2 num_annotations;
*       type_annotation annotations[num_annotations]
*       }
* 
* * @author hr 2014.05.28 */ public class RuntimeVisibleTypeAnnotationsAttribute extends AbstractAnnotationsAttribute { // ----- constructors --------------------------------------------------- /** * Construct a runtime visible type annotations attribute. * * @param context the JVM structure containing the attribute */ protected RuntimeVisibleTypeAnnotationsAttribute(VMStructure context) { super(context, ATTR_RTVISTANNOT); } // ----- AbstractAnnotationsAttribute operations ------------------------ @Override protected Annotation instantiateAnnotation() { return new TypeAnnotation(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy