|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.sequencer.java.metadata.TypeMetadata
public class TypeMetadata
Exposes meta data of a top level type.
| Field Summary | |
|---|---|
static int |
PUBLIC_MODIFIER
|
| Constructor Summary | |
|---|---|
TypeMetadata()
|
|
| Method Summary | |
|---|---|
List<AnnotationMetadata> |
getAnnotations()
|
List<FieldMetadata> |
getFields()
Gets a ordered lists of FieldMetadata from the unit. |
List<String> |
getInterfaceNames()
|
List<MethodMetadata> |
getMethods()
Gets all MethodMetadata from the unit. |
List<ModifierMetadata> |
getModifiers()
|
String |
getName()
Get the name. |
String |
getSuperClassName()
|
boolean |
hasModifierNamed(String modifierName)
|
void |
setAnnotations(List<AnnotationMetadata> annotations)
|
void |
setFields(List<FieldMetadata> fields)
|
void |
setMethods(List<MethodMetadata> methods)
|
void |
setModifiers(List<ModifierMetadata> modifiers)
|
void |
setName(String name)
Set the name. |
void |
setSuperClassName(String superClassName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PUBLIC_MODIFIER
| Constructor Detail |
|---|
public TypeMetadata()
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - Sets name to the specified value.public String getSuperClassName()
public void setSuperClassName(String superClassName)
public List<String> getInterfaceNames()
public List<AnnotationMetadata> getAnnotations()
public void setAnnotations(List<AnnotationMetadata> annotations)
annotations - Sets annotations to the specified value.public List<ModifierMetadata> getModifiers()
public void setModifiers(List<ModifierMetadata> modifiers)
modifiers - Sets modifiers to the specified value.public boolean hasModifierNamed(String modifierName)
modifierName - the name of the modifier to check for
public List<FieldMetadata> getFields()
FieldMetadata from the unit.
public void setFields(List<FieldMetadata> fields)
fields - Sets fields to the specified value.public List<MethodMetadata> getMethods()
MethodMetadata from the unit.
public void setMethods(List<MethodMetadata> methods)
methods - Sets methods to the specified value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||