This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class Foo<T> { | |
abstract void foo(T t); | |
abstract T bar(); | |
public static void main(String[] args) { | |
Foo<?> quxFoo = new Qux(); | |
Bar<?> quxBar = new Qux(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package pkg; | |
class GenericVisibilityBridge extends GenericVisibilityBridgeBase<Void> { | |
@Override | |
public void foo(Void aVoid) { | |
System.out.println("specialized"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo; | |
public class Foo extends Base { | |
} | |
class Base { | |
public final void foo() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Example { | |
Example(Function<Function<Function<Consumer<Void>, Void>, Void>, Void> innerClass) { | |
new InnerClass(innerClass); | |
} | |
void foo(Void v) { } | |
class InnerClass { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SealedQuirk { | |
private static final String FOO = "foo", BAR = "bar", TMP = "tmp"; | |
private ClassLoader singleClassLoader, sealedChildClassLoader, sealedParentClassLoader; | |
@Before | |
public void setUp() throws Exception { | |
File folder = Files.createTempDirectory(TMP).toFile(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.bytebuddy.bar; | |
public class Bar<T extends Baz> { | |
public void foo(T t) { } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.bytebuddy; | |
import net.bytebuddy.agent.ByteBuddyAgent; | |
import net.bytebuddy.agent.builder.AgentBuilder; | |
import net.bytebuddy.description.type.TypeDescription; | |
import net.bytebuddy.dynamic.DynamicType; | |
import net.bytebuddy.implementation.MethodDelegation; | |
import net.bytebuddy.implementation.bind.annotation.Origin; | |
import net.bytebuddy.implementation.bind.annotation.RuntimeType; | |
import net.bytebuddy.matcher.ElementMatchers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "app", | |
"version": "0.0.0", | |
"authors": [ | |
"foo <foo@bar.qux>" | |
], | |
"license": "MIT", | |
"private": true, | |
"ignore": [ | |
"**/.*", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.commons.beanutils.BeanComparator; | |
import org.apache.wicket.util.lang.PropertyResolver; | |
import java.util.Comparator; | |
public class NullChainSensitiveBeanComparator extends BeanComparator { | |
public NullChainSensitiveBeanComparator() { | |
} |