The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours.
Further details in the announcement
jmt.codebase
Class AttributeFactory
java.lang.Object
|
+--jmt.codebase.AttributeFactory
- public final class AttributeFactory
- extends java.lang.Object
A static factory providing methods to create various Attribute instances.
- Author:
- Martin Kersten
- See Also:
Attribute,
LinesOfCodeAttribute,
UsedReferencesAttribute
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeFactory
public AttributeFactory()
createLinesOfCodeAttribute
public static LinesOfCodeAttribute createLinesOfCodeAttribute(int count)
- Returns a LinesOfCodeAttribute instance with the given line count.
- Returns:
- A LinesOfCodeAttribute instance with the given line count
createUsedReferencesAttribute
public static UsedReferencesAttribute createUsedReferencesAttribute(ClassReference[] classRefs,
MethodReference[] methodRefs,
FieldReference[] fieldRefs)
- Returns a UsedReferencesAttribute instance.
- Parameters:
classRefs - The used class referencesmethodRefs - The used method referencesfieldRefs - The used field references
- Returns:
- The UsedReferencesAttribute instance