source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 27.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:25 NZST 2007 -->
6<TITLE>
7ConstantPoolEntry (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="ConstantPoolEntry (Apache Ant API)";
18}
19</SCRIPT>
20
21</HEAD>
22
23<BODY BGCOLOR="white" onload="windowTitle();">
24
25
26<!-- ========= START OF TOP NAVBAR ======= -->
27<A NAME="navbar_top"><!-- --></A>
28<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30<TR>
31<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32<A NAME="navbar_top_firstrow"><!-- --></A>
33<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPool.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/DoubleCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool"><B>NEXT CLASS</B></A></FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="ConstantPoolEntry.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.taskdefs.optional.depend.constantpool</FONT>
85<BR>
86Class ConstantPoolEntry</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry</B>
90</PRE>
91<DL>
92<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ClassCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">ClassCPInfo</A>, <A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">ConstantCPInfo</A>, <A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/FieldRefCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">FieldRefCPInfo</A>, <A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/InterfaceMethodRefCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">InterfaceMethodRefCPInfo</A>, <A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/MethodRefCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">MethodRefCPInfo</A>, <A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/NameAndTypeCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">NameAndTypeCPInfo</A>, <A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/Utf8CPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">Utf8CPInfo</A></DD>
93</DL>
94<HR>
95<DL>
96<DT>public abstract class <B>ConstantPoolEntry</B><DT>extends java.lang.Object</DL>
97
98<P>
99An entry in the constant pool. This class contains a representation of the
100 constant pool entries. It is an abstract base class for all the different
101 forms of constant pool entry.
102<P>
103
104<P>
105<DL>
106<DT><B>See Also:</B><DD><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPool.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool"><CODE>ConstantPool</CODE></A></DL>
107<HR>
108
109<P>
110<!-- ======== NESTED CLASS SUMMARY ======== -->
111
112
113<!-- =========== FIELD SUMMARY =========== -->
114
115<A NAME="field_summary"><!-- --></A>
116<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118<TD COLSPAN=2><FONT SIZE="+2">
119<B>Field Summary</B></FONT></TD>
120</TR>
121<TR BGCOLOR="white" CLASS="TableRowColor">
122<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123<CODE>static&nbsp;int</CODE></FONT></TD>
124<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_CLASS">CONSTANT_CLASS</A></B></CODE>
125
126<BR>
127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Class entries.</TD>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131<CODE>static&nbsp;int</CODE></FONT></TD>
132<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_DOUBLE">CONSTANT_DOUBLE</A></B></CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Double entries.</TD>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139<CODE>static&nbsp;int</CODE></FONT></TD>
140<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_FIELDREF">CONSTANT_FIELDREF</A></B></CODE>
141
142<BR>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Field Reference entries.</TD>
144</TR>
145<TR BGCOLOR="white" CLASS="TableRowColor">
146<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147<CODE>static&nbsp;int</CODE></FONT></TD>
148<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_FLOAT">CONSTANT_FLOAT</A></B></CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Float entries.</TD>
152</TR>
153<TR BGCOLOR="white" CLASS="TableRowColor">
154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155<CODE>static&nbsp;int</CODE></FONT></TD>
156<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_INTEGER">CONSTANT_INTEGER</A></B></CODE>
157
158<BR>
159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Integer entries.</TD>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163<CODE>static&nbsp;int</CODE></FONT></TD>
164<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_INTERFACEMETHODREF">CONSTANT_INTERFACEMETHODREF</A></B></CODE>
165
166<BR>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Interface Method Reference entries.</TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171<CODE>static&nbsp;int</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_LONG">CONSTANT_LONG</A></B></CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Long entries.</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>static&nbsp;int</CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_METHODREF">CONSTANT_METHODREF</A></B></CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Method Reference entries.</TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>static&nbsp;int</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_NAMEANDTYPE">CONSTANT_NAMEANDTYPE</A></B></CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for Name and Type entries.</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>static&nbsp;int</CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_STRING">CONSTANT_STRING</A></B></CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for String entries.</TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE>static&nbsp;int</CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#CONSTANT_UTF8">CONSTANT_UTF8</A></B></CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag value for UTF8 entries.</TD>
208</TR>
209</TABLE>
210&nbsp;
211<!-- ======== CONSTRUCTOR SUMMARY ======== -->
212
213<A NAME="constructor_summary"><!-- --></A>
214<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
215<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
216<TD COLSPAN=2><FONT SIZE="+2">
217<B>Constructor Summary</B></FONT></TD>
218</TR>
219<TR BGCOLOR="white" CLASS="TableRowColor">
220<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#ConstantPoolEntry(int, int)">ConstantPoolEntry</A></B>(int&nbsp;tagValue,
221 int&nbsp;entries)</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialise the constant pool entry.</TD>
225</TR>
226</TABLE>
227&nbsp;
228<!-- ========== METHOD SUMMARY =========== -->
229
230<A NAME="method_summary"><!-- --></A>
231<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
232<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
233<TD COLSPAN=2><FONT SIZE="+2">
234<B>Method Summary</B></FONT></TD>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238<CODE>&nbsp;int</CODE></FONT></TD>
239<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#getNumEntries()">getNumEntries</A></B>()</CODE>
240
241<BR>
242&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the number of Constant Pool Entry slots within the constant pool
243 occupied by this entry.</TD>
244</TR>
245<TR BGCOLOR="white" CLASS="TableRowColor">
246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247<CODE>&nbsp;int</CODE></FONT></TD>
248<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#getTag()">getTag</A></B>()</CODE>
249
250<BR>
251&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Entry's type tag.</TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255<CODE>&nbsp;boolean</CODE></FONT></TD>
256<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#isResolved()">isResolved</A></B>()</CODE>
257
258<BR>
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether this entry has been resolved.</TD>
260</TR>
261<TR BGCOLOR="white" CLASS="TableRowColor">
262<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263<CODE>abstract &nbsp;void</CODE></FONT></TD>
264<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#read(java.io.DataInputStream)">read</A></B>(java.io.DataInputStream&nbsp;cpStream)</CODE>
265
266<BR>
267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;read a constant pool entry from a class stream.</TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271<CODE>static&nbsp;<A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">ConstantPoolEntry</A></CODE></FONT></TD>
272<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#readEntry(java.io.DataInputStream)">readEntry</A></B>(java.io.DataInputStream&nbsp;cpStream)</CODE>
273
274<BR>
275&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read a constant pool entry from a stream.</TD>
276</TR>
277<TR BGCOLOR="white" CLASS="TableRowColor">
278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279<CODE>&nbsp;void</CODE></FONT></TD>
280<TD><CODE><B><A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html#resolve(org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPool)">resolve</A></B>(<A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPool.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">ConstantPool</A>&nbsp;constantPool)</CODE>
281
282<BR>
283&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolve this constant pool entry with respect to its dependents in
284 the constant pool.</TD>
285</TR>
286</TABLE>
287&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
288<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
289<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
290<TD><B>Methods inherited from class java.lang.Object</B></TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
294</TR>
295</TABLE>
296&nbsp;
297<P>
298
299<!-- ============ FIELD DETAIL =========== -->
300
301<A NAME="field_detail"><!-- --></A>
302<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
303<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
304<TD COLSPAN=1><FONT SIZE="+2">
305<B>Field Detail</B></FONT></TD>
306</TR>
307</TABLE>
308
309<A NAME="CONSTANT_UTF8"><!-- --></A><H3>
310CONSTANT_UTF8</H3>
311<PRE>
312public static final int <B>CONSTANT_UTF8</B></PRE>
313<DL>
314<DD>Tag value for UTF8 entries.
315<P>
316<DL>
317<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_UTF8">Constant Field Values</A></DL>
318</DL>
319<HR>
320
321<A NAME="CONSTANT_INTEGER"><!-- --></A><H3>
322CONSTANT_INTEGER</H3>
323<PRE>
324public static final int <B>CONSTANT_INTEGER</B></PRE>
325<DL>
326<DD>Tag value for Integer entries.
327<P>
328<DL>
329<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_INTEGER">Constant Field Values</A></DL>
330</DL>
331<HR>
332
333<A NAME="CONSTANT_FLOAT"><!-- --></A><H3>
334CONSTANT_FLOAT</H3>
335<PRE>
336public static final int <B>CONSTANT_FLOAT</B></PRE>
337<DL>
338<DD>Tag value for Float entries.
339<P>
340<DL>
341<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_FLOAT">Constant Field Values</A></DL>
342</DL>
343<HR>
344
345<A NAME="CONSTANT_LONG"><!-- --></A><H3>
346CONSTANT_LONG</H3>
347<PRE>
348public static final int <B>CONSTANT_LONG</B></PRE>
349<DL>
350<DD>Tag value for Long entries.
351<P>
352<DL>
353<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_LONG">Constant Field Values</A></DL>
354</DL>
355<HR>
356
357<A NAME="CONSTANT_DOUBLE"><!-- --></A><H3>
358CONSTANT_DOUBLE</H3>
359<PRE>
360public static final int <B>CONSTANT_DOUBLE</B></PRE>
361<DL>
362<DD>Tag value for Double entries.
363<P>
364<DL>
365<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_DOUBLE">Constant Field Values</A></DL>
366</DL>
367<HR>
368
369<A NAME="CONSTANT_CLASS"><!-- --></A><H3>
370CONSTANT_CLASS</H3>
371<PRE>
372public static final int <B>CONSTANT_CLASS</B></PRE>
373<DL>
374<DD>Tag value for Class entries.
375<P>
376<DL>
377<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_CLASS">Constant Field Values</A></DL>
378</DL>
379<HR>
380
381<A NAME="CONSTANT_STRING"><!-- --></A><H3>
382CONSTANT_STRING</H3>
383<PRE>
384public static final int <B>CONSTANT_STRING</B></PRE>
385<DL>
386<DD>Tag value for String entries.
387<P>
388<DL>
389<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_STRING">Constant Field Values</A></DL>
390</DL>
391<HR>
392
393<A NAME="CONSTANT_FIELDREF"><!-- --></A><H3>
394CONSTANT_FIELDREF</H3>
395<PRE>
396public static final int <B>CONSTANT_FIELDREF</B></PRE>
397<DL>
398<DD>Tag value for Field Reference entries.
399<P>
400<DL>
401<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_FIELDREF">Constant Field Values</A></DL>
402</DL>
403<HR>
404
405<A NAME="CONSTANT_METHODREF"><!-- --></A><H3>
406CONSTANT_METHODREF</H3>
407<PRE>
408public static final int <B>CONSTANT_METHODREF</B></PRE>
409<DL>
410<DD>Tag value for Method Reference entries.
411<P>
412<DL>
413<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_METHODREF">Constant Field Values</A></DL>
414</DL>
415<HR>
416
417<A NAME="CONSTANT_INTERFACEMETHODREF"><!-- --></A><H3>
418CONSTANT_INTERFACEMETHODREF</H3>
419<PRE>
420public static final int <B>CONSTANT_INTERFACEMETHODREF</B></PRE>
421<DL>
422<DD>Tag value for Interface Method Reference entries.
423<P>
424<DL>
425<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_INTERFACEMETHODREF">Constant Field Values</A></DL>
426</DL>
427<HR>
428
429<A NAME="CONSTANT_NAMEANDTYPE"><!-- --></A><H3>
430CONSTANT_NAMEANDTYPE</H3>
431<PRE>
432public static final int <B>CONSTANT_NAMEANDTYPE</B></PRE>
433<DL>
434<DD>Tag value for Name and Type entries.
435<P>
436<DL>
437<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.CONSTANT_NAMEANDTYPE">Constant Field Values</A></DL>
438</DL>
439
440<!-- ========= CONSTRUCTOR DETAIL ======== -->
441
442<A NAME="constructor_detail"><!-- --></A>
443<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
444<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
445<TD COLSPAN=1><FONT SIZE="+2">
446<B>Constructor Detail</B></FONT></TD>
447</TR>
448</TABLE>
449
450<A NAME="ConstantPoolEntry(int, int)"><!-- --></A><H3>
451ConstantPoolEntry</H3>
452<PRE>
453public <B>ConstantPoolEntry</B>(int&nbsp;tagValue,
454 int&nbsp;entries)</PRE>
455<DL>
456<DD>Initialise the constant pool entry.
457<P>
458<DT><B>Parameters:</B><DD><CODE>tagValue</CODE> - the tag value which identifies which type of constant
459 pool entry this is.<DD><CODE>entries</CODE> - the number of constant pool entry slots this entry
460 occupies.</DL>
461
462<!-- ============ METHOD DETAIL ========== -->
463
464<A NAME="method_detail"><!-- --></A>
465<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
466<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
467<TD COLSPAN=1><FONT SIZE="+2">
468<B>Method Detail</B></FONT></TD>
469</TR>
470</TABLE>
471
472<A NAME="readEntry(java.io.DataInputStream)"><!-- --></A><H3>
473readEntry</H3>
474<PRE>
475public static <A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">ConstantPoolEntry</A> <B>readEntry</B>(java.io.DataInputStream&nbsp;cpStream)
476 throws java.io.IOException</PRE>
477<DL>
478<DD>Read a constant pool entry from a stream. This is a factory method
479 which reads a constant pool entry form a stream and returns the
480 appropriate subclass for the entry.
481<P>
482<DD><DL>
483<DT><B>Parameters:</B><DD><CODE>cpStream</CODE> - the stream from which the constant pool entry is to
484 be read.
485<DT><B>Returns:</B><DD>the appropriate ConstantPoolEntry subclass representing the
486 constant pool entry from the stream.
487<DT><B>Throws:</B>
488<DD><CODE>java.io.IOException</CODE> - if the constant pool entry cannot be read
489 from the stream</DL>
490</DD>
491</DL>
492<HR>
493
494<A NAME="isResolved()"><!-- --></A><H3>
495isResolved</H3>
496<PRE>
497public boolean <B>isResolved</B>()</PRE>
498<DL>
499<DD>Indicates whether this entry has been resolved. In general a constant
500 pool entry can reference another constant pool entry by its index
501 value. Resolution involves replacing this index value with the
502 constant pool entry at that index.
503<P>
504<DD><DL>
505
506<DT><B>Returns:</B><DD>true if this entry has been resolved.</DL>
507</DD>
508</DL>
509<HR>
510
511<A NAME="resolve(org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPool)"><!-- --></A><H3>
512resolve</H3>
513<PRE>
514public void <B>resolve</B>(<A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPool.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool">ConstantPool</A>&nbsp;constantPool)</PRE>
515<DL>
516<DD>Resolve this constant pool entry with respect to its dependents in
517 the constant pool.
518<P>
519<DD><DL>
520<DT><B>Parameters:</B><DD><CODE>constantPool</CODE> - the constant pool of which this entry is a member
521 and against which this entry is to be resolved.</DL>
522</DD>
523</DL>
524<HR>
525
526<A NAME="read(java.io.DataInputStream)"><!-- --></A><H3>
527read</H3>
528<PRE>
529public abstract void <B>read</B>(java.io.DataInputStream&nbsp;cpStream)
530 throws java.io.IOException</PRE>
531<DL>
532<DD>read a constant pool entry from a class stream.
533<P>
534<DD><DL>
535<DT><B>Parameters:</B><DD><CODE>cpStream</CODE> - the DataInputStream which contains the constant pool
536 entry to be read.
537<DT><B>Throws:</B>
538<DD><CODE>java.io.IOException</CODE> - if there is a problem reading the entry from
539 the stream.</DL>
540</DD>
541</DL>
542<HR>
543
544<A NAME="getTag()"><!-- --></A><H3>
545getTag</H3>
546<PRE>
547public int <B>getTag</B>()</PRE>
548<DL>
549<DD>Get the Entry's type tag.
550<P>
551<DD><DL>
552
553<DT><B>Returns:</B><DD>The Tag value of this entry</DL>
554</DD>
555</DL>
556<HR>
557
558<A NAME="getNumEntries()"><!-- --></A><H3>
559getNumEntries</H3>
560<PRE>
561public final int <B>getNumEntries</B>()</PRE>
562<DL>
563<DD>Get the number of Constant Pool Entry slots within the constant pool
564 occupied by this entry.
565<P>
566<DD><DL>
567
568<DT><B>Returns:</B><DD>the number of slots used.</DL>
569</DD>
570</DL>
571<!-- ========= END OF CLASS DATA ========= -->
572<HR>
573
574
575<!-- ======= START OF BOTTOM NAVBAR ====== -->
576<A NAME="navbar_bottom"><!-- --></A>
577<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
578<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
579<TR>
580<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
581<A NAME="navbar_bottom_firstrow"><!-- --></A>
582<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
583 <TR ALIGN="center" VALIGN="top">
584 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
585 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
586 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
587 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
588 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
589 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
590 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
591 </TR>
592</TABLE>
593</TD>
594<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
595</EM>
596</TD>
597</TR>
598
599<TR>
600<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
601&nbsp;<A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPool.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool"><B>PREV CLASS</B></A>&nbsp;
602&nbsp;<A HREF="../../../../../../../../org/apache/tools/ant/taskdefs/optional/depend/constantpool/DoubleCPInfo.html" title="class in org.apache.tools.ant.taskdefs.optional.depend.constantpool"><B>NEXT CLASS</B></A></FONT></TD>
603<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
604 <A HREF="../../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
605&nbsp;<A HREF="ConstantPoolEntry.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
606&nbsp;<SCRIPT type="text/javascript">
607 <!--
608 if(window==top) {
609 document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
610 }
611 //-->
612</SCRIPT>
613<NOSCRIPT>
614 <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
615</NOSCRIPT>
616
617</FONT></TD>
618</TR>
619<TR>
620<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
621 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
622<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
623DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
624</TR>
625</TABLE>
626<A NAME="skip-navbar_bottom"></A>
627<!-- ======== END OF BOTTOM NAVBAR ======= -->
628
629<HR>
630Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
631</BODY>
632</HTML>
Note: See TracBrowser for help on using the repository browser.