classfilewriter 1.0.0.Final

org.jboss.classfilewriter.annotations
Class FloatAnnotationValue

java.lang.Object
  extended by org.jboss.classfilewriter.annotations.AnnotationValue
      extended by org.jboss.classfilewriter.annotations.FloatAnnotationValue
All Implemented Interfaces:
WritableEntry

public class FloatAnnotationValue
extends AnnotationValue

A float annotation value

Author:
Stuart Douglas

Constructor Summary
FloatAnnotationValue(ConstPool constPool, String name, float value)
           
 
Method Summary
 char getTag()
           
 float getValue()
           
 void writeData(ByteArrayDataOutputStream stream)
           
 
Methods inherited from class org.jboss.classfilewriter.annotations.AnnotationValue
getName, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatAnnotationValue

public FloatAnnotationValue(ConstPool constPool,
                            String name,
                            float value)
Method Detail

getTag

public char getTag()
Specified by:
getTag in class AnnotationValue

writeData

public void writeData(ByteArrayDataOutputStream stream)
               throws IOException
Specified by:
writeData in class AnnotationValue
Throws:
IOException

getValue

public float getValue()

classfilewriter 1.0.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.