2ce547d4cd
* added updated example codes * updated example code StringToCharStream * deleted StringToCharStream.java locally * removed redundant file * added code for apache commons collection SetUtils * refactored example code * added example code for bytebuddy
17 lines
369 B
Java
17 lines
369 B
Java
package com.baeldung.bytebuddy;
|
|
|
|
import net.bytebuddy.implementation.bind.annotation.BindingPriority;
|
|
|
|
public class Bar {
|
|
|
|
@BindingPriority(3)
|
|
public static String sayHelloBar() { return "Holla in Bar!"; }
|
|
|
|
@BindingPriority(2)
|
|
public static String sayBar() { return "bar"; }
|
|
|
|
public String bar() { return Bar.class.getSimpleName() + " - Bar"; }
|
|
|
|
|
|
}
|