Class DeprecationUtils
java.lang.Object
edu.cmu.tetrad.util.DeprecationUtils
Utility for checking whether classes are marked
@Deprecated.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisClassDeprecated(Class<?> clazz) Determines if the specified class is marked with the@Deprecatedannotation.
-
Method Details
-
isClassDeprecated
Determines if the specified class is marked with the@Deprecatedannotation.- Parameters:
clazz- the class to check; must not be null- Returns:
trueif the class is annotated with@Deprecated,falseotherwise- Throws:
IllegalArgumentException- if the provided class is null
-