bb.misc
Class ClassToReflectOn

java.lang.Object
  extended by bb.misc.ClassToReflectOn

 class ClassToReflectOn
extends Object

Class with multiple fields and methods that use various modifiers.

This class is package-private for two reasons. First, it is solely meant for internal testing purposes. Second, some of the classes which use it for testing (e.g. ReflectUtil) needs a non-public class like this to test how well they can overcome JVM access restrictions.

This class is not multithread safe.

Author:
Brent Boyer

Field Summary
(package private)  Object default_field
           
private  Object private_final_field
           
protected  Object protected_field
           
static Object public_static_field
           
 
Constructor Summary
ClassToReflectOn()
          Package-private constructor too.
 
Method Summary
private  String echoMethodName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

public_static_field

public static Object public_static_field

protected_field

protected Object protected_field

default_field

Object default_field

private_final_field

private final Object private_final_field
Constructor Detail

ClassToReflectOn

ClassToReflectOn()
Package-private constructor too.

Method Detail

echoMethodName

private String echoMethodName()