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 [email protected].

Upcoming Training Events

0 AM
Visual Studio Live! San Diego
September 8-12, 2025
Live! 360 Orlando
November 16-21, 2025
Cloud & Containers Live! Orlando
November 16-21, 2025
Data Platform Live! Orlando
November 16-21, 2025
Visual Studio Live! Orlando
November 16-21, 2025