org.jboss.classfilewriter
Class ClassField
java.lang.Object
org.jboss.classfilewriter.ClassField
- All Implemented Interfaces:
- WritableEntry
public class ClassField
- extends Object
- implements WritableEntry
A field in a class
- Author:
- Stuart Douglas
write
public void write(ByteArrayDataOutputStream stream)
throws IOException
- Specified by:
write
in interface WritableEntry
- Throws:
IOException
getAccessFlags
public short getAccessFlags()
getName
public String getName()
getDescriptor
public String getDescriptor()
getClassFile
public ClassFile getClassFile()
getSignature
public String getSignature()
setSignature
public void setSignature(String signature)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getRuntimeVisibleAnnotationsAttribute
public AnnotationsAttribute getRuntimeVisibleAnnotationsAttribute()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.