You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ImportingStaticInnerInterfacesStars2_PR386.java 853B

12345678910111213141516171819
  1. import org.aspectj.testing.*;
  2. import ClassWithStaticInnerInterfaces.Inner1;
  3. import ClassWithStaticInnerInterfaces.Inner1.*;
  4. public class ImportingStaticInnerInterfacesStars2_PR386 {
  5. public static void main(String[] args) {
  6. Tester.checkEqual(ClassWithStaticInnerInterfaces.class.getName(),
  7. "ClassWithStaticInnerInterfaces");
  8. Tester.checkEqual(ClassWithStaticInnerInterfaces.Inner1.class.getName(),
  9. "ClassWithStaticInnerInterfaces$Inner1");
  10. Tester.checkEqual(ClassWithStaticInnerInterfaces.Inner1.Inner2.class.getName(),
  11. "ClassWithStaticInnerInterfaces$Inner1$Inner2");
  12. Tester.checkEqual(I1.class.getName(), "I1");
  13. Tester.checkEqual(I2.class.getName(), "I2");
  14. }
  15. }
  16. class I1 implements Inner1 {}
  17. class I2 implements Inner2 {}