# 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

Subclasses with type arguments of type Elements.Origin in javax.lang.model.util
Modifier and Type
Class
Description
`static enum`
`Elements.Origin`
The origin of an element or other language model item.
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.