git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@228 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
<classpath> | <classpath> | ||||
<classpathentry excluding="sample/hotswap/logging/|src/main/|sample/evolve/|sample/hotswap/|sample/|tutorial/" kind="src" path=""/> | |||||
<classpathentry excluding="javassist/tool/HotSwapper.java" kind="src" path="src/main"/> | |||||
<classpathentry kind="src" path="src/main"/> | |||||
<classpathentry kind="src" path="local/src"/> | |||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||||
<classpathentry kind="output" path="bin"/> | |||||
<classpathentry kind="output" path="build/classes"/> | |||||
</classpath> | </classpath> |
<arguments> | <arguments> | ||||
</arguments> | </arguments> | ||||
</buildCommand> | </buildCommand> | ||||
<buildCommand> | |||||
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> | |||||
<triggers>full,incremental,</triggers> | |||||
<arguments> | |||||
<dictionary> | |||||
<key>LaunchConfigHandle</key> | |||||
<value><project>/.externalToolBuilders/Ant.launch</value> | |||||
</dictionary> | |||||
</arguments> | |||||
</buildCommand> | |||||
</buildSpec> | </buildSpec> | ||||
<natures> | <natures> | ||||
<nature>org.eclipse.jdt.core.javanature</nature> | <nature>org.eclipse.jdt.core.javanature</nature> |
--n; | --n; | ||||
} | } | ||||
} | } | ||||
int i = 1; | |||||
while (true) { | |||||
ConstInfo info = (ConstInfo)items.elementAt(i++); | |||||
if (info == null) | |||||
break; | |||||
else | |||||
info.makeHashtable(this); | |||||
} | |||||
} | } | ||||
private int readOne(DataInputStream in) throws IOException { | private int readOne(DataInputStream in) throws IOException { | ||||
public abstract void write(DataOutputStream out) throws IOException; | public abstract void write(DataOutputStream out) throws IOException; | ||||
public abstract void print(PrintWriter out); | public abstract void print(PrintWriter out); | ||||
void makeHashtable(ConstPool cp) {} // called after read() finishes in ConstPool. | |||||
public String toString() { | public String toString() { | ||||
ByteArrayOutputStream bout = new ByteArrayOutputStream(); | ByteArrayOutputStream bout = new ByteArrayOutputStream(); | ||||
PrintWriter out = new PrintWriter(bout); | PrintWriter out = new PrintWriter(bout); | ||||
out.print("Class #"); | out.print("Class #"); | ||||
out.println(name); | out.println(name); | ||||
} | } | ||||
void makeHashtable(ConstPool cp) { | |||||
String name = Descriptor.toJavaName(getClassName(cp)); | |||||
cp.classes.put(name, this); | |||||
} | |||||
} | } | ||||
class NameAndTypeInfo extends ConstInfo { | class NameAndTypeInfo extends ConstInfo { |