public class MethodsTest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MethodsTest.ImplementingWithDefault |
class |
MethodsTest.InnerToInduceBridge |
static class |
MethodsTest.OuterClassToInduceBridge |
static class |
MethodsTest.Sub |
class |
MethodsTest.SubTypeCapture<T extends Number> |
static class |
MethodsTest.Super |
class |
MethodsTest.TypeCapture<T> |
static class |
MethodsTest.W<N extends Number> |
static interface |
MethodsTest.WithDefault |
static class |
MethodsTest.Y |
static class |
MethodsTest.Z |
Constructor and Description |
---|
MethodsTest() |
protected void finalize() throws Throwable
@Test public void getMethodReturnsSynthetic()
@Test public void getMethodReturnsOverriddenFromSubclass()
@Test public void getMethodReturnsInherited()
@Test public void getMethodReturnsEmptyOptional()
@BeforeAll public static void setUp() throws NoSuchMethodException, SecurityException
@Test public void doesNotIncludeMethodsFromJavaLangObject()
@Test public void testFindsSingleDeclaredProtectedMethod()
@Test public void testFindsCorrectlyOverriddenMethod()
@Test public void testFindsCorrectlyOverriddenAndInheritedMethod()
@Test public void testFindsAllMethodsDeclaredOrInherited()
@Test public void givenExistingMethodThenOptionalIsPresent()
@Test public void givenNonExistentMethodThenOptionalIsAbsent()
@Test public void whenGenericInterfacePresentThenOnlyListConcrete()
@Test public void whenGenericSuperClassPresentForNestedInnerClassThenOnlyListConcrete()
@Test public void whenGenericSuperClassPresentForStaticInnerClassThenOnlyListConcrete()
@Test public void testWhenPrivateFieldOnInnerClassIsReferencedThenSyntheticMethodShouldNotBeRetrieved()
@Test public void whenBlah()
@Test public void whenGenericInterfacePresentForClassThenOnlyListConcrete()
@Test public void testGenericType()
@Test public void testGenericType2()
@Test public void methodsOfDoesNotReturnOverridenDefault()
@Test public void methodsOfReturnsDefault()
@Test public void methodsOfReturnsInheritedDefault()
@Test public void handleForDefaultMethod() throws Throwable
Throwable
public String taDa()
public static String baddaBing()
@Test public void handleForOverridenMethod() throws Throwable
Throwable
Copyright © 2018 earcam. All rights reserved.