📄 fieldormethod.html
字号:
<!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="name_index"><!-- --></A><H3>name_index</H3><PRE>protected int <B>name_index</B></PRE><DL></DL><HR><A NAME="signature_index"><!-- --></A><H3>signature_index</H3><PRE>protected int <B>signature_index</B></PRE><DL></DL><HR><A NAME="attributes_count"><!-- --></A><H3>attributes_count</H3><PRE>protected int <B>attributes_count</B></PRE><DL></DL><HR><A NAME="attributes"><!-- --></A><H3>attributes</H3><PRE>protected <A HREF="../../../../org/apache/bcel/classfile/Attribute.html">Attribute</A>[] <B>attributes</B></PRE><DL></DL><HR><A NAME="constant_pool"><!-- --></A><H3>constant_pool</H3><PRE>protected <A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> <B>constant_pool</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="FieldOrMethod(org.apache.bcel.classfile.FieldOrMethod)"><!-- --></A><H3>FieldOrMethod</H3><PRE>protected <B>FieldOrMethod</B>(<A HREF="../../../../org/apache/bcel/classfile/FieldOrMethod.html">FieldOrMethod</A> c)</PRE><DL><DD>Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.</DL><HR><A NAME="FieldOrMethod(java.io.DataInputStream, org.apache.bcel.classfile.ConstantPool)"><!-- --></A><H3>FieldOrMethod</H3><PRE>protected <B>FieldOrMethod</B>(java.io.DataInputStream file, <A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> constant_pool) throws java.io.IOException, java.lang.ClassFormatError</PRE><DL><DD>Construct object from file stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - Input stream</DL></DD></DL><HR><A NAME="FieldOrMethod(int, int, int, org.apache.bcel.classfile.Attribute[], org.apache.bcel.classfile.ConstantPool)"><!-- --></A><H3>FieldOrMethod</H3><PRE>protected <B>FieldOrMethod</B>(int access_flags, int name_index, int signature_index, <A HREF="../../../../org/apache/bcel/classfile/Attribute.html">Attribute</A>[] attributes, <A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> constant_pool)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>access_flags</CODE> - Access rights of method<DD><CODE>name_index</CODE> - Points to field name in constant pool<DD><CODE>signature_index</CODE> - Points to encoded signature<DD><CODE>attributes</CODE> - Collection of attributes<DD><CODE>constant_pool</CODE> - Array of constants</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="dump(java.io.DataOutputStream)"><!-- --></A><H3>dump</H3><PRE>public final void <B>dump</B>(java.io.DataOutputStream file) throws java.io.IOException</PRE><DL><DD>Dump object to file stream on binary format.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - Output file stream</DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE>public final <A HREF="../../../../org/apache/bcel/classfile/Attribute.html">Attribute</A>[] <B>getAttributes</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Collection of object attributes.</DL></DD></DL><HR><A NAME="setAttributes(org.apache.bcel.classfile.Attribute[])"><!-- --></A><H3>setAttributes</H3><PRE>public final void <B>setAttributes</B>(<A HREF="../../../../org/apache/bcel/classfile/Attribute.html">Attribute</A>[] attributes)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributes</CODE> - Collection of object attributes.</DL></DD></DL><HR><A NAME="getConstantPool()"><!-- --></A><H3>getConstantPool</H3><PRE>public final <A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> <B>getConstantPool</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Constant pool used by this object.</DL></DD></DL><HR><A NAME="setConstantPool(org.apache.bcel.classfile.ConstantPool)"><!-- --></A><H3>setConstantPool</H3><PRE>public final void <B>setConstantPool</B>(<A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> constant_pool)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>constant_pool</CODE> - Constant pool to be used for this object.</DL></DD></DL><HR><A NAME="getNameIndex()"><!-- --></A><H3>getNameIndex</H3><PRE>public final int <B>getNameIndex</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Index in constant pool of object's name.</DL></DD></DL><HR><A NAME="setNameIndex(int)"><!-- --></A><H3>setNameIndex</H3><PRE>public final void <B>setNameIndex</B>(int name_index)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name_index</CODE> - Index in constant pool of object's name.</DL></DD></DL><HR><A NAME="getSignatureIndex()"><!-- --></A><H3>getSignatureIndex</H3><PRE>public final int <B>getSignatureIndex</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Index in constant pool of field signature.</DL></DD></DL><HR><A NAME="setSignatureIndex(int)"><!-- --></A><H3>setSignatureIndex</H3><PRE>public final void <B>setSignatureIndex</B>(int signature_index)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>signature_index</CODE> - Index in constant pool of field signature.</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public final java.lang.String <B>getName</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Name of object, i.e., method name or field name</DL></DD></DL><HR><A NAME="getSignature()"><!-- --></A><H3>getSignature</H3><PRE>public final java.lang.String <B>getSignature</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String representation of object's type signature (java style)</DL></DD></DL><HR><A NAME="copy_(org.apache.bcel.classfile.ConstantPool)"><!-- --></A><H3>copy_</H3><PRE>protected <A HREF="../../../../org/apache/bcel/classfile/FieldOrMethod.html">FieldOrMethod</A> <B>copy_</B>(<A HREF="../../../../org/apache/bcel/classfile/ConstantPool.html">ConstantPool</A> constant_pool)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>deep copy of this field</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FieldOrMethod.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/apache/bcel/classfile/Field.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/apache/bcel/classfile/InnerClass.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="FieldOrMethod.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -