public class ClassMetadata extends AbsMetadata
| Constructor and Description |
|---|
ClassMetadata(int access,
String name,
String signature,
String superName,
String[] interfaces)
Build a new Class metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotationMetadata(AnnotationMetadata annotationMetadata)
Add the given annotation metadata to the list
|
void |
addFieldMetadata(FieldMetadata fieldMetadata)
Add the given field metadata to the list
|
void |
addInnerClassMetadata(InnerClassMetadata innerClassMetadata)
Add the given inner class metadata to the list
|
void |
addMethodMetadata(MethodMetadata methodMetadata)
Add the given method metadata to the list
|
void |
compare(ClassMetadata other,
SignatureResultSet rs) |
boolean |
equals(Object o) |
String |
getName() |
String |
getSuperName() |
int |
hashCode() |
void |
setUID(long uid)
Sets the uid of this class
|
String |
toXML(String indent) |
addArrayObjectToSB, addListToSB, addObjectToSB, compare, compareList, toString, toXMLpublic ClassMetadata(int access,
String name,
String signature,
String superName,
String[] interfaces)
access - the class's access flags. This parameter also indicates if
the class is deprecated.name - the internal name of the class.signature - the signature of this class. May be null if
the class is not a generic one, and does not extend or implement
generic classes or interfaces.superName - the internal of name of the super class (see . For
interfaces, the super class is Object. May be
null, but only for the Object class.interfaces - the internal names of the class's interfaces. May be
null.public void addMethodMetadata(MethodMetadata methodMetadata)
methodMetadata - the given metadatapublic void addFieldMetadata(FieldMetadata fieldMetadata)
fieldMetadata - the given metadatapublic void addAnnotationMetadata(AnnotationMetadata annotationMetadata)
annotationMetadata - the given metadatapublic void addInnerClassMetadata(InnerClassMetadata innerClassMetadata)
annotationMetadata - the given metadatapublic void setUID(long uid)
uid - public String toXML(String indent)
toXML in class AbsMetadatapublic String getName()
public void compare(ClassMetadata other, SignatureResultSet rs)
public String getSuperName()
Copyright © 2007-2013 OW2 Consortium. All Rights Reserved.