public class ReflectionTest extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ReflectionTest.SomeStructure |
| Constructor and Description |
|---|
ReflectionTest() |
public ReflectionTest()
public void setUp()
public void shouldGetClassNameForClass()
public void shouldGetClassNameOfInterface()
public void shouldGetClassNameWithPrimitive()
public void shouldGetClassNameWith1DPrimitiveArray()
public void shouldGetClassNameWith2DPrimitiveArray()
public void shouldGetClassNameWith3DPrimitiveArray()
public void shouldGetClassNameWith8DPrimitiveArray()
public void shouldHaveTargetClass()
public void shouldFindMethodsWithExactMatchingName()
public void shouldFindMethodsWithNameMatchingRegularExpression()
public void shouldNotFindMethodsWhenThereAreNoMethodsWithThatName()
public void shouldGetAllPropertiesOnJavaBean() throws Exception
Exceptionpublic void shouldUseAnnotationsOnClassFieldsForProperties() throws Exception
Exceptionprotected void assertValue(org.modeshape.common.util.Reflection reflection, Object target, org.modeshape.common.util.Reflection.Property property, Object expectedValue) throws Exception
Exceptionprotected org.modeshape.common.util.Reflection.Property findProperty(String propertyName, List<org.modeshape.common.util.Reflection.Property> properties)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.