# Uses of Enum Class
javax.lang.model.util.Elements.Origin

Packages that use Elements.Origin
Package
Description
javax.lang.model.util
Utilities to assist in the processing of program elements and types.

## Uses of Elements.Origin in javax.lang.model.util

Methods in javax.lang.model.util that return Elements.Origin
Modifier and Type
Method
Description
`default Elements.Origin`
Elements.`getOrigin(AnnotatedConstruct c, AnnotationMirror a)`
Returns the origin of the given annotation mirror.
`default Elements.Origin`
Elements.`getOrigin(Element e)`
Returns the origin of the given element.
`default Elements.Origin`
Elements.`getOrigin(ModuleElement m, ModuleElement.Directive directive)`
Returns the origin of the given module directive.
`static Elements.Origin`
Elements.Origin.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static Elements.Origin[]`
Elements.Origin.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.