PackageElement function ( Element arg0 ) { return arg0 . accept ( PACKAGE_ELEMENT_VISITOR , null ) ; }
returns the given element instance as packageelement . this method is functionally equivalent to an instanceof check and a cast , but shouldalways be used over that idiom as instructed in the documentation for element . concode_field_sep ElementVisitor<TypeElement,Void> TYPE_ELEMENT_VISITOR concode_elem_sep ElementVisitor<VariableElement,Void> VARIABLE_ELEMENT_VISITOR concode_elem_sep ElementVisitor<PackageElement,Void> PACKAGE_ELEMENT_VISITOR concode_elem_sep ElementVisitor<ExecutableElement,Void> EXECUTABLE_ELEMENT_VISITOR concode_field_sep PackageElement getPackage concode_elem_sep boolean isAnnotationPresent concode_elem_sep ImmutableSet<ExecutableElement> getLocalAndInheritedMethods concode_elem_sep void getLocalAndInheritedMethods concode_elem_sep boolean isType concode_elem_sep TypeElement asType concode_elem_sep TypeElement visitType concode_elem_sep Predicate<Element> hasModifiers concode_elem_sep Predicate<Element> hasModifiers concode_elem_sep PackageElement defaultAction concode_elem_sep TypeElement defaultAction concode_elem_sep VariableElement defaultAction concode_elem_sep ExecutableElement defaultAction concode_elem_sep Optional<AnnotationMirror> getAnnotationMirror concode_elem_sep VariableElement visitVariable concode_elem_sep boolean methodVisibleFromPackage concode_elem_sep PackageElement visitPackage concode_elem_sep VariableElement asVariable concode_elem_sep ExecutableElement asExecutable concode_elem_sep ExecutableElement visitExecutable