com.android.dx.io
Class Annotation

java.lang.Object
  extended by com.android.dx.io.Annotation
All Implemented Interfaces:
Comparable<Annotation>

public final class Annotation
extends Object
implements Comparable<Annotation>

An annotation.


Constructor Summary
Annotation(DexBuffer buffer, byte visibility, int typeIndex, int[] names, EncodedValue[] values)
           
 
Method Summary
 int compareTo(Annotation other)
           
 int[] getNames()
           
 int getTypeIndex()
           
 EncodedValue[] getValues()
           
 byte getVisibility()
           
 String toString()
           
 void writeTo(DexBuffer.Section out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Annotation

public Annotation(DexBuffer buffer,
                  byte visibility,
                  int typeIndex,
                  int[] names,
                  EncodedValue[] values)
Method Detail

getVisibility

public byte getVisibility()

getTypeIndex

public int getTypeIndex()

getNames

public int[] getNames()

getValues

public EncodedValue[] getValues()

writeTo

public void writeTo(DexBuffer.Section out)

compareTo

public int compareTo(Annotation other)
Specified by:
compareTo in interface Comparable<Annotation>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.