List of usage examples for java.lang Class clone
@HotSpotIntrinsicCandidate protected native Object clone() throws CloneNotSupportedException;
From source file:com.riversoforion.acheron.jaxb.JAXBContextBuilder.java
/** * Binds the specified classes to the JAXBContext. Note that this method will have not effect if * {@link #forContextPath(String) contextPath} is not empty. * /* ww w . j a va 2 s. c o m*/ * @param boundClasses * The classes to bind. * @return This object */ public JAXBContextBuilder bindClasses(Class<?>... boundClasses) { this.boundClasses = boundClasses.clone(); return this; }