Retrieves the first attribute in the attributes collection of the specified type.
public MemberAttribute getAttribute( Class attributeClass )
attributeClass
The type of the attribute; for example, DefaultValueAttribute.class or LocalizableAttribute.class. (All attributes extend MemberAttribute.)
Returns a MemberAttribute object that represents the attribute. If no attribute of the specified type is found, null is returned.
See Also getCategory, getDescription, getHelpURL, getHelpTopic