20 lines
462 B
Java
20 lines
462 B
Java
|
|
package com.de22.javabytecode;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Copyright Declarative Engineering LLC 2008<p>
|
||
|
|
* Sample code used by the byte code system to test reverse engineering.
|
||
|
|
*/
|
||
|
|
public class ChildOfA extends SampleA {
|
||
|
|
public interface IInnerChildOfA {
|
||
|
|
public String test();
|
||
|
|
}
|
||
|
|
public class InnerChildOfA implements IInnerChildOfA {
|
||
|
|
public String test() {
|
||
|
|
return "Test";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
public String peform() {
|
||
|
|
return "Child's: " + text + " " + new InnerChildOfA().test();
|
||
|
|
}
|
||
|
|
}
|