Blah.java

Power Java
Limitations of reflective method lookup
by Paul Holser
Listing 2. Blah.java.


package test.reflection;

public class Blah {
  private int i;

  public Blah(int i) { this.i = i; }
  public void bar(int i) { this.i = i; }
  public void foo(Blah b) { i = b.getI(); }
  public int getI() { return i; }
}

About the Author

Paul Holser is a senior consultant at Valtech, an international consulting group specializing in e-business technologies. He can be contacted at paul.holser@valtech.com.

Featured

Most   Popular
Upcoming Events

AppTrends

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.