Correct docs declaration
[mdsal.git] / binding2 / mdsal-binding2-runtime / src / main / java / org / opendaylight / mdsal / binding / javav2 / runtime / javassist / ClassCustomizer.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.mdsal.binding.javav2.runtime.javassist;
9
10 import com.google.common.annotations.Beta;
11 import javassist.CtClass;
12
13 /**
14  * Interface allowing customization of classes after loading.
15  */
16 @Beta
17 public interface ClassCustomizer {
18
19     /**
20      * Customize a class.
21      *
22      * @param cls
23      *            - class to be customized
24      * @throws Exception
25      *             - when a problem ensues
26      */
27     void customizeClass(CtClass cls) throws Exception;
28 }