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

com.yworks.yguard.obf.classfile.AnnotationDefaultAttrInfo Maven / Gradle / Ivy

Go to download

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

There is a newer version: 2.10.0
Show newest version
/*
 * RuntimeVisibleAnnotationsAttrInfo.java
 *
 * Created on April 20, 2005, 11:51 AM
 */

package com.yworks.yguard.obf.classfile;

/**
 *
 * @author muellese
 */
public class AnnotationDefaultAttrInfo extends AttrInfo
{
  protected ElementValueInfo elementValue;
  
  /** Creates a new instance of AnnotationDefaultAttrInfo */
  public AnnotationDefaultAttrInfo(ClassFile cf, int attrNameIndex, int attrLength)
  {
    super(cf, attrNameIndex, attrLength);
  }
  
  protected String getAttrName()
  {
    return ClassConstants.ATTR_AnnotationDefault;
  }
  
  public void writeInfo(java.io.DataOutput dout) throws java.io.IOException
  {
    elementValue.write(dout);
  }
  
  
  
  protected void readInfo(java.io.DataInput din) throws java.io.IOException
  {
    elementValue = ElementValueInfo.create(din);
  }

  protected void markUtf8RefsInInfo(ConstantPool pool)
  {
    elementValue.markUtf8RefsInInfo(pool);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy