diff options
author | Mårten Hedborg <marten.hedborg@gcinnober.com> | 2015-03-16 11:45:40 +0100 |
---|---|---|
committer | Mårten Hedborg <marten.hedborg@gcinnober.com> | 2015-03-16 11:45:40 +0100 |
commit | 7bb3c3936757923e69d1c10c914ead32b9399eee (patch) | |
tree | f25f867e48bd6d12ea2419c05e48f08bb22dab4b /src | |
parent | aa3037a417180f938c51a4feae23e2dc50b9e836 (diff) | |
download | javassist-7bb3c3936757923e69d1c10c914ead32b9399eee.tar.gz javassist-7bb3c3936757923e69d1c10c914ead32b9399eee.zip |
Added copyright info
Diffstat (limited to 'src')
-rw-r--r-- | src/main/javassist/tools/Callback.java | 18 | ||||
-rw-r--r-- | src/test/javassist/tools/CallbackTest.java | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/src/main/javassist/tools/Callback.java b/src/main/javassist/tools/Callback.java index 96728913..26a4200e 100644 --- a/src/main/javassist/tools/Callback.java +++ b/src/main/javassist/tools/Callback.java @@ -1,3 +1,19 @@ +/* + * Javassist, a Java-bytecode translator toolkit. + * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. Alternatively, the contents of this file may be used under + * the terms of the GNU Lesser General Public License Version 2.1 or later, + * or the Apache License Version 2.0. + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + */ + package javassist.tools; import javassist.CannotCompileException; @@ -29,6 +45,8 @@ import java.util.UUID; * } * }); * }</pre> + * + * @author Marten Hedborg */ public abstract class Callback { diff --git a/src/test/javassist/tools/CallbackTest.java b/src/test/javassist/tools/CallbackTest.java index a37ee61d..96632bda 100644 --- a/src/test/javassist/tools/CallbackTest.java +++ b/src/test/javassist/tools/CallbackTest.java @@ -33,7 +33,7 @@ public class CallbackTest extends TestCase { } }); - // Change class and invoke method(); + // Change class and invoke method; classToChange.toClass(); new DummyClass().dummyMethod(); } |