Package de.uzl.its.swat.symbolic
Class ClassDepot
java.lang.Object
de.uzl.its.swat.symbolic.ClassDepot
- All Implemented Interfaces:
- Serializable
Serializable depot for classes represented using their name and a corresponding class template in
 a tree map
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetFieldIndex(String cName, String field) Gets the index of a field by name and classstatic ClassDepotGetter for this classes instance.intgetStaticFieldIndex(String cName, String field) Gets the index of a static field by name and classintGets the number of fields in the templateintnStaticFields(String cName) Gets the number of static fields in the template
- 
Constructor Details- 
ClassDepotpublic ClassDepot()Constructor that instantiates the template map
 
- 
- 
Method Details- 
getInstanceGetter for this classes instance.- Returns:
- An instance of this ClassDepot
 
- 
getFieldIndexGets the index of a field by name and class- Parameters:
- cName- The class containing the field
- field- The field name
- Returns:
- The index of the field, or -1 if the field Name is not found
 
- 
getStaticFieldIndexGets the index of a static field by name and class- Parameters:
- cName- The class containing the static field
- field- The static field name
- Returns:
- The index of the static field, or -1 if the field Name is not found
 
- 
nFieldsGets the number of fields in the template- Parameters:
- cName- The name of the class
- Returns:
- The number of fields
 
- 
nStaticFieldsGets the number of static fields in the template- Parameters:
- cName- The name of the class
- Returns:
- The number of static fields
 
 
-