public class TestConstantReflectionProvider extends TypeUniverse
ConstantReflectionProvider
. It assumes an implementation of the interface that
actually returns non-null results for access operations that are possible, i.e., the tests will
fail for an implementation that spuriously returns null (which is allowed by the specification).Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestConstantReflectionProvider.BoxedConstants |
(package private) static class |
TestConstantReflectionProvider.PrimitiveConstants |
TypeUniverse.ConstantsUniverse, TypeUniverse.ConstantValue, TypeUniverse.InnerClass, TypeUniverse.InnerStaticClass, TypeUniverse.InnerStaticFinalClass, TypeUniverse.ProtectedInnerClass
arrayClasses, classes, constantReflection, JAVA_VERSION, javaTypes, metaAccess, unsafe
Constructor and Description |
---|
TestConstantReflectionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
boxTest() |
void |
constantEqualsTest() |
void |
readArrayLengthTest() |
void |
unboxTest() |
constants, dimensions, getArrayClass, readConstants
public TestConstantReflectionProvider()
public void constantEqualsTest()
public void readArrayLengthTest()
public void boxTest()
public void unboxTest()